How to disable cpu



I have suse linux running on a 2-cpu machine.
Just want to know whether I can disable one of the cpus.
so that I can simulate a single cpu machine for benchmarking purpose.

.