SPRI 0.5 1) What is SPRI SPRI (System Priority) is a utility designed to que different processes with different priority levels based on 3 class levels of importance (high,med,low). The problem? Linux has priority levels to thread all tasks at, these prio's are ranged from -20 to +19 with 0 as the default for all processes. So this being the fact, with everything operating at prio 0 you got fights between services as to who gets what resources first. Solution? Very simply, que different processes at different priority levels to effectively discipline the system on who gets what resource access first. The average load level of a server can be substantialy decreased by using spri, by as much as 5-20%, of course results may vary. 2) Setup To setup SPRI, simply execute the 'install.sh' script inside the extraced path. This will install spri to /usr/local/spri, and symlink its executable to /usr/local/sbin/spri. As well, there will be a cron.d entry added to /etc/cron.d/spri, set to run it once every 45 minutes. 3) Usage SPRI has very straight forward usage and configuration. First you should edit the preset of class rules provided with SPRI. The files are located at: /usr/local/spri/high /usr/local/spri/med /usr/local/spri/low The priority associated with each level is defined in the conf.spri file. Once all options are to your satisfaction you should run spri to test it. There is two command line arguments for spri -v Verbose output -q Quiet; no output Execute '/usr/local/sbin/spri -v' and observe it's actions. Make any tweaks you see fit to the config file or priority discipline files and then your set to go. 4) License: SPRI is developed and supported on a volunteer basis by Ryan MacDonald [ryan@r-fx.net] SPRI is distributed under the GNU General Public License (GPL) without restrictions on usage or redistribution. The SPRI copyright statement, and GNU GPL, "COPYING.GPL" are included in the top-level directory of the distribution. Credit must be given for derivative works as required under GNU GPL. 5) Support: All inquiries relating to SysBK should be directed to spri@r-fx.net or check the r-fx.net projects homepage at: http://www.r-fx.net/proj.php