BMX Bicycle freestyle
BMX Bicycle freestyle

Wednesday, January 14, 2009

Ubuntu: How to reduce Memory usage

How to optimize Ubuntu by reducing memory usage?

Step 1: Get rid of memory consuming processes:

Some processes that may be killed to reduce memory usage:

  • killall gnome-power-manager
  • sudo killall cupsd
  • killall top
  • killall cron
  • killall gnome-screensaver
  • killall gnome-system-monitor


Step 2: Tweak. Use simplest wallpaper, theme, window manager and lightweight programs.. In most cases the fastest theme or icon has the smallest size!


Step 3:

  • Disable the logging background services.
  • Disable the update manager.
  • Disable at service.
  • Disable audio settings.
  • If you don't want to login via a nice graphic screen, disable the "Graphical login manager".
  • Disable cupsys if you don't intend to print.
  • Disable hard disk tuning (it's an SSD!)
  • Reduce tty terminals to 2 or something.
  • Prevent unused modules from loading by blacklisting them.
  • Disable any fancy themes (esp using compiz).
  • Use only minimal buttons/launchers on one panel only (remove second panel if you have one).
  • Battery monitor takes a few cpu cycles (I've often seen it roaming the top 5 on a '$ top' output.)



Step 4:
Optimize Web-browser
  • Useful plugins for Firefox like Flashblock and Adblock-plus (can block selected images) to make websites lighter
  • Use lightweight web-browser like Midori

 Step 5: Compile applications from source (advanced)

0 comments:

Post a Comment