Bare metal Test system based on RHEL 8.1
After running for months with "zero cpu"
ksmtuned is suddenly using 100% cpu, 2020-07-10
Note that there are two processes running, and only one of them is using high CPU.
After restart of ksmtuned, the CPU has returned to normal
There were some reports about this back in RHEL 6, but I can't find anything for Jul 2020.
There's a config file '/etc/ksmtuned.conf' where you can enable logging, but this (by default) is all commented out.
I have not tested RHEL 8.2 yet
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 6688 root 20 0 235932 2972 1588 R 99.7 0.0 23507:15 ksmtuned systemctl status ksmtuned.service ● ksmtuned.service - Kernel Samepage Merging (KSM) Tuning Daemon Loaded: loaded (/usr/lib/systemd/system/ksmtuned.service; enabled; vendor preset:> Active: active (running) since Tue 2020-03-24 11:03:38 GMT; 3 months 16 days ago Process: 1832 ExecStart=/usr/sbin/ksmtuned (code=exited, status=0/SUCCESS) Main PID: 1852 (ksmtuned) Tasks: 3 (limit: 26213) Memory: 9.2M CGroup: /system.slice/ksmtuned.service ├─1852 /bin/bash /usr/sbin/ksmtuned └─6688 /bin/bash /usr/sbin/ksmtuned