Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A Bash daemon to speed-up processes using cgroups.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 README
Octocat-spinner-32 bash.cgroups
Octocat-spinner-32 cgroup_clean
Octocat-spinner-32 cspeed
README
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.
Something went wrong with that request. Please try again.