Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

affinitizing programs on a multicore system

Status
Not open for further replies.

saab340

Programmer
Oct 24, 2007
1
US
I want to compare the performance of an enterprise application when it is affinitized in different ways on a multicore system running WS2003.

The problem is that I need a way of disabling the sockets and cores that my app hasn't been affinitized to, so that the OS doesn't run any processes on them and mess up my measurements.

I considered changing the /numproc=n switch in the boot.ini file. The problem is that this is not fine-grained enough. I want to do things like enabling 2 of the 4 cores on two sockets and disabling all the other sockets.

Are there other ways to ensure that when I affinitize this application the OS doesn't load other background processes onto other cores and hijack the measurements?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top