Tux

...making Linux just a little more fun!

tool to generate predefined amount of CPU load?

Mulyadi Santosa [mulyadi.santosa at gmail.com]


Tue, 17 Apr 2007 01:10:04 +0700

Dear Gang..

Any of you know what tools (preferrably open source) I can use to generate predefined amount of CPU load in Linux? For example, the tool can receive an argument to generate 40% CPU load:

./loader -l 40
I plan to use such tool to generate background load, and do certain tests with another application to test scheduling latency. Thanks in advance for your advice.

regards,

Mulyadi


Top    Back


Thomas Adam [thomas.adam22 at gmail.com]


Mon, 16 Apr 2007 19:09:55 +0100

On Tue, Apr 17, 2007 at 01:10:04AM +0700, Mulyadi Santosa wrote:

> Dear Gang..
> 
> Any of you know what tools (preferrably open source) I can use to 
> generate predefined amount of CPU load in Linux? For example, the tool 
> can receive an argument to generate 40% CPU load:
> ./loader -l 40
> 
> I plan to use such tool to generate background load and do certain tests 
> with another application to test scheduling latency. Thanks in advance 
> for your advice.

ISTR there's a tool called 'stress' that can do this sort of thing for you.

-- Thomas Adam

-- 
"He wants you back, he screams into the night air, like a fireman going
through a window that has no fire." -- Mike Myers, "This Poem Sucks".

Top    Back