3
19
2010
11

HOWTO run Ubuntu on low RAM computers

HOWTO run Ubuntu on low RAM computers
===========================

Ubuntu requires 256MB RAM to perform happily out of the box. It will run with 128MB of RAM, but with continuous swapping of memory to disk. If you have less than 256MB of RAM you can significantly improve Ubuntu performance by doing the following, in order of importance:

1) use a different window manager. Metacity (the default) is very memory intensive. Try icewm or fluxbox instead. To do that first ensure you have "universe" sources enabled and then "apt-get install fluxbox icewm". When you next login at the login screen click the Session button and choose either icewm or fluxbox as your default window manager.

2) remove unnecessary services. By default Ubuntu loads quite a number of services, assuming you will be using it like a server. I would hesitate to guess that 90% of Ubuntu users would rarely, if ever use such services. They all consume RAM. The easiest way to do this is to install "Boot-up Manager": "apt-get install bum". The run "bum" and unclick the following services: rsync, atd, apmd, acpi-support, dbus-1, mdadm, fetchmail, postfix - but first read what these services do and decide if you really need them. They can be rebooted if removing them break anything on your system. Others listed can also be removed in some circumstances. You will need to do a bit of research beforehand.

3) use low-RAM-requirement applications. Here are some suggestions:
browser: dillo or opera or lynx
email: sylpheed or mutt or pine
word processing: abiword
newsgroups: pan or slrn
file manager: mc
editor: vim
terminal: aterm or rxvt
pdf reader: xpdf
programming IDE: motor

4) remove gdm (the Gnome display manager) using bum. This consumes significant RAM. Before doing this choose the window manager you are happy with, make it your default and then next time you boot up you will login in a text mode terminal and then type "startx".

5) remove unnecessary virtual terminals. By default Ubuntu provides you with 6 virtual terminals. These are the login terminals you can get to by typing Ctrl-Alt-F2, Ctrl-Alt-F3 etc. Normally you only need one spare terminal in case of emergencies. To disable the others and free up even more RAM "gedit /etc/inittab" and comment out the lines below as shown:

#3:23:respawn:/sbin/getty 38400 tty3
#4:23:respawn:/sbin/getty 38400 tty4
#5:23:respawn:/sbin/getty 38400 tty5
#6:23:respawn:/sbin/getty 38400 tty6

6) be continuously aware of all running processes and the RAM that your applications are consuming. You can see the processes with "ps aux". Check out the RSS column which is the total memory consumed by a process. You can also check your memory situation with "free". The important value is the second row number under the free column. This is the total available free memory including memory which has cached applications.

7) free up video RAM (especially for those using onboard video chips which share memory). Edit the etc/X11/xorg.conf file and comment out the following lines:
# Load "record"
# Load "dbe"
# Load "dri"
# Load "glx"
# Load "xtrap"
# Load "type1"

The most important module you're not loading is dri which is for graphics acceleration. You will need to test this; it might not work with all graphics cards and will break graphics intense apps.

8) if you have 128MB of RAM or less Ubuntu is the wrong Linux distro for you (IMHO). I can highly recommend VectorLinux (http://www.vectorlinux.com). This is an incredibly fast Linux distro which can run with 64MB of RAM - and using the tweaks above can be made to run with just 32MB of RAM!

Category: Default | Tags: | Read Count: 930
Piesse said:
Mon, 01 Oct 2018 13:39:19 +0800

Computer systems with low RAM features often create problems for their users while installing application to them. Writers of online service charge cheaply to rushmyessays that gives me perfect results. Thanks for this share.

AAA said:
Sat, 04 Jun 2022 22:27:19 +0800

I really like reading through and I think this website got some genuinely utilitarian stuff on it! . Smallrig

AAA said:
Mon, 13 Jun 2022 22:09:02 +0800

Aw, this was a very nice post. In thought I want to put in writing like this moreover ?taking time and precise effort to make an excellent article?however what can I say?I procrastinate alot and on no account seem to get one thing done. iphone回收

meidir said:
Mon, 03 Oct 2022 19:33:33 +0800

Over and over again I like to think about this problems. As a matter of fact it wasn’t even a month ago that I thought about this very thing. To be honest, what is the answer though? iPhone 14

meidir said:
Thu, 27 Oct 2022 00:37:47 +0800

I really prize your training , Great post. Google AdSense Approval

meidir said:
Sat, 05 Nov 2022 00:41:34 +0800

you can always count on search engine marketing if you want to promote products online. 바카라사이트

meidir said:
Sat, 19 Nov 2022 04:10:12 +0800

I have to show some thanks to the writer for bailing me out of such a difficulty. After looking out through the world-wide-web and finding techniques which were not beneficial, I figured my entire life was over. Existing without the answers to the difficulties you’ve fixed all through the article is a crucial case, as well as the kind that might have badly affected my career if I had not come across your blog post. Your own talents and kindness in maneuvering the whole thing was precious. I’m not sure what I would’ve done if I hadn’t come upon such a point like this. I am able to at this time look forward to my future. Thanks a lot so much for this professional and sensible help. I will not be reluctant to recommend the blog to any person who ought to have recommendations about this area. 온라인바카라

meidir said:
Thu, 26 Jan 2023 23:53:24 +0800 Thank you for another fantastic blog. Where else might one get that sort of knowledge written in such a perfect way? I actually have a presentation that i’m presently acting on, and i are yearning for such info instead. Buy Original MRCS Certificate Without Exam
meidir said:
Wed, 01 Feb 2023 17:10:55 +0800

You created some decent points there. I looked on the internet for that issue and found most individuals is going as well as using your internet site. printed bullet fabric

 

 

 

====================

 

 

After study a handful of the web sites on the website now, and I truly like your strategy for blogging. I bookmarked it to my bookmark site list and will also be checking back soon. Pls consider my website at the same time and figure out what you consider. what is bullet knit fabric

meidir said:
Fri, 03 Feb 2023 23:35:40 +0800

Hey there, You have done a fantastic job. I will definitely digg it and personally suggest to my friends. I’m sure they will be benefited from this web site. crear sitio web

 

 

===================

 

 

I am extremely impressed along with your writing talents as smartly with the structure for your blog. Is this a paid topic or did you modify it yourself? Either way stay up the excellent quality writing, it is rare to peer a nice blog like this one nowadays.. LG UltraGear 27GP950-B

meidir said:
Sun, 05 Feb 2023 23:43:36 +0800

Great blog here! after reading, I felt pleasure software licensing attorney


Login *


loading captcha image...
(type the code from the image)
or Ctrl+Enter

Host by is-Programmer.com | Power by Chito 1.3.3 beta | Theme: Aeros 2.0 by TheBuckmaker.com