Operating System - HP-UX
1753710 Members
4632 Online
108799 Solutions
New Discussion юеВ

Re: Testing Read/Write speed on HP-UX 11.00

 
SOLVED
Go to solution
Chris H_3
Advisor

Testing Read/Write speed on HP-UX 11.00

Hi,
I've been asked to come up an 'easy' way to test the read/write speeds of hard disks on a couple HP 9000's we have. Is there a simple way to do this on the command line with a script?

CH

sry, don't know much about these systems :)
12 REPLIES 12
Pieter_5
Advisor

Re: Testing Read/Write speed on HP-UX 11.00

Try iostat. The man-pages will give you detailed information.
Naveej.K.A
Honored Contributor
Solution

Re: Testing Read/Write speed on HP-UX 11.00

Hi,
If you are referring to reporting I/O statistics on HP systems, iostat is a good command to give the Input and Output statistics of all the hard disk installed in the system.

sar -d 1 5 also gives the Disk statistics of all hard disks in one second interval for 5 times.

With best wishes
naveej
practice makes a man perfect!!!
A. Clay Stephenson
Acclaimed Contributor

Re: Testing Read/Write speed on HP-UX 11.00

This is not meant to be a rigourous test of a disk but here is one:

timex dd if=/dev/rdsk/c0t0d0 bs=256k count=400 of=/dev/null

That is a sequential 100MB write test.

The write test is similar
timex dd if=/dev/zero bs=256k count=400 of=/dev/rdsk/c0t0d0

Note: The write test IS DESTRUCTIVE.

The buffer cache is intentinally bypassed and using /dev/null & /dev/zero removes as much extraneous data from the mix as is possible but these are still rather lousy disk/io measurement tools.
If it ain't broke, I can fix that.
Chris H_3
Advisor

Re: Testing Read/Write speed on HP-UX 11.00

Hey, thanks for the tips :)
I'll play around with these and see if I can get the output they are requesting.

Thanks again!

CH
Shaikh Imran
Honored Contributor

Re: Testing Read/Write speed on HP-UX 11.00

Hi,
Please try iozone command.
You will get the details here.
http://www.iozone.org/
It works for HP also i used it to test my EMC device.

Regards,


I'll sleep when i am dead.
Chris H_3
Advisor

Re: Testing Read/Write speed on HP-UX 11.00

Very nice app. I didn't get any graphes when I ran it, but I didn't read all the docs :)
Good link, thanks

CH
Chris H_3
Advisor

Re: Testing Read/Write speed on HP-UX 11.00

well, it worked great on my linux box, but won't compile on the HP. It gripes with 'Function prototypes are an ANSI feature' a couple dozen times before quitting. All HP options produce the same result. oh well :(
Patrick Wallek
Honored Contributor

Re: Testing Read/Write speed on HP-UX 11.00

It sounds like you may not have the ANSI/C compiler installed on your HP box. Unfortunately that is a product you have to buy.

You could try gcc and see if you can get it to compile with that.
Tim D Fulford
Honored Contributor

Re: Testing Read/Write speed on HP-UX 11.00

Hi.. Measureing IO

iostat, sar -d & MeasureWare

Performing tests, see my question..

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=105130

There is another one from "solid data" I may be able to gzip & uuencode a HP-UX compiled tomorrow (I dont think it is too large!)

Regards

Tim
-