Is the Linux Desktop Getting Heavier and Slower?
Johan Schinberg writes "Bob Marr wrote an interesting editorial about what many of us have have noticed lately: the three most popular Linux distros are getting "fatter" in terms of their memory footprint and CPU demands for their graphical desktops. Fedora Core 2 isn't usable below 192 MBs of RAM while Mandrake and SuSE aren't very far off similar requirements either. There was a time when Linux users would brag that their favorite OS was far less demanding that Windows, but this doesn't seem to be the case anymore. Modern distros that use the latest versions of KDE and (especially) Gnome feel considerably heavier than before or even than Windows XP/2k3. Sure, Longhorn has higher requirements than XP (256 MB RAM, 800 MHz CPU) and the final version will undoubtly be much more demanding, but that's in 2-3 years from now. For the time being, I am settled with XFce on my Gentoo but I always welcome more carefully-written code."
I haven't heard someone say they use Linux because it's somehow "lighter" since about 1997. The face of computing has changed, and the Linux distros have changed with it. More and more users are using Linux because it's getting more feature-rich. This is not a bad thing.
Personally -- I prefer fluxbox's minimalism. It doesn't really matter what the distros ship with because at least you're given an option on going with a lean option or a feature-ridden one.
Massive networking attempt for friends
Sadly it used to be that you could run Linux on just about anything. I install all my servers with out any kind of X environment because it pigs up too much space. It is a pain too because RedHat automaticaly installs all sorts of crap that is unneeded, so I have to remove it after a generic install.
I think the important point here is missed: At least under Linux you _have_ a choice.
Trainee BOFH -- Just give me your username & password
Windows 2000/XP is very quick with 128MB. Like some users have reported, less than 256MB and the latest Linux distros are pretty un-responsive as a desktop. Blame the newer KDE/GNOME.
seems to be getting faster and faster. Jump to 3.2 was pretty big when it comes to performance. And Qt4 brings with it even better performance (application start-up time drops by about 20%) and mem-usage (down about 15-20%). KDE has been pretty aggressive recently when it comes to performance and optimizations. Of course KDE gets more and more eye-candy, but that stuff is completely optional.
Is Linux less demanding than Windows? yes it is. If you want to, you can run the latest whiz-bang desktop from Gnome or KDE, and the performance will be roughy similar to Windows. Or you could use some lightweight UI, like Xfce. If you decide to run som graphics-heavy UI with lots of eye-candy, it's your choice, and you should expect it to be somewhat slower than some lightweight UI would be. But you have the choice.
I for one think that the progress of features and eye-candy should not be held back by that guy who still runs Linux on his 200MHz Pentium. If he wants to, he can keep on using the UI he currently uses, or switch to some lightweight UI. Or, heaven forbid: upgrade his machine! If you have the hardware, you should have the ability to put that processing-power to use by using some kick-ass UI with lots of eye-candy.
Lesbian Nazi Hookers Abducted by UFOs and Forced Into Weight Loss Programs - -all next week on Town Talk.
My first inclination was to hate this editorial... after all, I'm happily using Fedora Core 2 on my 512MB RAM 1.6Ghz P4. No problems here, it performs fine. But the more I read the more I found myself agreeing with his basic thesis.
.wmv video files and I say err, shit... I'm not positive this will play...
He's right. It *is* a shame that Linux needs more memory and CPU power than XP, yet still feels slower. It's also more annoying, btw.. in the time I've been writing this response, Rhythmbox with the mp3 gstreamer plugin, playing an mp3 from a samba share, has dropped audio three times for a second or more. My coworkers laugh at me when they send me
Linux as a desktop os is bloated, slow and unreliable. As as Linux on the desktop advocate, I often feel like a vegetarian... sure, it's virtuous, but I'm stuck eating pasta and potatoes instead of lamb chops and meatball sandwiches.
I'm just not sure of the solution. The author of the article is a little bit glib when he says "We need to put a serious emphasis on elegant design, careful coding and making the most of RAM, not throwing in hurried features just because we can." Easy to say. Hard to do. I know the Gnome developers and the rest of the thousands of people working hard for little or no money on the OS collectively known as GNU/Linux are doing their best to pay attention to elegant design and careful coding. The problem is that as many voices as there are screaming for elegant design... there are as many voices screaming for mono, java, and other "next gen" development tools.
Just fire up top and see what's running. You may be surprised by how much RAM some applications take, but keep in mind that the number reported for X tends not to be accurate (They nmap the video card RAM so it gets reported as used RAM or something like that.)
I'm trying to teach myself to set people on fire with my mind... Is it hot in here?
A lot of it is illusory. When dragging windows around, for example, XFree86 seems slow because it renders the whole process poorly. Things jitter and blink and just look horrible. In Windows and MacOS X things look nice and smooth. However, if you actually measure these things, XFree86 is faster. The same can be said for a lot of things. That is, they seem slower because the way XFree86 does things (which, by the way, is being worked on extensively thanks to people like Keith Packard).
And why do you think that MS Word pops up instantly? Think about it - it's a large program split over multiple files, all of which have to be accessed before the program can be run.
Now consider how long it takes to open a New window in OpenOffice.org once it is loaded.
Finished thinking? Good.
At this point, you are hopefully at the right conclusion - MS Word is already mostly loaded when you clicked on it to run. Almost all MS apps preload large sections of the core functionality in a standard install to improve responsiveness once the system is up and running. Alas this approach is also taken by a load of other apps on Windows with the net result that even though the desktop in Windows XP pops up faster on boot than previous iterations of the Windows OS, it can often be a couple of minutes before the hard drive stops popping and thrashing and the system becomes quiescent (and usable).
Real start up times for apps are difficult to gauge even when they aren't preloaded. OpenOffice.org is a slow starter although it is leaps-and-bounds better in version 1.1 than it used to be when it was first released and I hope that the improvements in start time continue . That said, on days when I'm writing a lot of documentation, it gets loaded in the morning once and gets used all day without complaint. If I accidently shut it down, most of the files used are still in the linux file cache and restarting it is a matter of a couple of seconds of turn over.
Cheers,
Toby Haynes
Anything I post is strictly my own thoughts and doesn't necessarily have anything to do with the opinions of IBM.
> I'm using Gnome and sometimes KDE for Mandrake and
> when I'm in WinXP the system is a lot more fluid
> then in KDE or Gnome.
I did the KDE/Gnome thing for a while, until one day when I was dorking around with some opengl stuff and playing with some test apps.. I think at the point I noticed the problems with KDE or Gnome the most was when I was testing a physics library that's out there.
Under Gnome or KDE (default config, though under Gnome I did kill off as many services as I could) I would quite literally get 3-5 fps on a test app that was dropping blocks out of the air and bouncing them around. It was unusable. On a lark, I swapped to twm for a few minutes to see if the issue was my machine or the window manager.. instant 50 fps boost running the same program. I've now sworn away using KDE or Gnome, and settled on one of the "lightweight" managers out there.
I'm sorry, but if the desktop software is that inefficient then there's no way linux is ever going to improve its status.
Those of you who are posting stuff about Fluxbox, Windowmaker, Ratpoison, *insert your favourite WM here*, are missing the point, and need to RTFA.
There is a huge segment of the market with 64-128M PCs who don't want to be forced to upgrade their hardware just so as to run XP. If Linux could run responsively on that much memory, it could own that market. But instead, modern distros are too slow.
For this segment, Fluxbox, dillo etc. are not an option - they need the user friendliness of a proper desktop environment (help browsers, tooltips, proper word processors etc). KDE and Gnome could provide that - but they need to control the bloat.
To be fair, I hear KDE has improved a lot in this respect, and my mobile PII with 192M is reasonably nippy running Gnome and openoffice. So improvements will come.
But talking about the command line and fluxbox and all that is just irrelevant.
What an elitist load of crap. There is more to computer use than compiling your kernel over and over. Some of us use our "toys" to create spreadsheets, edit video, etc. Not everything is more efficient from the command prompt.
All in all you make a really crappy salesmen for Linux.
Because people keep insisting that they be as friendly and action-packed as a typical windows desktop.
As long as the powers that be insist upon making popular desktops do everything without the need of a shell window, then they are going to be bloated. I don't care how pretty KDE is, it actually irritates me when after a default install of it I have to go hunting through the menus to find the well-hidden shell.
This is what you guys get when you keep preaching that linux is just as friendly as windows so everyone should switch. You get the same kind of bloat windows has.
I wonder... did s/he compile the lastest custom kernel for their hardware? Did they tune ATA I/O performance with hdparm? Did he disable non-essential daemons running in the background? I doubt it.
True, but then again they didn't do it for Windows either. Regular users don't care to dig that deeply into their system, they expect it will simply work. If it doesn't work at least as well as Windows out-of-the-box, well then there is another Windows user.
teeker
That kind of elitism denies the progress that both projects have made. I use my computer primarily for programming in C++ but enjoy the simplicity and convenience that both environments bring to mundane tasks such as moving files across ssh or samba. I'd hate to play music or use an instant messenger in a terminal. You don't get the depth that these graphical tools in these environments offer. Don't put them down just because you prefer one way and feel that others who don't are simple users.
Yes, but any window manager can put a spreadsheet and a graphics app on the same screen, as well. In fact, the more you're pushing the system with applications, the less you want a complicated desktop sucking down cycles.
What I'm listening to now on Pandora...
On the other hand, desktop software still often uses less resources than Windows, and if it doesn't we have lesser pretty alternatives - old GNOMEs, fluxbox, etc etc.
Me, I prefer the midpoint of XFCE, as it is minimally bloated, but still quite pretty.
im in ur
As expected on slashdot there are whole ton of stupid comments exonerating Linux for one reason or another. Instead of addressing each of them individually, I will hit a bunch in in this post.
In light of the Windowes System Requirements, is this really that big?
Why does it matter what the requirements on the box say? KDE/GNOME are as slow or slower than windows when run on the same hardware! So the fact that windows has hich system requirements doesn't excuse the fact that Linux has higher ones.
But it isn't as heavy if you don't run those Desktops and applications.
That is not a fair comparison. It is easy to be lighter weight when you don't do as much.
If you need to do everthing that you can do in windows, then Linux is signifcantly slower (mostly footprint and loading time) than windows.
But Windows preloads thier applications.
That is a good argument for Mozilla vs. IE on windows, but in most cases is not valid. Like the submitter stated, even third party applications tend load quicker on windows that most linux applications do in windows. I have used Linux for years and I can't tell you how many times I have gotten tired of the slow responsiveness of KDE and GNOME and have reverted back to my old TWM (or even more lightweight) ways. Where-as on the same machine Windows 98 or 2000 were quite responsive (just not very usefull for what I was doing).
Secondly there is no reason that Linux could not preload common applications to make them run faster, and if that makes the system more responsive they should do so. But I really don't think that would completely solve the problem, it would just make the boot time longer, and boot for a Linux desktop is already longer than for Windows XP or OS X.
So basically it comes down to the fact that it is (relatively) easy to write full-featured software and it is easy to write light-wieght software but doing both is hard. Microsoft is doing a better job than the open source desktops in that regard.
When I saw GNOME under development, I never thought to myself, "self, now that GNOME thing looks to speed things up". Never once did it even occur to me that all that PrettyFactor would be light on memory or CPU. Is the Linux Desktop getting heavier and slower? If you use GNOME or KDE or any other "user friendly" desktop environment, yes.
I've got a 486/66 at home running a mail / web / name / shell server. He's keeping up pretty well, but I must admit that console dselect takes a minute longer than I would prefer to start up. For his every day tasks, even keeping up with updates, it's more than enough-- so really, this is a question of the GUI end of things.
I wonder how well it would work to introduce one of those reviewers to a very well set up and themed tvtwm2 or whatnot. You know, without all the Kapps or Gapps. I bet the reviewer says it's snappy as a rubber band, but it doesn't do anything (most of those setups don't have any easy to find buttons, you have to click on a blank background to start anything). I think under that environment, Moz, OO, Wine, etc. work, but the plethora of free apps that make Linux interesting to the hobbyist seem to take advantage of the easy to use Glibs and Klibs. The reason for the "bloat" (i.e. heavier and slower) is the added functionality and eye candy.
You can take your lean and mean Linux Desktop, but don't expect it to run all the pretty apps nor expect it to have anti-aliasing and PrettyFactor3.0.
Attitudes like this? The parent merely speculated about why one might make one choice (a full desktop) over another (a leaner window manager). I use Gnome and am not the least bit offended; I like the eye candy. You don't see attitudes like this in the Windows community only because there are no such choices. We simply do as Microsoft says.
>A lot of it is illusory.
Isn't that the point of a windows-based system?
>XFree86 seems slow because it renders the whole process poorly
So how isn't it slow? How does a display system just "appears" slow to the user, but it actually isn't?
>if you actually measure these things, XFree86 is faster.
And what measurement is that?
If it appears slow, why isn't it slow?
The surprise isn't how often we make bad choices; the surprise is how seldom they defeat us.
I love Window Maker -- it's great, and i prefer it to GNOME or KDE any day...
However, for someone switching over to Linux from Windows, GNOME or KDE would be a better choice. It's much closer to what they are used to than Window Maker. They will be having to learn enough new things. KDE and Gnome still have their place. Personally, I like KDE, but that's just me.
I'm trying to adapt to Linux, but it's painfully slow. I've got a 300MHz K6-2 with 192MB RAM, but I'm going to have to try a slim window manager because KDE bogs everything down. My complaint is that it seems there aren't many window managers that are in a middle ground. I've looked at several of the smaller window managers, and they seem way too spartan. They're barely better than a straight Xserver. Can't you get wallpaper, desktop icons, a Start menu, and taskbar without the thing sucking resources like a sponge? That right click program menu is a waste of time because you have to minimize the apps you're running to right click for that menu.
We may experience some slight turbulence and then...explode. -Capt. Mal Reynolds
Slower/faster cannot be measured by clock speed alone. If it feels slower, it is slower. The reason is that there is more going on than just the movement of a window. There is a person moving that window. That person is likely thinking and may even be reading something on that window while they are moving it. If it is flashing and ugly, just the distraction from a thought train in progress may in fact "slow" that person's process down. It might even derail a thought and cause something to be missed that was vital. A concentration on speed instead of the holistic process of the common computer user (as opposed to the specialist) is part of the reason Linux is behind on the desktop.
Err, no. I've used more window managers under various *nix systems over the years than I care to count including Openview, Motif, Openlook, DCE, fvwm2, blackbox, WindowMaker, KDE2, KDE3, and Gnome.
They all run fine if you shut off the extra eye candy, fade/slide effects, transparency, skinning images, etc.
There are no CD player docklets on my desktop, nor midi managers, MP3 rippers, or anything else that wants to periodically check to see if it needs to do anything. If I need it, I'll start the app required at that time.
In other words, modern window managers give you the option of leaving all the glitzy CPU-wasting eye and ear candy enabled, or you can have it fast. Even WindowsXP has the same problem -- you have to shut all the junk off before it'll respond with any kind of speed.
As to memory requirements, I'll just point out that the window managers being compared don't include all the audio and internet hooks that KDE or Gnome do. Modern users expect those hooks, and they take space. Get over it.
I do not fail; I succeed at finding out what does not work.
Just because someone has no need for a gui doesn't make them elitist. The grandparent post was mainly refering to experienced computer users. Obviously a beginner needs more help, but experianced users who use DEs (I use Gnome myself even though I like to think of myself as hardcore) do it mainly because it looks nice and it has gimmicks, that's why I have always either used Gnome or KDE and am not planning on giving them up.
One can achieve a lot through a text interface, it is not the only way to do things, but it is a legitimate way to do things, and for many people it is the most efficient way to do something. File operations are especially fast from the console. Things like spreadsheets and video editors can be invoked through the console with FVWM just fine.
I agree with the grandparent. If you have the skills to live without one, using a DE is a personal preference. I have chosen to use one because of my playful instinct and the grandparent has chosen not to use one because of their desire for efficiency. These are both legitimate causes of action.
When Argumentum ad Hominem falls short, try Argumentum ad Matrem
Running old distributions is not a great idea. Remember all those security notices that you ignored? Well, they didn't go away. Old (unupdated) Linux distributions make great targets for script kiddies.
TZ
While I appreciate that GNOME / KDE aren't the lightest WMs, they're about the only ones that are proper desktops as far as mere mortals are concerned.
I'm sure you could get similar functionality by cobbling a WM, a terminal app, some kind of file browser, etc. I've put up with that kind of crap on Unix for 15 years when lesser machines such as the Mac, Amiga, Atari ST etc. had it way back then. I'm glad that the mainstream has finally left that kind of mentality behind. It doesn't stop anyone using GNUStep or E or CDE or whatever, but unless you are seriously strapped for memory, or the box lives most of its life unattended there is little point.
Personally I just enjoy having a proper desktop because I despise screwing around in some config file to add a lousy icon or to change the screen resolution, or having to run mix and match apps to be able to browse files, networks, printers etc. when they are all inconsistent with each other and the WM. Give me GNOME any day.
... to put it mildly.
I see exactly the opposite, and so do my coworkers, who primarily use Windows. Starting a year or so ago, they've all been pushing hard to get us new laptops with 1GB of RAM, because the tools we use just don't fit in 512MB... on Windows. On Linux, I can run DB/2, Websphere Application Server and Websphere Application Developer in 512 MB without hitting swap... with swap *off* if I want to, whereas their machines with the same stuff running grind continually.
(Note: To run with swap off, I have to use a different Window Manager... KDE pushes me over the edge and into mild swapping -- nowhere near as bad as on Windows, however).
As far as the size of KDE, well here are my numbers: With Linux 2.6, X and blackbox running, my laptop (Debian unstable) consumes 28MB of RAM just after boot, excluding disk cache and kernel buffers. With KDE 3.2 instead of blackbox, that number rises to 114MB, and that includes a hidden Konqueror instance, a bunch of systray apps and one GNOME app. So KDE plus some GNOME consumes 86MB more than blackbox, which is a very minimal WM. That's a lot, but it's hardly "hundreds and hundreds" of MB. Starting openoffice pushes that up by another 20MB. Mozilla (full suite) is about 40MB.
Getting back to the Windows comparisons, with Linux and KDE, my system runs acceptably well with 128MB of RAM, swapping a bit, but not too badly. With Windows 2000 it's horrible with only 128MB. It boots up okay, but as soon as I start trying to run more than one app... ugh.
With 1GB (hey, I may not *need* the RAM like the Windows users, but I'm not going to turn it down!) in my new laptop, I never yet seen my box even touch the swapfile, even with KDE, Mozilla, OpenOffice, WS, WSAD and a couple of small GNOME apps running. After being up for a while, I always see nearly 100% of RAM in use, but that's because Linux uses it for disk cache, which is a good thing.
Meanwhile, my colleagues running Windows can push their 1GB machines into swap -- although it's difficult.
Since my basis for comparison is machines running a certain set of heavyweight development tools, it's possible that the difference isn't actually Linux/KDE vs Windows, but rather the implementation of those tools on the two platforms. However, since the bulk of the tools (and the part that consumes lots of RAM) is all implemented in Java, and therefore is the same code, it's hard to see how the tools could differ that much across the platforms.
So, I'm not saying you don't see what you see, but something is clearly different, because I see completely different behavior on both my Debian and my Gentoo systems (the Gentoo box consumes less RAM than the Debian boxes for the same set of running packages, at close to the same versins).
Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
- The "nobody needs a GUI anyway" elitists
- The "nobody needs anything more than fvwm/twm/WindowMaker" elitists
- The people who wish Linux was more like MacOS, only cheaper
- The people who wish Linux was more like Windows 95/98/2K/XP, only cheaper
- The "I use my computer to do stuff, not just recompile my goddamned kernel" crowd
I could go on, but you get my point. Nobody's ever going to be truly happy, and everyone's going to find something to bitch about, despite the fact that GNU/Linux/*BSD/Open Source/Free Software gives us all a frightening array of options that will allow us geeks to build exactly the operating environment we want. This is our reward for being the "smart kids," and the only thing it costs us is a little time and effort.Apparently, though, there are some who feel that somehow they're owed this level of flexibility, but with easy, one-click installtion, too, as if the latest installers should simply read our minds and know how we want everything configured. OK, maybe that's not the mindset - what these people actually seem to be thinking is, "my way is clearly best - why can't everyone just make it work like that?" Grow up, people. Seriously.
FWIW, I just installed Mandrake 10 on my 400 Mhz PII (256M RAM, 60G total HD) at home. For the first time I decided to make a real effort to use my Linux box as a desktop system. For the most part I've been extremely successful. The vast majority of what I use my PC for is net-related, and 98% of what I did in WinXP I could do in Linux. I was already using Mozilla as my browser and e-mail client anyway, etc. But there was absolutely no doubt that KDE runs slow as ass on a system of that vintage. I look forward to the day when I can just drop $500 or so on a nice, cheap 3 Ghz system to replace that old dinosaur. But for now I'll continue the experiment and enjoy life in Linux-land, despite the fact that that old machine would run Win98SE a hell of a lot faster than it runs Linux/KDE right now. If I really need to I can fall back to my 1.1 Ghz, 512M RAM Duron running XP.