Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
diskspeed.c | 2020-05-11 | 4.8 kB | |
iotest.pl | 2020-05-11 | 3.7 kB | |
params.sample | 2020-05-11 | 323 Bytes | |
readme.txt | 2020-05-11 | 1.7 kB | |
Totals: 4 Items | 10.5 kB | 0 |
Here is the reader-writer program that can be used to measure io-rates. By adding additional runs of this program, one can find out what is the appropriate number of AIOVPs to add for a system. While this code was originally written by an Informix employee, IT IS NOT SUPPORTED BY INFORMIX IN ANY FORM OR FASHION. 'diskspeed.c' is a program that does read and write tests. Here's its syntax: $ ./diskspeed . diskspeed [-R|-W|-RW] path -s disk_size -o offset -b blksize [-random seed] - at least one of -R,-W,-RW must be specified - disk size, offset, blksize are in Kbytes - specifying random is optional Use the following to compile 'diskspeed' on any platform: cc -o diskspeed diskspeed.c 'iotest' is the parallel driver written in Perl that can be used to run 'diskspeed' in uses the following file format: $ ./iotest -paramsformat # sample paramsformat file # # NOTE: All sizes in kbytes, tests will run in parallel # Place '#' before any line you want to comment out # # partition-name test-type size offset blocksize # /dev/rdsk/c0t0d0s4 R 1024 0 4 /dev/rdsk/c0t1d0s4 W 1024 0 4 Here's sample output for a test run on an HP machine 'casper': $ .do ./iotest -f params.casper .c3t3d0 [R]: 5 MB in 9.659 secs, Rate: 0.518 MB/sec, IO: 132.517 ios/sec c6t10d0 [R]: 5 MB in 9.711 secs, Rate: 0.515 MB/sec, IO: 131.812 ios/sec c3t4d0 [R]: 5 MB in 9.729 secs, Rate: 0.514 MB/sec, IO: 131.571 ios/sec c6t12d0 [R]: 5 MB in 10.561 secs, Rate: 0.473 MB/sec, IO: 121.198 ios/sec Aggregate: 20 MB in 10.561 secs, Rate: 1.894 MB/sec, IO: 484.806 ios/sec