I was recently asked how to turn off a CPU core in a dual-core computer. Depending on your need, there are actually 3 ways to accomplish it.
The first method disables cores for the whole system. The second turns them off for a specific program. Finally, you may just want to shut off those fake Hyperthreading cores. See the details.