tool to slow down processor under linux/solaris
Hi,
does anybody know a tool to stress processor. Important that processor has to be slowed down with constant configurable load (eg. 60%). Processor utilization for it's process should vary within (at most) 5%. I think it should be some low level tool. I wrote simple program but processor utilization varied withing 15-20%. It is too much for my purposes. Thanks |
the only tool i know is called windows but that generally slows down to 90% or above
;) |
Tom
What are you trying to accomplish by holding the processor at a certain load? |
Quote:
We want to execute scalability test of our application we need to know how much CPU power can help |
I had hopes that CKRM would provide controls like this when I first saw it. Unfortunately it got subsumed by other projects with other goals. Control groups allow you to set limits on CPU (and/or memory), but the boundary is (entire) CPU or memory node.
This would allow you to let your app consume an entire CPU (or two, or ...), being some subset of the total. This likely isn't what you want in general. AFAIK you don't have the ability to set an arbitrary percentage within a CPU - or even across CPUs (say 25% of all CPUs). |
Quote:
i will analyse if CKRM is enough for us |
Just noticed this mentioned in another thread. Maybe you could use that - either to limit your own code, or to limit a "soaker" so you can manage a "known" competing load.
Haven't looked at this code yet - will try to soon. |
All times are GMT -5. The time now is 05:51 AM. |