LSTSRV-L Archives

LISTSERV Site Administrators' Forum

LSTSRV-L

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
"Brenneman, Jake (MSNBCi)" <[log in to unmask]>
Thu, 11 Jul 2002 11:13:42 -0700
text/plain (140 lines)
Processor affinity settings using the imagecfg utility appears to work fine.
On a test server with 4 processors, I assigned the Lsv.exe to the 3rd
processor and LSMTP.exe to the 4th processor.  When starting and stopping
the LISTSERV and LSMTP services, I can see those particular processors spike
a bit.  Upon reboot the processes stay mapped to the correct processor.  The
imagecfg utility appears to write to the "wrapper" of the lsv and lsmtp
exe's specifying the affinity permanently.
I haven't put in place on my production machine yet, or given it a test
against a large list.  I'd like to get some buy-off from LSoft that this is
a valid solution.
Ben and John - Do you guys at LSoft want me to send you the details so you
can test the config?  This might be very useful for many of us running Win2K
servers.  In my case, my production machine has 2 procs, and my thinking is
that I could map LSMTP to the second one.

Thanks,
Jake

-----Original Message-----
From: Brenneman, Jake (MSNBCi) [mailto:[log in to unmask]]
Sent: Wednesday, July 10, 2002 4:43 PM
To: [log in to unmask]
Subject: Re: Processor affinity?


Excellent, thanks.  I had found a Q article on this utility in the MS KB,
but it was referring to NT4.  I looked in the standard Win2K RK and it
wasn't there, but have just installed the "supplement" and it is there. I'll
report results....

Jake

-----Original Message-----
From: Castiglione, Andrew P -ND [mailto:[log in to unmask]]

Sent: Wednesday, July 10, 2002 10:48 AM
To: [log in to unmask]
Subject: Re: Processor affinity?


Doug & Jake et. all,

Permanently Setting the Processor Affinity for an Application Executable

On Windows NT and Windows 2000, you can permanently set the processor
affinity for an application executable by using the imagecfg.exe tool.

This tool is located in the \support\debug\i386 folder on a Windows NT cdrom
or from the Windows 2000 Server Resource Kit Supplement.

Open a DOS prompt and enter in the following:

imagecfg -a 0xn c:\program files\sybase\Jaguar CTS\bin\jagsrv.exe

where 0xn is the affinity mask and maps to a cpu as follows:
CPU         Mask
0                0x1
1                0x2
2                0x4
3                0x8
4                0x10
5                0x20

I found this here... http://www.sybase.com/detail/1,6904,1010600,00.html

Using a GOOGLE Search using this...
http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=Processor+affinity&bt
nG=Google+Search

I hope this Helps!

Cheers!

Andrew Castiglione

-----Original Message-----
From: Brenneman, Jake (MSNBCi) [mailto:[log in to unmask]]
Sent: Wednesday, July 10, 2002 10:24 AM
To: [log in to unmask]
Subject: Re: [LSTSRV-L] Processor affinity?


Thanks Doug -
I'm aware of this method, but unfortunately, It doesn't seem to work for
either LSMTP or LISTSERV (or many other processes on my Win2K server.  Even
though I'm an Admin, I get Access Denied errors for most processes.  Also,
I'm pretty sure that setting affinity this way is only effective until the
next reboot, ie. its not permanent. I was hoping there might be a registry
key, or startup script out there that let you configure the process to
always start up using a particular processor.  I believe this would help
with my system at least, if I could tell LSMTP to use a different processor
than LSV....

Also unfortunate is that the MS KB has very little info on this process

-----Original Message-----
From: Wheeler, Doug (NTC) [mailto:[log in to unmask]]
Sent: Wednesday, July 10, 2002 6:09 AM
To: [log in to unmask]
Subject: Re: Processor affinity?


Jake,
from the Windows & .net website (http://www.winnetmag.com/) :

This is called processor affinity where you set a process to use a specific
processor on a multi-processor system.

Start Task Manager (Right click on the task bar and select Task Manager)
Click the Processes tab Right click on the program and select "Set Affinity"
You can check the processors you want the program to run on (uncheck the
ones you don't want it to use) You cannot set affinity for a service, or set
affinity for a program which has not yet been started.

Doug

Doug Wheeler
Sr. Technical Analyst - Information Resources
Neenah Technical Center
Georgia-Pacific Corporation
email : mailto:[log in to unmask]
voice : 920.729.8178 fax : 920.729.8164




-----Original Message-----
From: Brenneman, Jake (MSNBCi) [mailto:[log in to unmask]]
Sent: Tuesday, July 09, 2002 7:06 PM
To: [log in to unmask]
Subject: Processor affinity?


I believe I've been told no before, but to be sure, does anybody know how to
permanently configure processor affinity for either LSMTP or LISTSERV on a
Win2K server?

Thanks,
Jake

ATOM RSS1 RSS2