in reply to How to generate 'fake' memory load?

You really should decide if you want memory load or cpu load.

Anyway, for CPU load, this works fine:

perl -e '1 while 1'
Perhaps fork() once first, for each CPU.

On re-read: what kyle said.