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?
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?