[lustre-discuss] Cleanup of RPC-related Statistics at "import" Parameter on OSC Device

Andreas Dilger adilger at whamcloud.com
Wed Apr 13 09:16:08 PDT 2022


On Apr 12, 2022, at 02:14, Hasan Rashid via lustre-discuss <lustre-discuss at lists.lustre.org<mailto:lustre-discuss at lists.lustre.org>> wrote:

Hello Everyone,

Is it possible to reset the rpc-related statistics (i.e. avg_waittime, read_data_averages, write_data_averages etc.) in osc.*.import without remounting the client?

If yes, what is the command to do so? If not, then if I periodically reset the counters by modifying the Lustre source code, what kind of impact will it have for the client or the file system itself?

Yes, you can clear the client stats like "lctl set_param osc.*.stats=0".

Cheers, Andreas
--
Andreas Dilger
Lustre Principal Architect
Whamcloud







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20220413/ebbc09c5/attachment.html>


More information about the lustre-discuss mailing list