1820475 Members
2824 Online
109624 Solutions
New Discussion юеВ

IO testing and tuning

 
SOLVED
Go to solution
lawrenzo_1
Super Advisor

IO testing and tuning

Hi all,

hope everyone had a good christmas and newyear .... I worked for most of it but will be getting lots of $$$$$ (happy days) ...

Let me get back to the question in hand:

I want to play around with system IO tuning and understand some of the parameters and the effects of changing. I have a couple crash and burn servers running hpux and AIX and I was hoping someone had a program or could point me to some method where I can increae the IO on the disks to 100% and create bottlenecks etc so I can determine different tuning methods.

does anyone have such a program?

many thanks

Chris
hello
5 REPLIES 5
Eric SAUBIGNAC
Honored Contributor
Solution

Re: IO testing and tuning

Bonsoir Chris,

Maybe IOZONE is your answer. Take a look at http://www.iozone.org/

Regards

Eric
James R. Ferguson
Acclaimed Contributor

Re: IO testing and tuning

Hi Chris (and Happy New Year to you too):

Creating I/O on disks can be as simple as using 'dd'. For example, to read a disk in block sizes of 1024 characters having skipped 2048 blocks before starting and quit after reading 100 blocks, do:

# dd if=/dev/rdsk/c0t6d0 of=/dev/null bs=1024 iseek=2048 count=100

Notice the use of the raw device file. This means that you don't involve the Unix buffer cache in your reads.

As for writing, you could use '/dev/zero' as your input ('if') file, BUT MAKE VERY SURE that your output disk is not one with any viable data, since you will be smearing zeros all over it!

Clearly, a script with a number of 'dd' processes can be quickly hacked together to build up so I/O. As always, see the manpages for 'dd(1)' for more information.

Regards!

...JRF...
Jannik
Honored Contributor

Re: IO testing and tuning

I have been playing round with IO test as well. I have used IOZONE, which is better than dd because you can create a lot o threads. And the measuring is build in.

Remember to play around with Block Size and the filesystem cache (dbc_min_pct and dbc_max_pct in 11i until v3 then it is fs something).
jaton
lawrenzo_1
Super Advisor

Re: IO testing and tuning

Thats great,

I have been running the dd command to test times and activity so thanks James.

and also thanks for the suggested programs.

Chris.
hello