Bonnie++ on red hat

How do you use bonnie++ to determine disk performance under red hat?  What should one look out for?  Is this tool helpful in determining data corruption or failing components like controller or drive?

command I ran:

./bonnie++ -d ~/junk -n 5 -x 2


output:


format_version,bonnie_version,name,file_size,io_chunk_size,putc,putc_cpu,put_block,put_block_cpu,rewrite,rewrite_cpu,getc,getc_cpu,get_block,get_block_cpu,seeks,seeks_cpu,num_files,max_size,min_size,num_dirs,file_chunk_size,seq_create,seq_create_cpu,seq_stat,seq_stat_cpu,seq_del,seq_del_cpu,ran_create,ran_create_cpu,ran_stat,ran_stat_cpu,ran_del,ran_del_cpu,putc_latency,put_block_latency,rewrite_latency,getc_latency,get_block_latency,seeks_latency,seq_create_latency,seq_stat_latency,seq_del_latency,ran_create_latency,ran_stat_latency,ran_del_latency
Writing a byte at a time...done
Writing intelligently...done
Rewriting...done
Reading a byte at a time...done
Reading intelligently...done
start 'em...done...done...done...done...done...
Create files in sequential order...done.
Stat files in sequential order...done.
Delete files in sequential order...done.
Create files in random order...done.
Stat files in random order...done.
Delete files in random order...done.
1.93c,1.94,<hostname>,1,1304837193,6576M,,558,99,63671,12,35146,8,994,99,82977,9,288.0,2,5,,,,,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,32109us,2360ms,2452ms,32828us,102ms,984ms,133us,150us,129us,72us,11us,32us
Writing a byte at a time...done
Writing intelligently...done
Rewriting...done
Reading a byte at a time...done
Reading intelligently...done
start 'em...done...done...done...done...done...
Create files in sequential order...done.
Stat files in sequential order...done.
Delete files in sequential order...done.
Create files in random order...done.
Stat files in random order...done.
Delete files in random order...done.
1.93c,1.94,<hostname>,1,1304837193,6576M,,543,99,65508,18,34451,8,823,99,84319,9,301.1,2,5,,,,,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,15712us,6890ms,2385ms,36102us,49592us,1026ms,132us,199us,127us,86us,13us,29us

This was ran on a single drive desktop.  What sort of values would I look for on a sas controller and sas drive setup?
dbro75Asked:
Who is Participating?
 
DavidPresidentCommented:
Bonnie is an I/O benchmark. It does NOT verify data, and is unsuitable for any type of data integrity work.   The values you should get for a single HDD should match the published specs in the disks' published product manual.  (Not the spec sheet, but the 100+ page product manual).  That is because with a single disk you won't saturate the path.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.