From 90479a68418692fb7ef9a5bfff3968a447ea04ab Mon Sep 17 00:00:00 2001 From: Yatao Li Date: Fri, 3 Sep 2021 00:26:01 +0800 Subject: [PATCH] add sysctl startup settings --- contrib/thermald/surface_pro_5/50-surface.conf | 2 ++ contrib/thermald/surface_pro_5/README.md | 1 + 2 files changed, 3 insertions(+) create mode 100644 contrib/thermald/surface_pro_5/50-surface.conf diff --git a/contrib/thermald/surface_pro_5/50-surface.conf b/contrib/thermald/surface_pro_5/50-surface.conf new file mode 100644 index 000000000..9279a6216 --- /dev/null +++ b/contrib/thermald/surface_pro_5/50-surface.conf @@ -0,0 +1,2 @@ +kernel.nmi_watchdog=0 +vm.dirty_writeback_centisecs=1500 diff --git a/contrib/thermald/surface_pro_5/README.md b/contrib/thermald/surface_pro_5/README.md index f2259af54..9e09f0589 100644 --- a/contrib/thermald/surface_pro_5/README.md +++ b/contrib/thermald/surface_pro_5/README.md @@ -38,6 +38,7 @@ and cooling devices. - Install `thermal-cpu-cdev-order.xml` to `/etc/thermald/` - Install `thermald.service` to `/lib/systemd/system/` and overwrite the old one. - Maybe install to `/usr/lib/systemd/system/` too. +- Install `50-surface.conf` to `/etc/sysctl.d/` - `systemctl daemon-reload` - `systemctl restart udev` - `systemctl restart thermald`