26 May
2014
26 May
'14
7:27 a.m.
Hi On Sun, May 25, 2014 at 11:45 PM, Amal Roy <amal@cryptolab.net> wrote:
What is the recommended way to set dirty ratio and dirty background ratio on boot?
As usual the answer can be found in wiki https://wiki.archlinux.org/index.php/Sysctl#Virtual_memory
I added those in /etc/sysctl.d/99-sysctl.conf fileand then added a systemd service to fork a process "sysctl --system"
You don't need to create a systemd service, the one already exists http://www.freedesktop.org/software/systemd/man/systemd-sysctl.service.html
on startup and it didn't seem to work. The command "sysctl --system" run as root is successful in setting the custom options set in /etc/sysctl.d/99-sysctl.conf.