Calculate hdisk READ / WRITE throughput (sequential IO) from AIX systems
Article Number: 517 | Rating: Unrated | Last Updated: Thu, Feb 21, 2019 8:17 PM
Do you know the throughput of your disks? This time we’re going to calculate read / write throughput of hdisks from an AIX system.
- Let’s create a file for this test.
1
|
[root@aix:/] lptest 127 32 > /tmp/file |
1
2
|
[root@aix:/] ls -ltr /tmp/file -rw-r----- 1 root system 4096 Feb 07 16:22 /tmp/file |
- Let’s make a sequential WRITE test.
1
2
3
4
5
6
7
|
[root@aix:/] timex dd if=/dev/zero of=/tmp/file bs=1m count=1000 1000+0 records in. 1000+0 records out. real 2.96 user 0.00 sys 1.67 |
- Now divide 2014 / “real” number to get MB/s throughput.
In this example:
1
|
1024 MB / 2.96 s = 345 MB/s |
WRITE throghput is 345 MB/s
- Let’s make a sequential READ test.
1
2
3
4
5
6
7
|
[root@aix:/] timex dd if=/dev/rhdisk3 of=/dev/null bs=1m count=1024 2048+0 records in. 2048+0 records out. real 4.83 user 0.00 sys 0.32 |
- Now divide 2014 / “real” number to get MB/s throughput.
In this example:
1
|
1024 MB / 4.83 s = 212 MB/s |
READ throghput is 345 MB/s