Monday, May 3, 2010

Ubuntu Lucid 10.04

Ubuntu Lucid came out on the 29th, and with it the first "final" release of Lubuntu. Today I'll be comparing three systems memory usage head to head. The first system is Ubuntu and XFCE4, the second system Xubuntu, and the third system Lubuntu. I'll be displaying the results of the "free" command just after boot and logged into the desktop, using only the used memory to determine the desktops memory footprint. The only command executed is the terminal, no other applications prior to the test. All systems use GDM to log into the desktop.

The three systems used in testing are:

UbuntuCli+Xfce4 = Sempron 1500+ with 1G of Ram
Xubuntu = VirtualBox OSE + Guest Additions with 512 Megs of Ram
Lubuntu = VirtualBox OSE + Guest Additions with 512 Megs of Ram

The first two use GDM for login, while Lubuntu uses their own LXDM.

First up, my favorite system, "Command Line Only" Ubuntu plus XFCE4. This install has a special place in my heart, as I only install just the applications I need and want, usually in a trail and error sort of way. I do so love running apt commands! Free reported 221 megs used with 112 megs in buffers, for a total of 109 megs of used RAM. Not bad! However using this system is most definately not for the faint of heart, you will be debugging a lot of things that Xubuntu or Lubuntu take care of for you in the background, and in Lucid I haven't gotten automounting taken care of. Oddly enough it was working in Karmic, but something changed that I haven't quite figured out, and may never pursue. I don't mind executing mount commands, Xfce4 has a nice device mounter panel applet that I'm using now and have enjoyed so far.

Next up, the venerable Xubuntu. I started with Ubuntu with version 7.04, and when 7.10 came out I was in love with Xubuntu and Xfce4. I had used Xfce before in the past, but by the time I was used to Ubuntu, I was pretty much dedicated to the mouse (the Xfce mascot)! I've always loved Xubuntu, but for the last two or three releases have caught a lot of flack due to the system becoming more and more bloated. In fact its said that while Xubuntu feels faster, in reality after using it for some time it winds up with close to the same memory usage as Ubuntu with no desktop effects turned on. At any rate, the results of Free showed 258 megs with 95 megs in buffers, for a total of 163 megs of RAM. So there is 50 megs in there somewhere. My guess is in providing things like automounting and other services I simply don't have installed in my UbuntuCli+Xfce4 systems.

Finally, we have Lubuntu, the new kid on the block. With Ubuntu 10.04 Lubuntu is getting close to becoming an official project of the Ubuntu family of distributions, along with Ubuntu, Xubuntu, Kubuntu, and the other few official projects, check the website for the others, they seem to change with every release. The Lubuntu project has released what they hope will be the final product for Lucid Lynx. Its still technically "beta," but its a very stable beta and useful for everyday use. The results of free showed 158 megs used with 56 megs in buffers giving us just 102 megs of used memory! The system seems every bit as polished as Xubuntu, and in my opinion quite beautiful. I'm still an Xfce4 user, but if I had an older system with 256 megs of RAM or less, I would most likely put Lubuntu on it. My only complaint about the system was the file manager, when something was automounted it didn't show up on the desktop like it does on Xubuntu, something that might put some people off. Not a big deal for me, and no where near a deal breaker.

So in summary, here is the used ram after subtracting buffers:

UbuntuCli+Xfce4 = 109 megs used
Xubuntu = 163 megs used
Lubuntu = 102 megs used

Very interesting results indeed. Although I was skeptical at times for the Lubuntu project, they seem to be providing a valuable service to the community that may not be able to do an advanced task like Command Line Ubuntu and install just what they need. I could immagine that would be like the frontier days, and not everyone can handle that although they would learn a lot. I guess its my debian background that makes UbuntuCli such an attractive project for me!

So there you have it, three Lean Ubuntu choices for your systems. If you have the RAM available, the choice between Lubuntu and Xubuntu becomes a matter of taste. Personally, I prefer Xfce4, so would lean a bit towards Xubuntu myself if I wasn't already doing the Command Line installs for fun already. What can I say, I love to tweak things.

Thats it for now!

UPDATE: Seems that the automounting problem was the result of Lucid's removal of Hald, which thunar-volman depends on. Thanks to mr_pouit on in the #xubuntu channel, I found this bug:

To make a long story short, put the following in /etc/rc.local just above exit 0:


Reboot, and your all set! Now stuff will automount and show up on the desktop like it did under older versions of Ubuntu! Easy peasy. Thanks Xubuntu Team!

1 comment:

  1. What a nice article! Unfortunately I also had to try some similar installations in the past. A measurement of required FLOPS/MIPS would habe been great also since in my opionon processing power is even more a limiting factor.

    My computer systems have lots of cheap (old) RAM but CPU upgrade is limited or impossible. For e.g. my current workstation CPU has aprox. 3100 MIPS while a friends Intel Atom box has ~6000 MIPS and a new computer I recently installed for a customer had 20000 (10k MIPS each core). It felt *really* fast when installing Xubuntu 9.10 with about 4000 packages at that time. Playing an average YouTube video costs 10% calctime on that new sysem on my box it's already about 65%.

    Now imagine switching between desktops and open windows and using compositing meanwhile. At that point it doesn't matter whether one has got 512 or 1024 megs of RAM even with only a few loaded applications. The time to wait is always high and GUIs like fluxbox are superior to GNOME and KDE then. Sometimes even to XFCE...