[arch-general] Setting dirty ratio
Anatol Pomozov
anatol.pomozov at gmail.com
Mon May 26 03:27:53 EDT 2014
Hi
On Sun, May 25, 2014 at 11:45 PM, Amal Roy <amal at 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.
More information about the arch-general
mailing list