- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Test CPU's
Operating System - HP-UX
1753618
Members
5687
Online
108797
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО05-29-2008 07:51 AM
тАО05-29-2008 07:51 AM
Besides using the hardware tests via hp tools,
is there a way I can run some kind of script that will push all my cpus at the same time and see how they perform?
Like a stress tester..or something to that effect?
is there a way I can run some kind of script that will push all my cpus at the same time and see how they perform?
Like a stress tester..or something to that effect?
UNIX IS GOOD
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2008 09:17 AM
тАО05-29-2008 09:17 AM
Solution
Here's a couple of cpu loade scripts:
#!/usr/bin/ksh
while true;do
a=$(( 24353.345 / 3254.65 ))
done
# cat cpu_load_gen_li.ksh
#!/usr/bin/ksh
i=0
while true; do
while [ $i -le 100000 ];do
a=$(( 20002344353.345 / 3254.65 ))
i=$(( $i + 1 ))
done
sleep 1
i=0
done
Run them in the background, then kill %1 and or 2 to end them...
Rgds...Geoff
#!/usr/bin/ksh
while true;do
a=$(( 24353.345 / 3254.65 ))
done
# cat cpu_load_gen_li.ksh
#!/usr/bin/ksh
i=0
while true; do
while [ $i -le 100000 ];do
a=$(( 20002344353.345 / 3254.65 ))
i=$(( $i + 1 ))
done
sleep 1
i=0
done
Run them in the background, then kill %1 and or 2 to end them...
Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2008 01:11 AM
тАО05-30-2008 01:11 AM
Re: Test CPU's
>run some kind of script that will push all my CPUs at the same time and see how they perform?
Unless you are measuring the heat output, you can't see how they perform unless you have a known workload. Unless you have other work to be done at the same time?
Unless you are measuring the heat output, you can't see how they perform unless you have a known workload. Unless you have other work to be done at the same time?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2008 07:17 AM
тАО05-30-2008 07:17 AM
Re: Test CPU's
Dennis, you should get negative points for destroying a happy go lucky fantasy by bringing in reality and practicalities. Don't try to confuse us with facts!
Nobody's Hero, seriously now, reflect on your question and the answers it solicits such as the one provided by my friend Geoff. So that CPU now looks 100% busy. Now what? What does that tell you? How can you tell what is good or bad?
You need something specific you'd like to evaluate, and define a benchmark of some sort to measure that. The thing to measure should preferably be somewhat related to what the machine will be used for and for which clever software can not make a shortcut. At best a busy loop can be used to measure the impact it has on real work.
Suggestion: time how often you can compress a good sized sample file onto /dev/null. Compare between old and new (box, os). Compare 1 stream versus many.
Or compile a good sized set of program over and over.
Or tell Oracle to fetch a rock from its caches over and over.
And if you go with a trivial hard counter, then at least report the time it took to count to a gazillion, or the inverse: how high it counted every minute or so.
Google for some benchmark, where there might be existing results from comparable platforms. My first google hit for this is "lmbench" (
http://www.bitmover.com/lmbench/index.html )
but it's results are sadly dated.
There are others, but there is little point in searching without knowing what you are really looking for. One would become nobody's hero for trying that.
best regards,
Hein van den Heuvel
HvdH Performance Consulting.
Nobody's Hero, seriously now, reflect on your question and the answers it solicits such as the one provided by my friend Geoff. So that CPU now looks 100% busy. Now what? What does that tell you? How can you tell what is good or bad?
You need something specific you'd like to evaluate, and define a benchmark of some sort to measure that. The thing to measure should preferably be somewhat related to what the machine will be used for and for which clever software can not make a shortcut. At best a busy loop can be used to measure the impact it has on real work.
Suggestion: time how often you can compress a good sized sample file onto /dev/null. Compare between old and new (box, os). Compare 1 stream versus many.
Or compile a good sized set of program over and over.
Or tell Oracle to fetch a rock from its caches over and over.
And if you go with a trivial hard counter, then at least report the time it took to count to a gazillion, or the inverse: how high it counted every minute or so.
Google for some benchmark, where there might be existing results from comparable platforms. My first google hit for this is "lmbench" (
http://www.bitmover.com/lmbench/index.html )
but it's results are sadly dated.
There are others, but there is little point in searching without knowing what you are really looking for. One would become nobody's hero for trying that.
best regards,
Hein van den Heuvel
HvdH Performance Consulting.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP