Skip to contentSkip to conversation

nfsrahead possible optimization for udev rule

DISCUSSION Zdenek Kabelac 1 participant 1 message May 16, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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