Re: Setting dirty ratio

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi

On Sun, May 25, 2014 at 11:45 PM, Amal Roy <amal@xxxxxxxxxxxxx> 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.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux