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
Using expect to automate mundane tasks
Viewed 2052 times since Mon, Jun 3, 2019
Part 1, Memory overview and tuning memory parameters AIX7
Viewed 4455 times since Wed, Jun 19, 2019
AIX Encrypted File System
Viewed 6091 times since Tue, Jul 17, 2018
How to Analyze or Read OS Watcher Output in three easy steps -- With Example ?
Viewed 42012 times since Thu, Jun 21, 2018
AIX↑ AIX www links
Viewed 3918 times since Sat, Apr 20, 2019
AIX - How to get CPU infomation
Viewed 6047 times since Fri, Jun 8, 2018
Using splitvg in AIX to make a copy of a volume group
Viewed 9000 times since Mon, Jun 3, 2019
AIX, user gets “pwd: The file access permissions do not allow the specified action.”
Viewed 11582 times since Tue, Mar 16, 2021
AIX HOW TO CLONE A ROOTVG USING ALTERNATE DISK INSTALLATION ALTER_DISK_COPY
Viewed 17539 times since Sun, Jun 30, 2019
Create memory resident filesystems (RAM disk) on AIX
Viewed 2873 times since Thu, Feb 21, 2019