For these tests, I dug out Igor, an old PC that had been collecting dust in my closet. Igor is a Pentium II 233MHz machine with 64MB of RAM, an 8x CD-ROM drive, a 3GB hard drive, and an integrated ATI 3D Rage Pro video card with 4MB of video RAM. You can run Linux on older and slower machines, but this is the most under-powered machine I had available.
Next, I selected a handful of lightweight Linux distributions that looked promising, and started downloading. The distributions ranged from popular "mainstream" distros such as Slackware and Debian to distros that are specifically developed for lightweight machines, such as Damn Small Linux (DSL). I apologize in advance if your favorite lightweight distro is not represented here.
Slackware Linux
I started the tests off with Slackware Linux 10.2. Though Slackware isn't specifically geared to lightweight machines, it's well-suited for older hardware. Slackware's installer had no problem with the Pentium II machine. It took about an hour to install a set of packages on the test machine. As a rule, when I install Slackware, I often go for the full install, but with only 3GB to work with, I was a bit more careful. I wound up with about 800MB free, though careful selection of package sets could trim that down even further.
Slackware includes a good selection of lightweight window managers, including Xfce, Fluxbox, and FVWM. On Slackware, I spent most of my time in Fluxbox, which proved to be a very usable desktop, even with limited resources.
Slackware comes with the typical assortment of desktop software, some of which ran well on the old machine, while some ran slowly. In many cases, applications would take forever (okay, a minute or so) to start up, but then run fairly well afterwards. Firefox, for example, takes far longer to start on this machine than I'd like, though it runs okay once it's up.
ZipSlack is another Slackware-based distribution for older hardware, and newer hardware as well if the machine has a FAT partition. It's designed to run out of a directory on a FAT partition, which makes it an easy distro to start with if you've got an old machine that still runs Windows 95 or Windows 98.
The entire ZipSlack distro should fit within 100MB of disk space. I recommend this one only for users with an older Windows machine who want to test-drive Linux. Using Linux on a FAT partition isn't optimal and comes with some performance drawbacks, but it's worth trying just to get a feel for Linux.
Overall, Slackware makes a pretty good distro for lightweight machines. Its hardware requirements are fairly modest (486 or better CPU, 32MB of RAM minimum, 500MB of free disk space), and the package selection is good for lightweight machines. Although Slackware isn't specifically tailored for lightweight machines, it's obvious from Slackware's modest system requirements that developer Patrick Volkerding is still looking to make Slackware usable on older machines.
Debian Linux
Debian Linux is also suitable for machines with modest amounts of memory, though it's not the first distro I'd recommend for users who are unfamiliar with Linux. I tested Debian's Sarge release.
Debian's text-mode installer, like Slackware's, is right at home on older hardware. I selected the Desktop package collection, which provided X and a desktop environment. I used the netinstall image, and it took quite a while for all the packages to download and unpack on Igor. If you're installing Debian in this fashion on older hardware, I suggest going out for a pizza when you get to the download stage.
After everything was unpacked, I found that Debian's desktop defaults included GNOME and KDE. Out of curiosity, I tried both desktop environments to see how they'd handle on a system with limited memory. To my surprise, they were fairly usable, though not exactly snappy. After a while, I installed Blackbox instead. After a quick apt-get install blackbox I logged out of GNOME and found that the GNOME Display Manager (GDM) now had an entry for Blackbox. It was much faster.
Debian's package collection is huge. It includes many lightweight apps that are well-suited to slower machines. (It also has plenty of full-featured apps that are best used with faster machines.) It's too bad that there isn't a "lightweight desktop" task that users can select to install lightweight applications, but if you know what you're looking for, it should be easy enough to find suitable apps in Debian.
The Debian guide recommends a minimum of a Pentium 100 and 64MB of RAM for desktop systems, and at least 1GB of disk space -- specifically, at least 1.8GB for the Desktop task.
Damn Small Linux
Damn Small Linux (DSL) is a damn fine Linux distro. This was the first time I used DSL for any period of time, and I was impressed by what the DSL developers have managed to fit into a 50MB download.
You can run DSL as a live CD distro, or install it to the hard drive, USB media, or even run it inside Windows or Linux. See the DSL FAQ to find out which image you want to download.
After burning the CD, I whipped it into Igor's drive and took DSL for a spin. Even when it's running as a live CD, DSL's performance was really good on this tired old machine.
DSL includes SSL in the Dillo Web browser, so you can surf HTTPS sites using Dillo. (This isn't the default, SSL support is considered alpha in Dillo.) Sites that require JavaScript, such as Yahoo! Mail, may not work with Dillo, but I was able to check my bank balance online. DSL includes Firefox, though Firefox's performance on Igor was less than stellar.
Installing DSL to a hard drive or other media is easy. DSL includes scripts to install directly to a hard drive, but it isn't an installer in the sense that most Linux users are used to; instead, it's pretty much a one-shot deal. Even on an old machine, the install only takes a few minutes.
You can use APT with DSL, or you can use the MyDSL application to download apps ("extensions") for use with DSL. MyDSL is intuitive, and allows you to install new apps even when you're running DSL as a live CD. If you download new apps, you'll need to restart the window manager for them to show up in the application menus. DSL packs a lot into 50MB, but MyDSL provides a lot more.
If you're interested in this type of operating system, DSL has spawned a number of similar distros, though many seem to be inactive at this point.
DSL should be one of the first distros you consider for putting older hardware to work.
Next: Puppy, Vector, and STXNote: Comments are owned by the poster. We are not responsible for their content.
If you download new apps, you'll need to restart the window manager for them to show up in the application menus
In any case, I'm running Damn Small Linux on a 166MHz HP Vectra VL/5 PC with 48M RAM and a 2GB HD. I resurrected it as a "media PC" (ok, really only audio) from some junk my brother salvaged from the trash when an office recapped their HW, ages ago. It boots pretty quick (after installing to the HD) and plays internet radio well (via an old Sound Blaster card). The box had Win 95 on it when I started -- there was no chance in hell it would run XP. I was inspired by a friend who used DSL to do the same with an old Pacard Bell w/16M (he did end up adding another 16M to it, though...)
I recently installed Debian stable (sarge) on a 200Mhz Pentium with 80Mb of RAM. With the 2.4 kernel + XFree86 + Xfce 4.4beta + Firefox 1.0.4, I am using only ~32Mb of memory (excluding buffers)!
That's quite a difference, if you're happy installing Debian (which isn't difficult, really, if you are familiar with Linux). I had to compile the latest Xfce, but you could also get it by installing Debian unstable. Anyway, for your efforts, you get a full desktop environment on the latest version of a major distro. I personally find that much preferable to DSL etc for everyday use.
James.
No, I'm not running some heavyweight
desktop environment like KDE or GNOME: I'm just
running X, with the icewm window manager, which
furnishes a perfectly adequate environment.
I routinely run Linux (Debian, Ubuntu, DSL and
others) on old hardware. I routinely OpenBSD,
NetBSD, and FreeBSD on old hardware. This rarely
poses a problem, _unless_ I do something silly
like expect a 90 MHz Pentium to run OpenOffice
or somesuch. (AbiWord, however, works.) I'm
far from alone: lots of people are doing this,
and many of them are getting a lot more performance out of their boxes -- that is, they've
taken the time to performance-tune them because
they need to.
It's really appalling that anyone who is even
minimally knowledgeable about computing is stupid
enough to believe the FUD from M$, thus necessitating that someone waste their time
proving something we've all known is true for many years. Quite honestly, if you're THAT stupid,
then go run Windows. You'll fit right in.
I also have instructions on my website for <a href="http://www.bcgreen.com/knoppix/" title="bcgreen.com">how to boot knoppix from grub</a bcgreen.com>. It includes instructions for doing a netboot installation via grub -- which is good for machines with less than 800MB free -- just use the spare space for swap.
I've used it on machines as old as a P100 w/64MB.
good article - important issue
Posted by: Anonymous Coward on February 25, 2006 02:15 AMFor really old machines I would reccommend Damn Small Linux (DSL) which is an absolutely fantastic distro.
And if you do not need GUI, even the lastest Kanotix runs very well on old hardware.
My fastest machine is a 800MHz and my slowest a PentiumPro!!
All work just fine and cost me no money.
The money I save goes to the FSF and the Debian project.
#