2024-05-16 21:07:28

by Zdenek Kabelac

[permalink] [raw]
Subject: nfsrahead possible optimization for udev rule

Hi


I'm looking at some performance graphs and  udev rule 99-nfs.rules seems to be
taking some unnecessary CPU time when the system is creating and removing  a
lot of devices in the system. It looks like  'nfsrahead'  is  always 
'parsing'  something  in mnt_table_parse_line    -  while technically  all
the  entries in nfs.conf  are simply commented out, so there is nothing
'nfsrahead' should be doing  and it should just quickly exit.

Also is it really worth this done through udev system ? - when possibly thing
could be solved via udev monitoring in case something really is needed to
change these setting for BDI (although this change is substantially harder to
develop).


Regards


Zdenek