(M)  s i s t e m a   o p e r a c i o n a l   m a g n u x   l i n u x ~/ · documentação · suporte · sobre

  Next Previous Contents

13. Performance Tuning of CVS server

For optimum performance CVS server must be running on a stand alone Linux/Unix box.

To get more bang for a given CPU processing power, do the following:-

  • Recompile linux kernel to make it small and lean. Remove items which are not used. See kernel howto at http://www.linuxdoc.org/HOWTO/Kernel-HOWTO.html

  • Turn off unneccessary unix processes - on linux/unix systems run chkconfig
    bash$ su - root
    bash# man chkconfig
    bash# chkconfig --help
    bash# chkconfig --list | grep on | less
    From the above list, turn off the processes you do not want to start automatically -
    bash# chkconfig --level 0123456 <service name> off
    Next time when the machine is booted these services will not be started.
    Now, shutdown the services manually which you just turning off.
    bash# cd /etc/rc.d/init.d
    bash# ./<service name> stop
    

  • Do not run any other application processes which are unnecessary.

  • Do not leave X-Window running unattended. Because X-window processes consume memory, CPU load and can be a serious security hole from outside attacks. The X-window managers generally used are KDE, GNOME, CDE, XDM and others. You must exit the X-window immediately after using and most of the time you should see command line console login prompt on the CVS server machine.

Next Previous Contents