A Bash daemon to speed-up processes using cgroups.
Fetching latest commit…
Cannot retrieve the latest commit at this time
cspeed 0.3 IMPORTANT: If you are upgrading from version 0.1, remove these lines from /etc/bash.bashrc: if [ "$PS1" ] ; then mkdir -p -m 0700 /dev/cgroup/cpu/user/$$ > /dev/null 2>&1 echo $$ > /dev/cgroup/cpu/user/$$/tasks echo "1" > /dev/cgroup/cpu/user/$$/notify_on_release fi ALSO IMPORTANT: This is absolutely pointless to run on anything above kernel 2.6.38, as it adds the same feature that this daemon provides. AUTHORS Ryan Peters <sloshy45 [--at--] sbcglobal [--dot--] net> Special thanks to: WebUpd8 for reporting on how to increase performance using cgroups. 'hbekel' at bbs.archlinux.org for helping me improve this 'Morris' in an email for suggestions that improved the script DESCRIPTION cspeed is a bash script that modifies system-wide cgroup process grouping. By doing this, processes launched from a terminal (TTY) handle responsiveness better when your CPU is maxed-out. DEPENDENCIES 0- Linux >2.4 1- Bash INSTALL 0- Make sure that "cspeed" and "cgroup_clean" are executable (chmod +x) 1- Copy "cspeed" to /etc/rc.d/. 2- Copy "cgroup_clean" to /usr/sbin/ INSTRUCTIONS After installing, if you use Arch Linux, add "cspeed" to your daemons array in /etc/rc.conf. Then, add the following line per-user in /home/user/.bashrc or system-wide at /etc/bash.bashrc: /bin/bash /etc/bash.cgroups COPYING cspeed is distributed under the GPL Version 3 or any higher version.