[SOLVED] Udevd hogging cpu on startup. 07 September 2021, 01:15:00 On startup udevd puts up a lot of load on cpu. The usage is 60-70% on both cores(while idle they barely cross 1%). The core temps on laptops reach 80-90 celsius on my laptop(idle temps are 50-60 celcius). I can also hear the fan spinning, when idly I barely hear it at all. I usually just kill udevd after jumping into X to solve this issue. This has been the case from the beginning when I started using Artix in 2019, I just never bothered to do anything about it. Does anyone know what's going on? Last Edit: 10 September 2021, 22:09:03 by nous
Re: Udevd hogging cpu on startup. Reply #1 – 07 September 2021, 01:26:28 Also I have to restart udevd, every time I want to plugin a usb device
Re: Udevd hogging cpu on startup. Reply #2 – 07 September 2021, 03:38:56 Quote from: sarmin – on 07 September 2021, 01:26:28Also I have to restart udevd, every time I want to plugin a usb deviceIt's expected. Udevd is the program responsible for listening for device plugging and unplugging events and rebroadcasting them to the rest of the programs. Without udevd, programs have no way of knowing when devices are added or removed.My guess is some malfunctioning portion of your computer is overloading udevd with "plug-unplug" events. With udevd running, check the output of the command udevadm monitor.
Re: Udevd hogging cpu on startup. Reply #3 – 07 September 2021, 14:37:46 Udevd is supposed to kill all the extra processes/worker threads it spawns after a while at least.
Re: Udevd hogging cpu on startup. Reply #4 – 07 September 2021, 17:36:58 Quote from: capezotte – on 07 September 2021, 03:38:56It's expected. Udevd is the program responsible for listening for device plugging and unplugging events and rebroadcasting them to the rest of the programs. Without udevd, programs have no way of knowing when devices are added or removed.My guess is some malfunctioning portion of your computer is overloading udevd with "plug-unplug" events. With udevd running, check the output of the command udevadm monitor.That is correct. I ran udevadm monitor and the source of udev's overloading turned out to be a udev rule(to set brightness on boot) that I created a long while ago. .Removed the rule and stuff works fine.Thanks for the help mate!!
Re: Udevd hogging cpu on startup. Reply #5 – 07 September 2021, 18:30:26 Quote from: sarmin – on 07 September 2021, 17:36:58a udev rule(to set brightness on bootThere are packages called backlight-<your init system> in Artix repos, just install and activate this service on startup, it will set the brightness level you configured. 1 Likes