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
0516-787 extendlv: Maximum allocation for logical volume error
Viewed 10818 times since Tue, Mar 12, 2019
AIX rootvg Mirroring
Viewed 6281 times since Mon, May 21, 2018
AIX Different Commands For Paging Space Administration swap file create
Viewed 9054 times since Thu, Aug 1, 2019
AIX hangs on boot? How to debug boot process on AIX systems
Viewed 14114 times since Thu, Feb 21, 2019
AIX: Error code 0516-1339, 0516-1397 0516-792: cannot extendvg with a previous Oracle ASM disk
Viewed 4847 times since Wed, Feb 6, 2019
Useful AIX general commands
Viewed 13588 times since Wed, Apr 17, 2019
A tcpdump Tutorial and Primer with Examples
Viewed 7354 times since Sun, Jun 17, 2018
How to determine why your AIX oslevel is downlevel (and a script to help!)
Viewed 6235 times since Fri, Jul 13, 2018
R2dump debug tool
Viewed 3495 times since Tue, Sep 8, 2020
SSH-COPY-ID on AIX. SSH remote AIX’s box without password
Viewed 20513 times since Thu, Feb 21, 2019