Windows Server 2003: CPU Affinity

culex

Senior member
Jul 26, 2000
744
0
76
VMWare aside...

I'm looking for a solution to limit a bunch of Windows Services (bunch of server applications) not really for troubleshooting or performance issues but for licensing issues.

My goal is to have all the service processes that I specify be limited to one core and one core only.

I looked in to freeware utilities like THG Task Assignment Manager and Get and Set CPU Affinity... On paper, they seem to be doing what I'd like them to do.

One thing I'm not sure is how Windows Server 2003 loads services. The two programs I mentioned above are not technically Windows Services. I am guessing if those programs can be loaded FIRST before any Windows Services load up, then they would be doing their job of restricting my application services to one core.

THe reason I ask this is because the application services I'm trying to limit right now do not allow the affinity to be changed once the service has started. So I'm worried that even if I implement the freeware utilities, they would not be able to set the CPU affinity if the services were to be loaded first. Of course on any server maintenance reboot, I can login, disable some services, load the affinity program, then start the services again but that wouldn't be too conventional.

With that being said, am I thinking along the right lines that these may not work for what I want to do? Or is there a way to specifically load the affinity programs before the Windows Services are loaded?
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
I'm looking for a solution to limit a bunch of Windows Services (bunch of server applications) not really for troubleshooting or performance issues but for licensing issues.

So the people who wrote the software told you that even though you have X cores you can only pay for a license for Y cores if you set their affinity to them?
 

culex

Senior member
Jul 26, 2000
744
0
76
In a nutshell, yeah.

Ripoff imo but I'm not the one that's dealing with that part. I just wanna get this figured out.
 

Smilin

Diamond Member
Mar 4, 2002
7,357
0
0
I do not believe affinity will solve your problem but I'm not familiar with whatever detection scheme they are using.


You can use the "start" command with the "affinity" switch perhaps but that's really only available after boot. If it's a service you'll have to do some major monkeying.

If you're going to cripple it to a single processor anywhat you might as well use the /numproc switch in boot.ini to artificially limit the number of processors in the box.

 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |