You are not logged in.

#1 2021-07-11 09:41:49

cstn
Member
Registered: 2019-12-24
Posts: 37

[SOLVED] Cannot change/modify vm.dirty_writeback_centisecs value

The VirtualMemory parameter, dirty_writeback_centisecs just cannot be changed in my system.

the default value is 1500 before I started to configure it.

I followed this wiki
https://wiki.archlinux.org/title/Power_ … eback_Time
to create /etc/sysctl.d/dirty.conf

vm.dirty_writeback_centisecs = 6000

but after reboot,

cat /proc/sys/vm/dirty_writeback_centisecs

it's still 1500.

also tried /etc/sysctl.conf to write the value, but still not work.

I found this post the same issue
https://bbs.archlinux.org/viewtopic.php … 06#p455485

Last edited by cstn (2021-07-11 15:49:00)

Offline

#2 2021-07-11 14:11:37

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,989

Re: [SOLVED] Cannot change/modify vm.dirty_writeback_centisecs value

sudo sysctl vm.dirty_expire_centisecs=6000

I could imagine that some power management tool (TLP etc) configures this (overriding your config)?

Edit: notably since iirc the default is 3000, not 1500

Last edited by seth (2021-07-11 14:12:26)

Offline

#3 2021-07-11 15:48:03

cstn
Member
Registered: 2019-12-24
Posts: 37

Re: [SOLVED] Cannot change/modify vm.dirty_writeback_centisecs value

seth wrote:
sudo sysctl vm.dirty_expire_centisecs=6000

I could imagine that some power management tool (TLP etc) configures this (overriding your config)?

Edit: notably since iirc the default is 3000, not 1500

I have not installed TLP, but you remind me something like it, then I found it's powertop.

I used
powertop --auto-tune
as a systemd service.

removed the powertop.service from systemd, it's all done

thanks.

Offline

Board footer

Powered by FluxBB