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&btnG=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