<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body dir="auto">
Yes, each RPC will increment these stats counters by one. Traditional "IOPS" are measured with 4KB read or write, but in this case the IO sizes are variable.
<div><br>
</div>
<div>Also, the client may aggregate multiple disjoint writes into a single RPC. This can be seen in the osd-ldiskfs.*.brw_stats as "discontiguous pages" so this might be considered multiple "IOs" in a single RPC. <br>
<br>
<div dir="ltr">Cheers, Andreas</div>
<div dir="ltr"><br>
<blockquote type="cite">On Jan 23, 2023, at 09:31, Passerini Marco <marco.passerini@cscs.ch> wrote:<br>
</blockquote>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>I'd like to monitor the IOPS on the Lustre OSTs. <br>
</p>
<p><br>
</p>
<p>I have stats like this:<br>
</p>
<p><br>
</p>
<p></p>
<div>[root@xxx04 ~]# lctl get_param obdfilter.xxx-OST0000.stats <br>
obdfilter.xxx-OST0000.stats=<br>
snapshot_time 348287.096066602 secs.nsecs<br>
start_time 0.000000000 secs.nsecs<br>
elapsed_time 348287.096066602 secs.nsecs<br>
read_bytes 3075 samples [bytes] 0 1134592 2891776 2568826650624<br>
write_bytes 1312266 samples [bytes] 1 4194304 5424381521966 4303559271585613940<br>
read 3075 samples [usecs] 0 489 31040 3417458<br>
write 1312266 samples [usecs] 1 1630262 6193336309 3686004830368845<br>
setattr 20373 samples [usecs] 1 61 133314 1090612<br>
punch 4600 samples [usecs] 3 65 51155 732959<br>
sync 4 samples [usecs] 443 997 2853 2250847<br>
destroy 30777 samples [usecs] 11 42634 20978596 33571893182<br>
create 993 samples [usecs] 1 29995 534579 1518818913<br>
statfs 135519 samples [usecs] 0 24 610182 4231650<br>
get_info 108 samples [usecs] 1 3092 6218 17971060<br>
set_info 10047 samples [usecs] 1 22 83418 770166<br>
</div>
<p></p>
<div><br>
</div>
<div>From the docs <a href="https://wiki.lustre.org/Lustre_Monitoring_and_Statistics_Guide" class="OWAAutoLink">https://wiki.lustre.org/Lustre_Monitoring_and_Statistics_Guide</a> I see:<br>
<br>
</div>
<div>"""<br>
For read_bytes and write_bytes:<br>
<br>
First number = number of times (samples) the OST has handled a read or write.</div>
<p></p>
<p>"""<br>
</p>
<p><br>
</p>
<p>I guess this can be considered as OST IOPS?<br>
</p>
<p><br>
</p>
<p>Regards,<br>
</p>
<p>Marco Passerini<br>
</p>
</div>
</div>
<span>_______________________________________________</span><br>
<span>lustre-discuss mailing list</span><br>
<span>lustre-discuss@lists.lustre.org</span><br>
<span>http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</span><br>
</div>
</blockquote>
</div>
</body>
</html>