hello,
see subject.
there are these two bugreports / RFEs which did not get any attention for a long time now
1. RFE: ZFS ARC size not taken into account by pvestatd or ksmtuned
https://bugzilla.proxmox.com/show_bug.cgi?id=3859
2. ksmtuned using vsz instead of rss
https://bugzilla.proxmox.com/show_bug.cgi?id=2635
this both leads to wrong calculation of occupied/free ram ressources and may also lead to constantly running ksm task.
on my system , ksm is constantly hogging cpu, though i have 28gb of ram free (9gb free, 19gb in ZFS ARC)
even if i set KSM_THRES_COEF=1 , ksm is constantly running and burning cpu - for nothing
# tail -f /var/log/syslog|grep ksmtu
Feb 27 17:32:09 pve-bigiron ksmtuned[2299228]: Tue 27 Feb 2024 05:32:09 PM CET: total 131788880
Feb 27 17:32:09 pve-bigiron ksmtuned[2299228]: Tue 27 Feb 2024 05:32:09 PM CET: sleep 12
Feb 27 17:32:09 pve-bigiron ksmtuned[2299228]: Tue 27 Feb 2024 05:32:09 PM CET: thres 1317888
Feb 27 17:32:09 pve-bigiron ksmtuned[2299234]: Tue 27 Feb 2024 05:32:09 PM CET: committed 142397948 free 9309156
Feb 27 17:32:09 pve-bigiron ksmtuned[2299234]: Tue 27 Feb 2024 05:32:09 PM CET: 143715836 > 131788880, start ksm
Feb 27 17:32:09 pve-bigiron ksmtuned[2299234]: Tue 27 Feb 2024 05:32:09 PM CET: 9309156 > 1317888, decay
Feb 27 17:32:09 pve-bigiron ksmtuned[2299234]: Tue 27 Feb 2024 05:32:09 PM CET: KSMCTL start 64 12
Feb 27 17:32:19 pve-bigiron ksmtuned[2299234]: Tue 27 Feb 2024 05:32:19 PM CET: committed 142553672 free 9297556
Feb 27 17:32:19 pve-bigiron ksmtuned[2299234]: Tue 27 Feb 2024 05:32:19 PM CET: 143871560 > 131788880, start ksm
Feb 27 17:32:19 pve-bigiron ksmtuned[2299234]: Tue 27 Feb 2024 05:32:19 PM CET: 9297556 > 1317888, decay
Feb 27 17:32:19 pve-bigiron ksmtuned[2299234]: Tue 27 Feb 2024 05:32:19 PM CET: KSMCTL start 64 12
Feb 27 17:32:29 pve-bigiron ksmtuned[2299234]: Tue 27 Feb 2024 05:32:29 PM CET: committed 142471712 free 9290528
Feb 27 17:32:29 pve-bigiron ksmtuned[2299234]: Tue 27 Feb 2024 05:32:29 PM CET: 143789600 > 131788880, start ksm
Feb 27 17:32:29 pve-bigiron ksmtuned[2299234]: Tue 27 Feb 2024 05:32:29 PM CET: 9290528 > 1317888, decay
Feb 27 17:32:29 pve-bigiron ksmtuned[2299234]: Tue 27 Feb 2024 05:32:29 PM CET: KSMCTL start 64 12
Feb 27 17:32:39 pve-bigiron ksmtuned[2299234]: Tue 27 Feb 2024 05:32:39 PM CET: committed 142471712 free 9280792
Feb 27 17:32:39 pve-bigiron ksmtuned[2299234]: Tue 27 Feb 2024 05:32:39 PM CET: 143789600 > 131788880, start ksm
Feb 27 17:32:39 pve-bigiron ksmtuned[2299234]: Tue 27 Feb 2024 05:32:39 PM CET: 9280792 > 1317888, decay
Feb 27 17:32:39 pve-bigiron ksmtuned[2299234]: Tue 27 Feb 2024 05:32:39 PM CET: KSMCTL start 64 12
i know how i can get rid of this - but what about all the other installations out there who are needlessly wasting cpu and burning energy for nothing ?
see subject.
there are these two bugreports / RFEs which did not get any attention for a long time now
1. RFE: ZFS ARC size not taken into account by pvestatd or ksmtuned
https://bugzilla.proxmox.com/show_bug.cgi?id=3859
2. ksmtuned using vsz instead of rss
https://bugzilla.proxmox.com/show_bug.cgi?id=2635
this both leads to wrong calculation of occupied/free ram ressources and may also lead to constantly running ksm task.
on my system , ksm is constantly hogging cpu, though i have 28gb of ram free (9gb free, 19gb in ZFS ARC)
even if i set KSM_THRES_COEF=1 , ksm is constantly running and burning cpu - for nothing
# tail -f /var/log/syslog|grep ksmtu
Feb 27 17:32:09 pve-bigiron ksmtuned[2299228]: Tue 27 Feb 2024 05:32:09 PM CET: total 131788880
Feb 27 17:32:09 pve-bigiron ksmtuned[2299228]: Tue 27 Feb 2024 05:32:09 PM CET: sleep 12
Feb 27 17:32:09 pve-bigiron ksmtuned[2299228]: Tue 27 Feb 2024 05:32:09 PM CET: thres 1317888
Feb 27 17:32:09 pve-bigiron ksmtuned[2299234]: Tue 27 Feb 2024 05:32:09 PM CET: committed 142397948 free 9309156
Feb 27 17:32:09 pve-bigiron ksmtuned[2299234]: Tue 27 Feb 2024 05:32:09 PM CET: 143715836 > 131788880, start ksm
Feb 27 17:32:09 pve-bigiron ksmtuned[2299234]: Tue 27 Feb 2024 05:32:09 PM CET: 9309156 > 1317888, decay
Feb 27 17:32:09 pve-bigiron ksmtuned[2299234]: Tue 27 Feb 2024 05:32:09 PM CET: KSMCTL start 64 12
Feb 27 17:32:19 pve-bigiron ksmtuned[2299234]: Tue 27 Feb 2024 05:32:19 PM CET: committed 142553672 free 9297556
Feb 27 17:32:19 pve-bigiron ksmtuned[2299234]: Tue 27 Feb 2024 05:32:19 PM CET: 143871560 > 131788880, start ksm
Feb 27 17:32:19 pve-bigiron ksmtuned[2299234]: Tue 27 Feb 2024 05:32:19 PM CET: 9297556 > 1317888, decay
Feb 27 17:32:19 pve-bigiron ksmtuned[2299234]: Tue 27 Feb 2024 05:32:19 PM CET: KSMCTL start 64 12
Feb 27 17:32:29 pve-bigiron ksmtuned[2299234]: Tue 27 Feb 2024 05:32:29 PM CET: committed 142471712 free 9290528
Feb 27 17:32:29 pve-bigiron ksmtuned[2299234]: Tue 27 Feb 2024 05:32:29 PM CET: 143789600 > 131788880, start ksm
Feb 27 17:32:29 pve-bigiron ksmtuned[2299234]: Tue 27 Feb 2024 05:32:29 PM CET: 9290528 > 1317888, decay
Feb 27 17:32:29 pve-bigiron ksmtuned[2299234]: Tue 27 Feb 2024 05:32:29 PM CET: KSMCTL start 64 12
Feb 27 17:32:39 pve-bigiron ksmtuned[2299234]: Tue 27 Feb 2024 05:32:39 PM CET: committed 142471712 free 9280792
Feb 27 17:32:39 pve-bigiron ksmtuned[2299234]: Tue 27 Feb 2024 05:32:39 PM CET: 143789600 > 131788880, start ksm
Feb 27 17:32:39 pve-bigiron ksmtuned[2299234]: Tue 27 Feb 2024 05:32:39 PM CET: 9280792 > 1317888, decay
Feb 27 17:32:39 pve-bigiron ksmtuned[2299234]: Tue 27 Feb 2024 05:32:39 PM CET: KSMCTL start 64 12
i know how i can get rid of this - but what about all the other installations out there who are needlessly wasting cpu and burning energy for nothing ?
Last edited: