On my new laptop with intel core i7-1255U and archlinux when thermald 2.5.2 is launched systemd-udevd has 40 child processes udev-worker with overall memory size 100MB. If turn on debug log in systemd-udevd I see many thermal events
...Jun 21 22:18:34 sinx (udev-worker)[2743]: thermal_zone1: Processing device (SEQNUM=5279, ACTION=change) Jun 21 22:18:34 sinx (udev-worker)[2743]: thermal_zone1: sd-device: Created db file '/run/udev/data/+thermal:thermal_zone1' for '/devices/virtual/thermal/thermal_zone1' Jun 21 22:18:34 sinx (udev-worker)[2743]: thermal_zone1: Device processed (SEQNUM=5279, ACTION=change) Jun 21 22:18:34 sinx (udev-worker)[2743]: thermal_zone1: sd-device-monitor(worker): Passed 238 byte to netlink monitor. Jun 21 22:18:34 sinx (udev-worker)[2743]: thermal_zone1: Processing device (SEQNUM=5280, ACTION=change) Jun 21 22:18:34 sinx (udev-worker)[2743]: thermal_zone1: sd-device: Created db file '/run/udev/data/+thermal:thermal_zone1' for '/devices/virtual/thermal/thermal_zone1' Jun 21 22:18:34 sinx (udev-worker)[2743]: thermal_zone1: Device processed (SEQNUM=5280, ACTION=change) Jun 21 22:18:34 sinx (udev-worker)[2743]: thermal_zone1: sd-device-monitor(worker): Passed 238 byte to netlink monitor. Jun 21 22:18:34 sinx (udev-worker)[2743]: thermal_zone1: Processing device (SEQNUM=5281, ACTION=change) Jun 21 22:18:34 sinx (udev-worker)[2743]: thermal_zone1: sd-device: Created db file '/run/udev/data/+thermal:thermal_zone1' for '/devices/virtual/thermal/thermal_zone1' Jun 21 22:18:34 sinx (udev-worker)[2743]: thermal_zone1: Device processed (SEQNUM=5281, ACTION=change) Jun 21 22:18:34 sinx (udev-worker)[2743]: thermal_zone1: sd-device-monitor(worker): Passed 238 byte to netlink monitor...
There is no this problem on old intel cpus and same system.
I think that so many udev-workers and memory usage by thermald on new cpu it is bug.
Udev-worker's count dependents of cpu cores number so with more performance cpus number of udev-workers maybe even more
On my new laptop with intel core i7-1255U and archlinux when thermald 2.5.2 is launched systemd-udevd has 40 child processes udev-worker with overall memory size 100MB. If turn on debug log in systemd-udevd I see many thermal events
...Jun 21 22:18:34 sinx (udev-worker)[2743]: thermal_zone1: Processing device (SEQNUM=5279, ACTION=change) Jun 21 22:18:34 sinx (udev-worker)[2743]: thermal_zone1: sd-device: Created db file '/run/udev/data/+thermal:thermal_zone1' for '/devices/virtual/thermal/thermal_zone1' Jun 21 22:18:34 sinx (udev-worker)[2743]: thermal_zone1: Device processed (SEQNUM=5279, ACTION=change) Jun 21 22:18:34 sinx (udev-worker)[2743]: thermal_zone1: sd-device-monitor(worker): Passed 238 byte to netlink monitor. Jun 21 22:18:34 sinx (udev-worker)[2743]: thermal_zone1: Processing device (SEQNUM=5280, ACTION=change) Jun 21 22:18:34 sinx (udev-worker)[2743]: thermal_zone1: sd-device: Created db file '/run/udev/data/+thermal:thermal_zone1' for '/devices/virtual/thermal/thermal_zone1' Jun 21 22:18:34 sinx (udev-worker)[2743]: thermal_zone1: Device processed (SEQNUM=5280, ACTION=change) Jun 21 22:18:34 sinx (udev-worker)[2743]: thermal_zone1: sd-device-monitor(worker): Passed 238 byte to netlink monitor. Jun 21 22:18:34 sinx (udev-worker)[2743]: thermal_zone1: Processing device (SEQNUM=5281, ACTION=change) Jun 21 22:18:34 sinx (udev-worker)[2743]: thermal_zone1: sd-device: Created db file '/run/udev/data/+thermal:thermal_zone1' for '/devices/virtual/thermal/thermal_zone1' Jun 21 22:18:34 sinx (udev-worker)[2743]: thermal_zone1: Device processed (SEQNUM=5281, ACTION=change) Jun 21 22:18:34 sinx (udev-worker)[2743]: thermal_zone1: sd-device-monitor(worker): Passed 238 byte to netlink monitor...There is no this problem on old intel cpus and same system.
I think that so many udev-workers and memory usage by thermald on new cpu it is bug.
Udev-worker's count dependents of cpu cores number so with more performance cpus number of udev-workers maybe even more