I'm trying to set up a machine for benchmarking: 2 dual-core cpus. I need a
way to selectively turn off processors and cores as painlessly as possible.
Does anyone know of a utility suitable for that?

"maxcpus=2" boot flag lets me effectively turn off dualcore, because Linux
loads physical cpus first. Is there a way to turn off one of the processors
completely, such that cpu0 is left in dualcore state and cpu1 is shut off
completely?

Thanks in advance...