LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 01-28-2008, 11:20 AM   #1
tomaszadamczyk
LQ Newbie
 
Registered: Jan 2008
Posts: 3

Rep: Reputation: 0
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
 
Old 01-28-2008, 04:32 PM   #2
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Void, Debian, Puppy, Raspbian
Posts: 3,483

Rep: Reputation: 223Reputation: 223Reputation: 223
the only tool i know is called windows but that generally slows down to 90% or above
 
Old 01-28-2008, 04:37 PM   #3
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Tom

What are you trying to accomplish by holding the processor at a certain load?
 
Old 01-29-2008, 01:47 AM   #4
tomaszadamczyk
LQ Newbie
 
Registered: Jan 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by lazlow View Post
Tom

What are you trying to accomplish by holding the processor at a certain load?

We want to execute scalability test of our application
we need to know how much CPU power can help
 
Old 01-29-2008, 02:20 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,500

Rep: Reputation: 3101Reputation: 3101Reputation: 3101Reputation: 3101Reputation: 3101Reputation: 3101Reputation: 3101Reputation: 3101Reputation: 3101Reputation: 3101Reputation: 3101
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).
 
Old 01-30-2008, 07:14 AM   #6
tomaszadamczyk
LQ Newbie
 
Registered: Jan 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by syg00 View Post
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
 
Old 01-30-2008, 04:21 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,500

Rep: Reputation: 3101Reputation: 3101Reputation: 3101Reputation: 3101Reputation: 3101Reputation: 3101Reputation: 3101Reputation: 3101Reputation: 3101Reputation: 3101Reputation: 3101
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nmon like tool on Solaris ? cr06 Solaris / OpenSolaris 3 12-29-2009 04:20 PM
CLI tool to determine processor type? wanderingmind Linux - Software 3 09-11-2007 07:47 PM
imaging tool for solaris 9 sparc gsr_kashyap Solaris / OpenSolaris 12 10-30-2006 04:23 AM
LXer: Tiny USB debug tool gains Freescale processor support LXer Syndicated Linux News 0 09-29-2006 12:21 PM
what kind of version system, processor(s) has my Solaris? richikiki Solaris / OpenSolaris 4 06-22-2006 02:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration