DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD General

NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 14th June 2008
JMJ_coder JMJ_coder is offline
VPN Cryptographer
 
Join Date: May 2008
Posts: 464
Thanked 8 Times in 8 Posts
Default Benchmarking Tools

Hello,

What are the best tools to benchmark a system?
__________________
And the WORD was made flesh, and dwelt among us. (John 1:14)
Reply With Quote
  #2   (View Single Post)  
Old 14th June 2008
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,833
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by JMJ_coder View Post
What are the best tools to benchmark a system?
By "best", do you mean "popular"?

In either event, look at the following list found in pkgsrc:

http://pkgsrc.se/benchmarks
Reply With Quote
  #3   (View Single Post)  
Old 14th June 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Thanked 112 Times in 104 Posts
Default

(I'm sorry but I couldn't resist)


The best tools to benchmark a FreeBSD system:

Place the computer in a climate controlled room.

Turn up the room temperature to 48-50 degrees Celsius.

Place a hot plate on the server

Start the timer.

Boot the system and begin a build (but not install) sequence for rebuilding the operating system

While attempting to flood the machine with more network requests then it can handle

While downloading an up to date ports tree via csup from scratch

When every thing as completed or the server explodes, stop the timer.

And see if the kernel build will works after you stop the timer.


Assuming you don't get fired, you have just simultaneously stress tested and benchmarked the hardware ^_^


(Again sorry, but I just couldn't resist lol)
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #4   (View Single Post)  
Old 15th June 2008
stukov's Avatar
stukov stukov is offline
Real Name: Jean-Michel Philippon-Nadeau
Package Pilot
 
Join Date: May 2008
Location: Sherbrooke, Qc, Canada
Posts: 167
Thanked 6 Times in 6 Posts
Default

What do you want to benchmark? Disk I/O? CPU performance? video performance?
__________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
Reply With Quote
  #5   (View Single Post)  
Old 16th June 2008
JMJ_coder JMJ_coder is offline
VPN Cryptographer
 
Join Date: May 2008
Posts: 464
Thanked 8 Times in 8 Posts
Default

Hello,

Quote:
Originally Posted by stukov View Post
What do you want to benchmark? Disk I/O? CPU performance? video performance?
I am looking at general system performance - including, as you mentioned, disk i/o; cpu performance; etc. So if no one tool can do that, probably need a small suite of tools.
__________________
And the WORD was made flesh, and dwelt among us. (John 1:14)
Reply With Quote
  #6   (View Single Post)  
Old 16th June 2008
JMJ_coder JMJ_coder is offline
VPN Cryptographer
 
Join Date: May 2008
Posts: 464
Thanked 8 Times in 8 Posts
Default

Hello,

Quote:
Originally Posted by ocicat View Post
By "best", do you mean "popular"?

In either event, look at the following list found in pkgsrc:

http://pkgsrc.se/benchmarks
Generally, most popular is thought to be best performing (though that rule is probably broken more often than upheld ). I prefer better performance and useful information over popularity - but, if abilities and popularity coincide great.

I have looked through the list, but I don't want to install all those (which is why I posted here in the first place). I am not familiar with benchmarking software and didn't feel like testing and benchmarking the benchmarking tools.

Also, I am currently in a cli-only environment for NetBSD, so any tool that requires X is out.
__________________
And the WORD was made flesh, and dwelt among us. (John 1:14)
Reply With Quote
  #7   (View Single Post)  
Old 16th June 2008
stukov's Avatar
stukov stukov is offline
Real Name: Jean-Michel Philippon-Nadeau
Package Pilot
 
Join Date: May 2008
Location: Sherbrooke, Qc, Canada
Posts: 167
Thanked 6 Times in 6 Posts
Default

For disk I/O I'm pretty sure you'll love Bonnie++. I also ran a lot of benchmark with sysbench (can test disk, cpu, memory, etc.). While sysbench is less specialized than Bonnie++, it is great if you need the big picture between two machines or to measure improvements over two version of a similar hardware.
__________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
Reply With Quote
  #8   (View Single Post)  
Old 16th June 2008
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,833
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by JMJ_coder View Post
I am looking at general system performance - including, as you mentioned, disk i/o; cpu performance; etc.
I'm with stukov on this one; it sounds like you want to focus on the standards first -- systat(1), iostat(8), & netstat(1), etc. At that point, you will have a better foundation to branch out into more exotic solutions.
Reply With Quote
  #9   (View Single Post)  
Old 16th June 2008
JMJ_coder JMJ_coder is offline
VPN Cryptographer
 
Join Date: May 2008
Posts: 464
Thanked 8 Times in 8 Posts
Default

Hello,

Quote:
Originally Posted by ocicat View Post
I'm with stukov on this one; it sounds like you want to focus on the standards first -- systat(1), iostat(8), & netstat(1), etc. At that point, you will have a better foundation to branch out into more exotic solutions.
Thanks - that does look like what I am looking for.

I really do need to take a long look at and see all the tools that do come with my NetBSD system (I guess I'm too accustomed to everything being third-party add-ons).
__________________
And the WORD was made flesh, and dwelt among us. (John 1:14)
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Favorite Programming Tools JMJ_coder Programming 15 28th March 2012 01:40 PM
Quality and Backwards Compatibility of GNU Tools ... vermaden Off-Topic 1 12th May 2009 08:25 PM
UML tools bichumo Programming 2 12th September 2008 02:23 PM
Compiling from Source - tools needed ? roundkat OpenBSD General 9 20th July 2008 12:14 AM
MAC Tools Mentor / OTC Genesis stealintv Off-Topic 0 8th July 2008 12:55 AM


All times are GMT. The time now is 01:36 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick