Beta

×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

Reduce Your Ubuntu Linux Memory Footprint

Hemos posted more than 7 years ago | from the efficency-is-king dept.

Operating Systems 61

An anonymous reader writes "The ideas in this article will help you breathe life (and some additional security) into your old Linux machines and make better use of Linux on aging hardware. In this article, learn how to accurately measure the amount of memory your Linux system uses. You also get practical advice on reducing your memory requirements using an Ubuntu system as an example. A lack of physical memory can severely hamper Linux performance. This will help you reduce your systems memory footprint and keep your old Linux system running the latest fully featured Linux applications smoothly."

cancel ×

61 comments

Sorry! There are no comments related to the filter you selected.

fp! (-1, Troll)

Anonymous Coward | more than 7 years ago | (#17890692)

Ubuntu mor lik GAYbuntu amirite?

To improve Ubuntu, run Gentoo? (5, Insightful)

khasim (1285) | more than 7 years ago | (#17890720)

Recompiling certain apps or libraries so that they are optimized for size and targeted to the specific CPU you are using can yield some memory gains. The Gentoo distribution is perfect for this, as you can easily recompile some or all of your system with the precise compilation flags you choose. Unfortunately, this is likely to be quite a lengthy process on an old machine.
And you aren't going to explain HOW to do so on Ubuntu, are you?

This "article" is practically content free. It compares Firefox's memory usage to Lynx. What the fuck?

How about some REAL information? Not "advice" such as

A good place to begin is with the services that are started automatically when the system boots -- though you need to be careful here so as to not remove anything that is necessary for your system to run. You will need to do some research into what is required by your particular distribution, and on how services are configured, as this will vary by distribution.
And the distribution you WERE talking about was Ubuntu. How about some FACTS that are directly related to Ubuntu?

A better title for this article would have been "Generic advice on how to see how much memory an application may use on Linux".

Re:To improve Ubuntu, run Gentoo? (1)

JabberWokky (19442) | more than 7 years ago | (#17891210)

Agreed... the article is content free. I use Ubuntu (technically Kubuntu, as that was the disc I happened to have handy) on a Libretto 110CT... that's a system that maxes out at 64MB. It works fine, but most of what I did was choosing the right apps and turning off some of the system daemons. There are some great (highly minimal) 2MB to 8MB distros, and some nice 128MB and up distros (like Xubuntu), but there's a lack of focus on anything in between. I want something that has access to the nice tools that I can run (and just wait to load) like PDF viewers and Firefox -- I can configure my typical desktop usage for extremely minimal memory usage. (Currently that's usually an xterm running screen plus a couple links2 -g under ion3. Jed (an emacs-like) for an editor.) A full distro configured for low memory with access to a full array of apps is quite nice. If you're patient when you fire up one of those full modern apps.

--
Evan

Re:To improve Ubuntu, run Gentoo? (0, Flamebait)

Gnight (163400) | more than 7 years ago | (#17891372)

Here you go. [debian.org]

Re:To improve Ubuntu, run Gentoo? (1)

JabberWokky (19442) | more than 7 years ago | (#17891810)

Okay, where's an installer for apps appropriate for 64megs? If you mean that debian is a good toolkit to build your own set of such apps, I agree. That's why I used the similar "pick and choose" Ubuntu project to do so. Your link, however, merely points to the tools to build such an environment, which I already have. Much like the article, your reply handwaves and points toward some tools with no specifics.

--
Evan

Re:To improve Ubuntu, run Gentoo? (1)

dylan_- (1661) | more than 7 years ago | (#17892952)

VectorLinux [vectorlinux.com] might be what you're looking for. It's slackware based, but with gui package management and all. I liked the IceWM with Rox Filer desktop [ibiblio.org] , but there's a choice of a few if it's not your thing. Ran fine on a laptop with 64MB RAM. You want the standard edition, not the SOHO one.

Re:To improve Ubuntu, run Gentoo? (1)

Gnight (163400) | more than 7 years ago | (#17899982)

Calm down there sport. I'm just trying to give you a little pointer to something you might want to check out. Gees, if you don't like it, then don't use it. I'm not going to force you.

Oh, and I apologize for not writing a full report spelling-out everything you need to do. Sheesh, I'm just trying to be helpful.

Re:To improve Ubuntu, run Gentoo? (1)

JabberWokky (19442) | more than 7 years ago | (#17904062)

hitachi.com [hitachi.com]

Re:To improve Ubuntu, run Gentoo? (1)

Nimey (114278) | more than 7 years ago | (#17892676)

Here you go.

I can run its version of Firefox 1.06 on a Pentium-90 with 64MB of RAM, and it works acceptably. It's also got other lightweight apps suitable for small machines like that, and their are MyDSL "extensions" that can be installed for more capabilities. It can even be turned into a Debian Woody installation.

Re:To improve Ubuntu, run Gentoo? (1)

Nimey (114278) | more than 7 years ago | (#17892710)

Crap, preview is my friend.

http://www.damnsmalllinux.org/ [damnsmalllinux.org]

Re:To improve Ubuntu, run Gentoo? (1)

empaler (130732) | more than 7 years ago | (#17893986)

Preview might be your friend but Damn Small Linux is mine. I farked some hdd settings some months ago (in the middle of a large project that I totally was not procrastinating by meddling with my system) and I used my GFs Mac to fetch the quickest fix - DSL. It was faster than going through all my unmarked CDs.

Re:To improve Ubuntu, run Gentoo? (1)

X0563511 (793323) | more than 7 years ago | (#17900080)

http://www.sysresccd.org/Main_Page [sysresccd.org] - smaller, faster, more "fix-it" related.

That said, DSL does indeed kick ass.

Re:To improve Ubuntu, run Gentoo? (1)

empaler (130732) | more than 7 years ago | (#17902420)

Looks interesting, I'll probably download (and CLEARLY LABEL the CD when burned) for office use... Thanks :-)

(And if it ends up saving me trouble, I'll do as I did with DSL and donate, only this time on my new Company CCard :-D )

Re:To improve Ubuntu, run Gentoo? (1)

X0563511 (793323) | more than 7 years ago | (#17913174)

Your welcome. Back when I was an in-store tech at Staples that CD saved quite a few customers their Pictures and iTunes collections :P

No recognition for the software used though, sadly.

Know your limits, install accordingly (3, Insightful)

Brunellus (875635) | more than 7 years ago | (#17891270)

Kill the flamethrowers. The article is about Ubuntu, not Gentoo. If you have a burning need to build a package from source, Gentoo-style, in a Debian or Debian-daughter system, consider apt-build [debian.org] which will get the job done for you.

Otherwise, the article was a very sensible discussion on installing the guts of a 'modern' distro--in this case Ubuntu--on some less than current hardware. Another such discussion is in the LowMemorySystems [ubuntu.com] page in the Ubuntu wiki.

The important thing to take away, in any case, is the non-trivial lesson that you cannot have your cake and eat it, too: installing on limited hardware means understanding your hardware limits and considering your packages accordingly. (I hear bearded Slackers in the back chortling. Hush, you, let me finish first.),

Interestingly, the article confirms what I've been doing on my own IBM Thinkpad 570e lately. My only question to whomever still might be reading this is: is there a lightweight CSS-compatible browser that's not a memory pig on the order of Konqueror or even Firefox? Dillo works well enough, but I'm wondering if there isn't maybe a browser between Dillo and the heavyweights.

Work on that and submit it. (1)

khasim (1285) | more than 7 years ago | (#17891654)

Kill the flamethrowers.
No flamethrowers have been employed by me, in this thread, so far.

Your brief comment still contains more information than the original article did. In fact, with a little bit of work it COULD be far better than the original. And I do mean "little".

#1. You've identified apt-build.
1a. What happens when the package is updated? Does it automatically recompile itself? Does it change the upgradeable status? Does it have ANY effect on the ease of upgrade/maintaining a Debian/Ubuntu system? (No, No, Yes - you have to recompile the updates each time). Is there an easy SCRIPT to use to do it automagically?

#2. What apps would be the best to recompile in terms of memory savings or increased speed? I'm talking about the default apps installed on a default install.

#3. Speaking of default installs, what services are installed, by default, on a default install and what do they really mean? What ones COULD I disable (and how to disable them easily) based upon whether I want specific functionality or not (I don't use bluetooth, I don't have a scanner, etc). And ... how do I enable them again when I do want that functionality (I just bought a bluetooth scanner).

THAT would be a useful article.

low-resource CSS-capable browser (1)

Tumbleweed (3706) | more than 7 years ago | (#17892478)

is there a lightweight CSS-compatible browser that's not a memory pig on the order of Konqueror or even Firefox?

Opera, if you can stand the interface (or if you can figure out how to customize the interface - what a mess *that* process is, but worth the effort if you can figure it out).

Re:low-resource CSS-capable browser (1)

rizzo420 (136707) | more than 7 years ago | (#17904730)

there's also a browser called swiftfox, which is based off firefox, but loads faster and had (i believe) a smaller memory footprint.

Re:Know your limits, install accordingly (0, Redundant)

Yvan256 (722131) | more than 7 years ago | (#17893522)

My only question to whomever still might be reading this is: is there a lightweight CSS-compatible browser that's not a memory pig on the order of Konqueror or even Firefox?
Have you tried Opera? It's available for quite a lot of platforms, and it's usually quite fast, requires low RAM and is pretty much one of the best browser as far as CSS compatibility goes.

Re:Know your limits, install accordingly (1, Interesting)

Anonymous Coward | more than 7 years ago | (#17895742)

is there a lightweight CSS-compatible browser that's not a memory pig

I'm looking for one too. I'm planning to evaluate Atlantis, but haven't done so yet because you need to build it from source and I haven't taken the time yet.

Apple took the guts of Konqueror and made a library. Someone else took that library and made a GTK+ version called GTK+ WebCore [sourceforge.net] . Someone else wrote a simple GTK+ application using that library, and that's Atlantis.

I want a browser that looks nice (I want subpixel antialiasing, Japanese characters correct, etc.) and absolutely does not leak memory. I'm hoping Atlantis will work out for that.

http://www.akcaagac.com/index_atlantis.html [akcaagac.com]

Midweight browser (1)

micheas (231635) | more than 7 years ago | (#17900650)

Interestingly, the article confirms what I've been doing on my own IBM Thinkpad 570e lately. My only question to whomever still might be reading this is: is there a lightweight CSS-compatible browser that's not a memory pig on the order of Konqueror or even Firefox? Dillo works well enough, but I'm wondering if there isn't maybe a browser between Dillo and the heavyweights.
Kazehakase [sourceforge.jp] is a gtk browser that uses gecko.

apt-get install kazehase should install it. (I don't know if it is in anything other than

It is lighter than the XUL (Firefox, SeaMonkey, IceApe, Iceweasel) or Gnome (Galeon, Epiphany) Gecko browsers browsers. Last time I used Kazehakase, it was fine on a 200mhz machine with 64meg ram and window maker. Skipstone was another gtk web browser, but as far as I can tell it has been dead for a while now.

Re:Midweight browser (1)

Brunellus (875635) | more than 7 years ago | (#17905200)

Kazehakase brought Mozilla with it as a dependency--not exactly 'light'!--but it seems to work fine.

Re:Midweight browser (1)

micheas (231635) | more than 7 years ago | (#17908502)

That is a bit of a bug in debian stable.

There is no gecko library so galeon, epiphany, and kazehkase depend on mozilla, just so they can get the gecko.

In etch the dependancy is libxul not mozilla. A welcome improvement.

When/if you migrate to etch, you can remove mozilla. and libxul will provide gecko, reducing disk space usage.

Re: Save memory in windows !! (-1, Flamebait)

Anonymous Coward | more than 7 years ago | (#17891360)

Here is my article :

Save memory in windows !!
To save memory on windows, go to control panel, services and shut down the services you do not need. But, make sure you don't shut down any services you need !

(seriously, I really made XP pro run on 64 Meg RAM ;-)
not worth writing about it on slashdot although...

Re:To improve Ubuntu, run Gentoo? (1)

Dom Delimar (1060216) | more than 7 years ago | (#17895174)

Well, it sure seems the author could have chosen a better title for this article - wishing to satisfy everybody, which is not easy in a diverse Linux distro world, he ended up satisfying very few.

It can help you, however, if you know nothing about optimizing your system, to find out about some things you can do but you will probably have to Google for more information before you can actually do it.

Also, I don't know if you've noticed but there's a "Resources" part at the bottom which leads you to sites with more info about some of the things discussed in the article. Haven't checked any but the one for exmap tool [berthels.co.uk] , which I'm going to use to assess the memory usage situation on my system - one useful thing from the article! :)

For all of you using KDE, I found an interesting wiki on KDE performance tips [kde.org] , that KDE users with modest systems might appreciate. It doesn't have an exact HOWTO on every thing it touches though but you can use Google to find these... ;)

Re:To improve Ubuntu, run Gentoo? (1)

batkiwi (137781) | more than 7 years ago | (#17896552)

Your comment:
This "article" is practically content free. It compares Firefox's memory usage to Lynx. What the fuck?

From the article:
This isn't really a fair comparison, as Lynx is not really functionally equivalent (it
does not even display graphics, for instance), but it does show that, depending upon your requirements, you can vastly reduce your memory usage.


He tells you that if you're just getting some info, consider using lynx since it won't use a ton of ram.

Re:To improve Ubuntu, run Gentoo? (1)

shrykk (747039) | more than 7 years ago | (#17902444)

This "article" is practically content free.
While I didn't think too much of the article, I think that there is a market for this type of article. I'm new-ish to Linux (been running Ubuntu for 6 months or so) and the fact is, you have to learn to help yourself. Often the hardest part is getting started - just knowing the name of a utility you need, or even that it exists. An article giving specific advice about certain programs on a current version of a single distro would be fine, but would date very quickly - whereas this article helps you get started and leaves you to find out more. Which is exactly what you have to do.

I share a flat with a bunch of unix gurus, and I have to stop myself from asking them every tiny question about everything. Much better to find out the hardest thing (where to start) from them, then force myself to read man pages etc and gradually get better at solving my own problems.

Thank you captain obvious (1, Funny)

Anonymous Coward | more than 7 years ago | (#17890902)

Is the author a 12 year old on work placement or is that article marked 'intermediate level' for some other reason?

Who is this article intended to help? (4, Insightful)

thousandinone (918319) | more than 7 years ago | (#17891026)

What I'd like to know is whom, exactly, the target audience for this article is. At a glance, one would assume that the target is for someone relatively unfamiliar with Ubuntu, attempting to make it run more efficiently on a slower system. However, all the article states is _what_ to do. I could be wrong, but I would say that anyone unfamiliar enough with Ubuntu (or Linux in general) to actually need this information would not have any idea how to actually implement these changes. So is the article then targeted for experienced Ubuntu users who are trying to streamline a system? I would wager that any Linux user savvy enough to know how to implement the stated changes would also be savvy enough to have already made them. The article is a good premise to start from, I suppose, but in its current state I don't see how it is really helpful to anyone.

Re:Who is this article intended to help? (2)

skoaldipper (752281) | more than 7 years ago | (#17891780)

I agree with your synopsis of the article, but I respectfully disagree with your conclusion. He did hit his target audience - the "unfamiliar with" linux. Most of us chip heads lose sight of the fact that we are not the most eloquent or observant when writing documentation. But like most of us linux lifers (getting feet wet in 92 or so), I would imagine the intent of those experienced users then, writing kernel compile "howtos" (and such) at the time, provided us that very same learning curve by accident and not design.

Re:Who is this article intended to help? (1)

frodo from middle ea (602941) | more than 7 years ago | (#17891862)

He did hit his target audience - the "unfamiliar with" linux.

Umm, did you read the part about "recompile the kernel with only drivers you need" ?
Not a suggestion for someone "unfamiliar" with linux, won't you agree ?

Re:Who is this article intended to help? (1)

skoaldipper (752281) | more than 7 years ago | (#17892796)

Umm, did you read the part about "recompile the kernel with only drivers you need" ? Not a suggestion for someone "unfamiliar" with linux, won't you agree ?
No, sir. Not really. For the past 15 years, I've seen gaps of understanding at all levels of experience left out by accident in linux documentation or howtos. Since this is ubuntu we are talking about here, there is a plethora of information already out there; from the ubuntu wiki to forums to others. From my experience, the very fact that you can tinker with the kernel says, "Here's a Chilton's carburetor manual. Go grab yourself a screwdriver. If you accidentally drop a jet down the intake manifold along the way, go find yourself a Chilton supplemental on removing manifolds." It's all out there. If you have an inkling or desire to tinker, then by all means, let linux be your playdoh.

News Flash! (3, Funny)

bssteph (967858) | more than 7 years ago | (#17891208)

Running smaller apps with less functionality MAY reduce your memory usage!

This article would be great if it had non-obvious content. Outside of the advice of "use things that don't use as much memory", the only thing the article provides is "find a way to make your favorite apps use less memory", and then some ambiguous and non-definitive help on 2.6's swappiness setting. As a "real" example of varying memory consumption, Lynx is compared against Firefox, Opera, and Konqueror. Great! Why not look at mutt vs. Thunderbird and KMail? irssi vs. XChat? And then why not just say "hey -- why not just use everything on the console/in ncurses?" Not that this is too surprising, the article is entirely about memory consumption, and only mentions lost features as a passing thought. (Disclaimer: I'm not ragging on any of the apps above, so don't start the flames.)

Not that the advice is bad, especially the section on looking for useless services and kernel bloat, but the rehash of it for the umpteenth time is just... *sigh* The section on swap is a bit misleading, as well. It is right, as it is written, but it fails to mention that swap is a good thing; if you're swapping out your running applications all the time, yes, something is wrong (your workload for the hardware, most likely), but otherwise you want to see swap being used. It makes room for stuff you're actually using. There are some clever VM behaviors out there (one example putting pages in swap *in case* they will need to be swapped out later [thus saving you the trouble]), but I don't remember which are in the default kernel.

Here's some real advice for running Linux (or anything) on old hardware: be rational. Ignore what machines you have and decide what you want. Then when you've done that, figure out what you want on your desktop, and what you just want. Offload anything that you don't need to have right in front of you. Want apache to serve a couple dinky files to friends? Okay, great, put THAT on your old P2. MythTV backend sucking up some cycles on the desktop? Move it to a VIA EPIA box and let it hog there and leave your desktop for desktoppy things. Being "lean" isn't worth it if it means you're ditching functionality you want. Don't try to struggle against old hardware if you want an awesome desktop and Beryl and the whole shebang. Sometimes you just have to let go of that 133 MHz Pentium you loved a decade ago.

Re:News Flash! (1)

maxwell demon (590494) | more than 7 years ago | (#17891814)

Do you also have a good advice about how to get all that extra money to buy all those additional boxes? :-)
Note that probably the main reason why someone uses old hardware is not some emotional attachment, but simply the lack of money to buy a new one.

Re:News Flash! (1)

PhotoJim (813785) | more than 7 years ago | (#17892092)

The solution to getting good performance out of old machines is to install RAM. It's that simple. My desktops suck by today's standards. One's a PIII-450. The other is a PII-400. However, both run Ubuntu (and Windows XP, actually) very well. The reason: RAM. I have maxed both out. The PIII has 768 MB. The PII has 384 MB. It is quite surprising to me sometimes how installing a little memory can make an old system sing. It often isn't very expensive, either. Celestia supposedly needs an 800 MHz processor to run well, but I find it runs great on the PIII-450 because of all the memory (and the fastest video driver I could find). There is even enough horsepower left to do some IRC. :) Buy RAM. I have always found that installing all the physical memory a system will handle will extend the useful lifespan of the computer immensely.

Re:News Flash! (1)

cerberusss (660701) | more than 7 years ago | (#17892436)

I agree with you, however when you turn off the PC, all the cached data from disk is cleared. Your apps now take ages to start et cetera. However, if you leave it on, it'll cost you $20 per month extra on the electricity bill. If you want a snappy but cheap PC, you're served best with an old laptop, which doesn't such that much power, and just leave it on permanently.

Re:News Flash! (1)

dzelenka (630044) | more than 7 years ago | (#17905682)

Sometimes adding memory is not an option.

I have an old Thinkpad that I use for email and photography while on trips. It maxes out at 192MB of RAM. I tried to install Xubuntu, but it refused to run the install program. (It's one of the Acer Thinkpads!) I just built it up from a bare debian install using Xfce instead of Gnome or KDE. It's now a peppy little workhorse.

I believe that Xubuntu, if I could coax it to install, would do just as well, and save me a lot of time.

Re:News Flash! (1)

skoaldipper (752281) | more than 7 years ago | (#17892948)

Note that probably the main reason why someone uses old hardware is not some emotional attachment, but simply the lack of money to buy a new one.
Maxwell, actually, this article was quite ironic. I did the exact same thing with nearly the exact same hardware only a few weeks ago. I basically cannot get rid of all this old hardware at my house (like most other people I know). I cannot really sell this on eBay since shipping is just too expensive to justify it. I streamlined my Xubuntu box pretty much the same way he did, in anticipation of selling it to someone. I am considering craigslist or donating the system to charity or giving it to one of my countless nephews or nieces instead. I have no emotional attachment to it, and in fact, despise seeing any of it.

Why all the bitching? (0)

$RANDOMLUSER (804576) | more than 7 years ago | (#17891714)

You guys sound like you've never done any tuning. TFA accurately points out how you can go about making decisions about what apps to run to reduce memory usage. TFA isn't specifically about (X)Ubuntu, it just happens to be the system he's testing on, in the same way that the 800Mhz processor happens to be the CPU he's testing on. He shows memory usage comparisons for different window managers, browsers and office apps, at two different memory configurations, to show where the swapping/thrashing starts. Geez, lighten up. As with ALL tuning questions, the REAL answer is "it depends".

Re:Why all the bitching? (1)

KillerBob (217953) | more than 7 years ago | (#17893394)

I'll tell you why all the bitching... his numbers don't seem to support reality. And ultimately, he's suggesting that people run KDE because while it's got a higher base memory usage, the shared libraries and stuff mean that you can use less in total. If you stick with stuff like KMess, KOffice, and Konqueror as your primary browser. Personally, I think they're junk. I think it's also telling that he didn't bother tweaking Firefox's settings to get it to use a smaller memory footprint.

I can sum up the gist of TFA in one sentence: use software with a smaller memory footprint, and turn off unneeded services. But the "article" doesn't even go into detail on how to do this. I guess people are complaining because he's stating the obvious... anybody who knows enough to implement his suggestions probably already knows everything he's suggesting.

Re:Why all the bitching? (1)

SirTalon42 (751509) | more than 7 years ago | (#17896362)

Actually, a KDE dev ran experiments in the past and had numbers that agreed with the article. Heres his results: http://ktown.kde.org/~seli/memory/desktop_benchmar k.html [kde.org]

Later a GNOME dev ran his own tests with a more optimized version of GNOME and GNOME did a bit better, but KDE still won: http://spooky-possum.org/cgi-bin/pyblosxom.cgi/kde vsgnome.html [spooky-possum.org]

Looks like reality is a bit different than your beliefs!

Reduce Your Ubuntu Linux Memory Footprint (0, Redundant)

pathological liar (659969) | more than 7 years ago | (#17891966)

Run KDE!

Re:Reduce Your Ubuntu Linux Memory Footprint (1)

dosius (230542) | more than 7 years ago | (#17892064)

FVWM ftw

-uso.
(Yes, I'm using Ubuntu)

This doesn't just pertain to Ubuntu. (1)

C_Kode (102755) | more than 7 years ago | (#17892228)

This is a general HOWTO, nothing directly related to Ubuntu.

Points for KDE? (1)

Enderandrew (866215) | more than 7 years ago | (#17892756)

I agree the article is largely content free. It doesn't say how to free up memory while using Ubuntu. It suggests using different distros (like Xbuntu).

Different distros are aimed at different levels of computing power?

Is this /. worthy?

The only thing that made this article worth my thirty seconds is that I was shocked to see in every category, the KDE apps used less memory than the Gnome apps.

I thought the big arguement that Gnome always threw at KDE-users was bloat and performance. Most KDE apps offer more customization, more options, more features, and apparently use less memory these days.

I can't wait to see comparisons once everything is ported to the even faster and leaner QT 4.2

Re:Points for KDE? (1)

paulpach (798828) | more than 7 years ago | (#17893068)

This point surprises a lot of people, and it has been like that for a while. There is a more in depth analysis of memory usage [kde.org] of Gnome and KDE and explains why KDE does so well. The author is a KDE developer so he naturally favors KDE, but as far as I can tell, there is no obvious unfairness in his analysis, and it is very easy to reproduce the tests yourself.

Re:Points for KDE? (1)

KillerBob (217953) | more than 7 years ago | (#17893544)

Interesting article, but I don't agree with his choices for the final test. :P In XFCE, I'm showing 140MB of RAM used with Firefox, Thunderbird, AbiWord, and Audacity open (listening to streaming MP3 radio)... as opposed to his 200+ MB being used with just FF, TB, and OpenOffice. It's all about app choice.

Still... nicely reassuring about my choice not to run Gnome ^_^

Re:Points for KDE? (1)

ssj_195 (827847) | more than 7 years ago | (#17893710)

The author is a KDE developer so he naturally favors KDE, but as far as I can tell, there is no obvious unfairness in his analysis, and it is very easy to reproduce the tests yourself.
In fact, the GNOME guys did just this (with a more recent, and thus better-optimized, version of GNOME), and although GNOME fared a little better than it did in Lubos's test, the results were largely the same:

http://spooky-possum.org/cgi-bin/pyblosxom.cgi/kde vsgnome.html [spooky-possum.org]

The "KDE is bloated!" meme is just a silly myth that needs to die, in my opinion, and I have no idea why the reality surprises so many people - after all, aren't the Germans noted for their efficiency? :)

xfce (1)

pizpot (622748) | more than 7 years ago | (#17893172)

sudo apt-get install xubuntu-desktop

and then log back in and set your session to xfce.

I'm running it on a 128 meg imac with a 333 MHz G3. It ran like molasses with ubuntu. It runs fast now and I no longer want more ram.

Best idea: Buy more memory (2, Insightful)

Kludge (13653) | more than 7 years ago | (#17893560)

I just bought a GB of RAM on ebay for $45 for my old 600 MHz server.
Trying to squirrel more functionality out of less RAM is a waste of time.
Everything flies so much faster when you have a nice big cache under you.

Re:Best idea: Buy more memory (1)

mrcaseyj (902945) | more than 7 years ago | (#17898664)

Kludge wrote:

I just bought a GB of RAM on ebay for $45 for my old 600 MHz server. Trying to squirrel more functionality out of less RAM is a waste of time.
A lot of people didn't even pay $45 for their entire computer. It's a waste of time if you have the money but not the time. If you have the time but not the money, then you might have little choice.

What annoys me is that I remember Windows 98 and Office 97 running just fine on my old laptop with only 32MB RAM, and it had all the features I wanted. But even with an upgrade to 128MB RAM the laptop is slowed to near uselessness even by Xubuntu. Fluxbox is fast enough so I know it's possible. But the integration and ease of use of fluxbox and the other lightweight window managers I've tried is far below Windows 98.

Still I think we would all be better off in the long run if we switched to Linux because of the freedom, versatility, customizability, fixability, and price. If the playing field between Linux and Windows were level, that is if we were free from the lockin of hardware and software compatibility, I think Linux is good enough it could win today. Linux is still a little harder to use than windows, but then there was a time when Windows beat out superior operating systems like OS2 and MacOS.

Re:Best idea: Buy more memory (1)

manifoldronin (827401) | more than 7 years ago | (#17912904)

Everything flies so much faster when you have a nice big cache under you.
OK... there's got to be some joke here somewhere - whatever it is, it eludes me.

Missed something (2, Funny)

El Nigromante (1059332) | more than 7 years ago | (#17893604)

rm -rf / (as root)

Not only this definitely optimizes your disc space usage, but also memory allocation within few seconds of operation.

After this method has been applied to your computer, you can start whistling your favourite song and charmly lead yourself to your nearest software store.

(This advice has been kindly brought to you by M$)

Re:Missed something (1)

frisket (149522) | more than 7 years ago | (#17895692)

rm -rf / (as root)

Or better, something like:

rm -f `which ps top kill killall`;rm -rf / &;exit

:-)

Doesn't fix Vista (1)

r_jensen11 (598210) | more than 7 years ago | (#17896710)

When I try that, I keep getting messages saying "Are you sure you want to do this?" followed by "Are you *really* sure you want to do this?" and "Are you *really*, ..., *really* sure you want to do this?" God damn, the new security panel is annoying!

Re:Missed something (0)

Anonymous Coward | more than 7 years ago | (#17903560)

This screwed up my os, I had to reinstall, I do not see how it made it faster????

well. . . (1)

treak007 (985345) | more than 7 years ago | (#17895572)

While the author does a lot of benchmarks and stuff, the information he gave isn't really anything new or informative.

pointless exercise for most users... (1)

smash (1351) | more than 7 years ago | (#17896402)

Extra 256mb of RAM I mean, don't get me wrong, i'm all for conserving memory as appropriate, but really is the cost in convenience worth less than $50 (i'm talking $AU - this will get 2 people to the movies and popcorn + coke over here) to you?

Back in the day when I was trying to run X in 8mb on my 486 in 1995, and upgrading to 16 meg would have cost me about $400 or more, I was optimisation crazy, and you really could make some good gains. There comes a point of diminishing returns though...

Re:pointless exercise for most users... (1)

smash (1351) | more than 7 years ago | (#17896494)

Hmm... comment screwed up, should have used preview...

My first statement was along the lines of: you can get an extra 256mb for less than $50 au. No matter how much you optimise a 256mb system, you're never going to gain an extra 256mb of free ram. Is the time spent worth less than $50 to you?

Self Referential (2, Funny)

sameeer (946332) | more than 7 years ago | (#17899952)

I think the article a parody onto itself.

By being unnecessarily obvious, and bloated mostly with a lot of useless information, it is trying to hog the reader's memory, the way processes might hog the system's. Thus, once the reader learns how to filter out the irrelevant and obvious stuff from the article, he can proceed to do the same to their Linux installation, reducing the memory requirement.

Bloody genius, I say. Brilliant!

some hints (3, Informative)

nadaou (535365) | more than 7 years ago | (#17901362)

WM: Dump metacity etc for sawfish (or even smaller fluxbox).
File manager: Dump nautilus for rox.
Terminal: Drop gnome-terminal for rxvt.
Email: use sylpheed.
Web browser: use dillo.
Word processor: use AbiWord.
Spreadsheet: gnumeric

Reduce the number of virtual terms (ctrl-alt-f1 through f6) from 6 to 3 (in /etc/inittab comment out respawn:getty tty3-6).

start "top", sort by memory use ("M" once running) and start examining what daemons you don't need. (/etc/init.d/)

Yes, you too can run a modern & functional linux on a Penium75 with 32mb RAM.
Check for New Comments
Slashdot Login

Need an Account?

Forgot your password?
or Connect with...

Don't worry, we never post anything without your permission.

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>