Thanks!
]]>WonderWoofy wrote:@OP, can you set kernel.watchdog=0 as well and then test?
it doesn't change any. am confused now about the hardware and software watchdog. not sure which one i want to disable. lol.
haha sorry you dont have the software watchdog be default unless you installed it as far as I know, you are dealing with the hardware watchdog I think.
You can see if the software watchdog is installed with
pacman -Q watchdog
It probably isnt installed
]]>@OP, can you set kernel.watchdog=0 as well and then test?
it doesn't change any. am confused now about the hardware and software watchdog. not sure which one i want to disable. lol.
my aim was: less processes running, less power consumption, turn off the reboot functionality when cpu hangs.
I see, so the HW watchdog is enabled by default on arch then from what I can tell?
Typically, you can just set /proc/sys/kernel/watchdog to zero, and it should be done with. I'm not sure why this is not working for the OP.
@OP, can you set kernel.watchdog=0 as well and then test?
]]>@jrussell, the HW watchdog consumes power, and is very rarely used on desktop/laptops. It is much more common to find amongst embedded machines and servers. So disabling it for your laptop is particularly sane because it is reducing power consumption from a function you probably aren't using anyway.
I see, so the HW watchdog is enabled by default on arch then from what I can tell?
]]>jason-laptop% dmesg | grep watch
[ 0.103290] NMI watchdog: enabled on all CPUs, permanently consumes one hw-PMU counter
I think you read somewhere that you don't need the software watchdog https://www.archlinux.org/packages/extr … /watchdog/ as apposed to the watchdog you are trying to disable. I also read a thread discussing software watchdog on arch, cant find it though.
]]># Turn OFF NMI watchdog
kernel.nmi_watchdog = 0
to your /etc/sysctl.conf and reboot your computer.
]]>$ dmesg | grep watchdog
[ 0.110010] NMI watchdog: enabled on all CPUs, permanently consumes one hw-PMU counter.
and
$ top -bn1 | grep watchdog
12 root 20 0 0 0 0 R 0.0 0.0 0:00.00 watchdog/0
13 root 20 0 0 0 0 R 0.0 0.0 0:00.00 watchdog/1
i created a file:
$ cat /etc/sysctl.d/disable_watchdog.conf
kernel.nmi_watchdog = 0
dmesg still shows the above output. although when i put "nmi_watchdog = 0" in the kernel line the dmesg output is gone, but still there are the two processes shown by top.
a second file blacklist two modules which i thought were responsible for starting watchdog. they dont get loaded anymore but still watchdog runs
$ cat /etc/modprobe.d/watchdog.conf
blacklist iTCO_wdt
blacklist iTCO_vendor_support
is there anything else i could try?
]]>