Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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).
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).
thanks for Your help
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.