<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
On May 4, 2021, at 12:41, Bill Anderson via lustre-discuss <<a href="mailto:lustre-discuss@lists.lustre.org" class="">lustre-discuss@lists.lustre.org</a>> wrote:<br class="">
<div>
<blockquote type="cite" class="">
<div class="">
<div dir="ltr" class=""><br class="">
<div class="">   Hi All,</div>
<div class=""><br class="">
</div>
<div class="">   Can you recommend good ways to identify Lustre client hosts that might be causing stability or performance problems for the entire filesystem?</div>
<div class=""><br class="">
</div>
<div class="">   For example, if a user is inadvertently doing something that's creating an RPC storm, what are good ways to identify the client host that has triggered the storm?</div>
</div>
</div>
</blockquote>
<br class="">
</div>
<div>If you have a JobID enabled on the clients (which can be done even if they are not batch scheduled, like "procname_uid" for login nodes), then you can watch "lctl get_param *.*.job_stats | grep -v ' 0, unit:'" (to filter out unused stats) to see if there
 are *jobs* which put a high RPC load on that server.</div>
<div><br class="">
</div>
<div>If you are looking for a particular *client* you can look at "lctl get_param *.*.exports.*.stats" to see if any are driving a lot of RPCs, possibly after clearing those stats with "lctl set_param *.*.exports.*.stats=0".</div>
<div><br class="">
</div>
<div>If you feel inclined, it would be quite useful to add a mode to the "llstat" utility to be able to read and aggregate stats from e.g. all the "exports.*.stats" files and show the top users by NID and RPC count.  I think several people have made scripts
 to this effect (you might even find some on Github), but nobody has ever submitted it to be included into the repo for everyone to use.  There are more elaborate monitoring systems (e.g. IML, lltop, Graphana that need agents installed, central monitoring,
 etc.), but having a simple "check load on the local node like 'top'" tool would still be helpful.</div>
<br class="">
<div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div>Cheers, Andreas</div>
<div>--</div>
<div>Andreas Dilger</div>
<div>Principal Lustre Architect</div>
<div>Whamcloud</div>
<div><br class="">
</div>
<div><br class="">
</div>
<div><br class="">
</div>
</div>
</div>
</div>
</div>
</div>
<br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br class="">
</body>
</html>