If you want to run a command that you know is going to use quite a bit of CPU but you don’t want it to completely take over your system there is a really neat utility that can help you out.
Source: A nifty utility to limit CPU usage on Linux | The Linux Experiment