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

Данный сниппет повышает отзывчивость системы, особенно при нагрузке на дисковую подсистему. Например при копировании данных с/на 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

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