Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Since I own one of those Centrino based Core 2 notebooks that create annoying buzzing noises when idle (= entering C3 or C4 power saving states), I'm looking for a program that creates artificial CPU usage. It should allow me to limit the CPU usage to a certain percentage (I know that there are a lot of easy ways to create 100% usage ;-).

Another option would be to disable the C3 or C4 states, but in newer kernels the sysfs interface to set the max_cstate on-the-fly was removed for some reason, and I don't always want to reboot after switching from AC to battery (and vice versa).

share|improve this question
1  
How about this weather.ou.edu/~apw/projects/stress ? Also, take a look at this question: superuser.com/questions/167185 –  AndrejaKo Jul 27 '10 at 22:37
add comment

3 Answers 3

up vote 3 down vote accepted

Give cpulimit a try. For example cpulimit -e cpuburn -l 20 would limit a process called cpuburn to maximum of 20% CPU.

Use cpulimit with some CPU hungry software such as SETI@Home or cpuburn and you should have a winning combo.

share|improve this answer
    
Does not really solve the problem, since now I get a pulsating buzzing noise instead of a constant one. Cpulimit seems to work by pausing and resuming the process with a certain frequency. Still you answered my question ;-) –  nisc Aug 6 '10 at 9:27
    
I don't know if other people find this looking for cpuburn but here's a cpuburn that works great. –  ZombieDev May 9 at 13:33
add comment

Under any Linux/Unix you can execute 'yes' on the terminal which will also generate a good bit of CPU stress.

share|improve this answer
add comment

Have you considered setting up something like Folding@Home This will use all your CPU, and by default it will be at the lowest priority meaning that almost anything else you run will get preference. Plus you can feel good about your contribution to humanity.

share|improve this answer
1  
Or BOINC which also has a broader selection of projects to choose from, including medical ones. The software for the Great Internet Mersenne Prime Search is often used for stress-testing systems. –  Dennis Williamson Jul 28 '10 at 4:05
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.