- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: CPU overload tool for Tru64
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2007 02:57 AM
тАО01-22-2007 02:57 AM
CPU overload tool for Tru64
Is there any tool/command for loading CPUs in Tru64. I need that for testing purposes. I know that for solaris for example there is "nspin".
If anyone knows something similar for tru64 I would appreciate your time and comments :)
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2007 03:43 AM
тАО01-22-2007 03:43 AM
Re: CPU overload tool for Tru64
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2007 10:17 AM
тАО01-22-2007 10:17 AM
Re: CPU overload tool for Tru64
perl -e 'while (1+1==2){}'
or
perl -e '$i++ while (1);'
or
perl -e 'for (1..9999999){}'
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2007 07:54 PM
тАО01-22-2007 07:54 PM
Re: CPU overload tool for Tru64
These suggestions will do some of the job
But still, if there is any tool that can make a CPU load in more controlled way will be quite helpful for me.
For example if I have 6 CPUs, I want CPU 0 and CPU 1 to push to 100% load ...
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2007 11:37 PM
тАО01-22-2007 11:37 PM
Re: CPU overload tool for Tru64
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2007 11:38 PM
тАО01-22-2007 11:38 PM
Re: CPU overload tool for Tru64
perl -e 'for (1..9999999) {}' &
perl -e 'for (1..9999999) {}' &
Or you get more fancy in the perl and fork a controlled number of sub processes, waiting for them to finish at the end:
perl -e 'for (1..3) {if (!fork()){ for (1..999999){}}}; $x++ while (-1 != wait())"
Next step is probably to replace the
'for (1..9999999)'
with
'for (1..99) {for (1..99999){}; sleep(1)}}'
That is, alternate spinning with sleep, a number of times.
In the block/fork might be more realistic to do an exec of a task which is known to cause a given load and still a more or less realistic common task like some 'grep'.
If you think you need anything more fancy, then study up, or leave it to the experts!
IMHO, if you don't know how to cause/describe the load, then you are not likely to know how to correctly use the result either.
Cheers,
Hein van den Heuvel
HvdH Performance Consulting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2007 12:12 AM
тАО01-23-2007 12:12 AM
Re: CPU overload tool for Tru64
runon CPU_NUM "perl -e 'while (1+1==2){}'"
definitely freaks out the CPU which was my goal.
In case you didn't see it, maybe you can help me on this one:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1093218
Thanks a lot again,
Regards