louissunk
louissunk
BBlueBuild
Created by louissunk on 7/30/2024 in #questions
High CPU Usage by systemd-udevd Leading to System Stuttering on Fedora Atomic-based Systems
I am experiencing severe system stuttering on Fedora Atomic-based systems, particularly noticeable when starting multiple Docker containers or performing tasks such as mvn clean install. The stuttering affects audio playback (Spotify, voice calls) and mouse movement. System Details: ryzen 7950x3d+64gb+amd 7900GRE+2tb nvme drive Previous Setup (No Issues): Fedora i3wm Spin - Used for over a year without encountering any problems. Problematic Setups: - ublue-os Aurora: Encountered the issue after switching from i3wm to this Atomic-based setup. Unable to resolve, reverted to previous setup. - Custom Image (based on wayblue sway image): Recently installed on the same machine, replicated the issue observed in Aurora. The same custom image works fine on a different machine the previous week. This issue manifests as system.slice/systemd-udevd/udev consuming an excessively high amount of CPU, up to 2000%. (only seen with systemd-cgtop, not with top,htop,btop, mission control) when monitoring udevadm monitor I do see
KERNEL[20546.524311] remove /devices/virtual/net/veth15367bb/queues/rx-0 (queues)
KERNEL[20546.524320] remove /devices/virtual/net/veth15367bb/queues/tx-0 (queues)
KERNEL[20546.524360] remove /devices/virtual/net/veth15367bb (net)
UDEV [20546.527429] add /devices/virtual/net/veth6686c49 (net)
UDEV [20546.557393] remove /devices/virtual/net/veth6686c49/queues/rx-0 (queues)
UDEV [20546.558055] remove /devices/virtual/net/veth6686c49/queues/tx-0 (queues)
UDEV [20546.596101] remove /devices/virtual/net/veth15367bb/queues/tx-0 (queues)
UDEV [20546.596834] remove /devices/virtual/net/veth6686c49 (net)
UDEV [20546.611493] remove /devices/virtual/net/veth15367bb (net)
KERNEL[20546.524311] remove /devices/virtual/net/veth15367bb/queues/rx-0 (queues)
KERNEL[20546.524320] remove /devices/virtual/net/veth15367bb/queues/tx-0 (queues)
KERNEL[20546.524360] remove /devices/virtual/net/veth15367bb (net)
UDEV [20546.527429] add /devices/virtual/net/veth6686c49 (net)
UDEV [20546.557393] remove /devices/virtual/net/veth6686c49/queues/rx-0 (queues)
UDEV [20546.558055] remove /devices/virtual/net/veth6686c49/queues/tx-0 (queues)
UDEV [20546.596101] remove /devices/virtual/net/veth15367bb/queues/tx-0 (queues)
UDEV [20546.596834] remove /devices/virtual/net/veth6686c49 (net)
UDEV [20546.611493] remove /devices/virtual/net/veth15367bb (net)
I do not know what this means, Only happens under load.... I do not know how to solve thisand how to find the cause. Are there any known issues or bugs with systemd-udevd on Fedora Atomic-based systems? Suggestions for further diagnostics ? Thanks
51 replies