Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Gather Disk I/O statistics on Read and Write I/O

Status
Not open for further replies.

comtec17

Vendor
Jun 18, 2002
2,338
US
Looking for some guidance on gathering performance stats on an RH server.

I have ran SAR but the output comes back as follows:

Linux 2.4.21-20.ELsmp



12:00:00 AM tps rtps wtps bread/s bwrtn/s

12:10:00 AM 2097.94 2038.20 59.74 35285.37 1003.61

12:20:00 AM 834.05 799.81 34.24 13481.50 555.33

12:30:00 AM 10.02 5.06 4.96 68.59 112.58

12:40:00 AM 2066.14 178.15 1887.99 2187.76 26870.98

12:50:00 AM 6511.72 1154.84 5356.89 16460.21 77194.94

01:00:00 AM 8236.61 2772.76 5463.85 40216.03 76536.61

01:10:00 AM 5338.67 4011.53 1327.14 57645.04 18752.32

01:20:01 AM 3950.33 1909.42 2040.91 26375.26 27123.16

01:30:00 AM 10245.00 4480.67 5764.33 57791.83 73917.12

01:40:00 AM 12004.93 5148.45 6856.49 66150.53 87776.81

01:50:00 AM 11784.39 6096.82 5687.56 78923.12 71582.84

02:00:01 AM 13944.95 8896.60 5048.35 113853.21 62605.53

02:10:01 AM 10257.70 5326.42 4931.28 66706.89 60245.89

02:20:01 AM 14687.58 8487.15 6200.44 107899.29 75586.26

Now I want to determine how many read I/O's and Write I/O's are being done but the above stats are in blocks. How can I determine what the actual numbers are.

100000 IOPS is crazy...

I am interested in converting bread/s (Block Reads/sec) and Bwrtn/s (Block Written/sec) into actual I/O. I have been told to divide this number by 512 as that is the size of each block.

What is the actual way of doing this???
 
Yyep, 512 looks right.
So you simply divide the number in half for K bytes so, for example, the 1003.61 is realistically about 500K/s.


Trojan.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top