Calculate hdisk READ / WRITE throughput (sequential IO) from AIX systems

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

0 (0)
Article Rating (No Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
replacing (hot-swap) failed disk in rootvg
Viewed 9279 times since Thu, Sep 20, 2018
How to clear/clean/erase/delete/reset network adapter configuration on AIX?
Viewed 12642 times since Thu, Nov 29, 2018
AIX www web Links
Viewed 3406 times since Fri, Apr 19, 2019
AIX 6/7 Script to create a file with commands to remove missing and failed paths
Viewed 3753 times since Tue, Jun 14, 2022
AIX 7.2 running on my Macbook?
Viewed 12550 times since Mon, Jun 3, 2019
How to know witch process is running in a particular port on AIX using KDB
Viewed 12801 times since Thu, Nov 29, 2018
Part 3, Monitoring your network packets and tuning the network
Viewed 6058 times since Mon, Jun 4, 2018
https://www.ibm.com/developerworks/learn/aix/index.html
Viewed 11333 times since Wed, May 30, 2018
Create memory resident filesystems (RAM disk) on AIX
Viewed 2809 times since Thu, Feb 21, 2019
Installing a Interim Fix (APAR IV16587)
Viewed 3080 times since Tue, Jul 17, 2018