Реальное повышение отзывчивости системы

Данный сниппет повышает отзывчивость системы, особенно при нагрузке на дисковую подсистему. Например при копировании данных с/на USB накопитель, остальные программы больше не тормозят.

Добавляем в ~/.bashrc

if [ "$PS1" ] ; then  
    mkdir -m 0700 /sys/fs/cgroup/cpu/user/$$
    echo $$ > /sys/fs/cgroup/cpu/user/$$/tasks
fi

в rc.local или настраиваем систему подобно

mount -t cgroup cgroup /sys/fs/cgroup/cpu -o cpu
mkdir -m 0777 /sys/fs/cgroup/cpu/user

User tags

bscan vrrp debootstrap iops source newgrp backtrace LVM squeeze etch iSCSI sg MODx alien php Areca NFS tool exim nginx cpanm equalizer lxc sftp rsync numa cpu usage kernel ha SuperMicro pvmove PXE jackd firefox dhcp core dump cfq exim4 ip APU flash mkfs cpu ardour bash freedos storage gdb tun debian AMD puppet opreport docker-compose youtube apt perl raid5 hotplug ssh apache DRBD rtl8723be shellshock git routing sysfs OpenSSL StorMan HDFS bug ansible X forwarding PTR sysrq CentOS bridge sysresccd tin cluster tftp SSD xfs /etc/network/interfaces netfilter Adaptec backup lenny iowait LSI mount tar sublime radeon graylog2 xargs profiling sysctl bonding proxy oprofile dovecot ddos htop chromium centos 7 deb chroot fail2ban wget swap ipmitool iptables MegaRAID munin in-addr.arpa .htaccess rtsp pacemaker alsa pulseaudio RT taskset fio hdparm shorewall ubuntu idmapd pam mdadm vrrpd KVM regex top SpamAssassin groups arch cgroups OpenStack raid qemu Salt gpg performance slab ulimit route parallel cache zRam noop grub perlbrew sysctl.conf build glusterfs SYN rkhunter arp vlan lts drupal corosync keyboard initrd nfs4 lubuntu CPAN dstat vtysh bind asoundrc security erase encrypt vim dhclient xhost replication 3Ware Swift leap second usb conntrack soa bacula wordpress elliptics tiger mariadb xen gtk rpm language gre qcow2 ipmi boot tzdata scsi mysql opcontrol virsh dns dpkg quagga su iostat glxinfo fido7 openvpn lstat search arping docker virtualbox video nvidia find virt-install ps java HTTPS limit_conn