KDE 4 Uses 40% Less Memory Than 3 Despite Eye-Candy 566
An anonymous reader writes "Pro-Linux reports that KDE 4, scheduled to be released in January 2008, consumes almost 40% less memory than KDE 3.5, despite the fact that version 4 of the Free and Open Source desktop system includes a composited window manager and a revamped menu and applet interface. KDE developer Will Stephenson showcased KDE 4's 3D eye-candy on a 256Mb laptop with 1Ghz CPU and run-of-the-mill integrated graphics, pointing out that mini-optimizations haven't even yet been started." Update: 12/14 22:40 GMT by Z : Or, not so much. An anonymous reader writes "The author of the original KDE 3.5 vs KDE 4.0 memory comparison has come out with a more accurate benchmark. In reality, KDE 4.0 uses 110 MB more memory than KDE 3.5.8.
Now if only... (Score:0, Informative)
Well (Score:5, Informative)
Re:Just tried (Score:2, Informative)
Re:Sweet! (Score:3, Informative)
However it is slower and bigger in the version demonstated, since a lot of debug code is in there.
MS is just looking more and more incompetent all the time.
Re:less memory! (Score:5, Informative)
Re:Now if only... (Score:2, Informative)
Re:Well (Score:5, Informative)
Re:To compare with GNOME... (Score:5, Informative)
Don't have a background? Just the frame buffer to activate that graphics mode itself is 5.4 megs, regardless of what you put on it.
Just to keep things in perspective here. That Commodore 64 you had ran nicely in 64k of ram, but it also only had 320x200 graphics (160x200 in 4-color mode).
Re:misleading article (Score:3, Informative)
I don't even want to think how Tiger would have run on it. The latest version I ran on it was Panther.
Backwards compatibility? (Score:2, Informative)
Strange, considering everything I read about Vista, and my current experiences (problems installing Adobe Reader, impossible to run PDFCreator, some hardware that didn't work well), Vista broke much of backwards compatibility. So as XP broke it too, by not running DOS programs anymore. Therefore, the idea that Vista is bloated because of backwards compatibility sounds strange to me.
On the other hand, I recall reading something about network traffic problems on Vista when copying files, and IIRC it was related to it doing some fiddling on the network stack to make it more difficult to copy media files, that is, DRM related.
I actually tend to believe that more of Vista's bloat is due to DRM than it's due to backwards compatibility, of which it actually has very few.
Re:less memory! (Score:3, Informative)
Re:setup (Score:5, Informative)
Sorry but you are completely full of shit. OS X does not run for any reasonable definition of "run" on 32mb of RAM.
Have a look at the minimum requirements for OS X 10.1 which you say was the most efficient OS X.
http://en.wikipedia.org/wiki/Mac_OS_X_v10.1#System_Requirements [wikipedia.org]
Notably: RAM required 128 megabytes
And you're saying you did OpenGL development on a quarter of the minimum requirements. Riiight.
Troll. Nice one though. The moderators believed you at least.
Results are completely false (Score:5, Informative)
Has no one pointed out that the numbers are actually completely, utterly wrong? See Lubos and Thiagos (two high-ranking KDE and Qt devs) comments here:
http://www.kdedevelopers.org/node/3138
See the original authors retraction, here:
http://www.jarzebski.pl/read/kde-3-5-vs-4-0-round-two.so
So really, it should be "KDE4 uses 75% more memory", which is actually incredibly lame, but doesn't make for as good a title. I'm absolutely amazed that usually cynical slashdot readers have accepted this so uncritically.
Re:Hmm (Score:4, Informative)
Re:Actually... (Score:3, Informative)
Re:Here we go again (Score:2, Informative)
Re:To compare with GNOME... (Score:3, Informative)
Re:Actually... (Score:3, Informative)
I was running Debian on a 300 MHz Pentium II back in 2003, when the rest of the world was using Windows XP. Performance wasn't an issue. Windows XP wouldn't have even installed on that hardware, much less run. (I did have Windows 2000 creaking along for a while, though, to run some Windows-only apps.)
P.S. Dynamic libraries actually reduce memory consumption because multiple apps can share the same memory.
Re:Results are completely false (Score:4, Informative)
Aaargh - it get's worse. In the new analysis, he doesn't even include X-server pixmap usage, which Qt4 abuses more than Qt3: in Qt4, all widgets are double-buffered by default, and since the majority of apps are basically windows that are almost 95% covered in widgets, this adds up, fast - a kwrite window, maximised on a 1600x1200, 24-bit screen will gobble up a whopping 6MB almost, just in double-buffering. When you take into account the fact that composite then redundantly double-buffers the entire window *again* (12MB per window, now!), it just gets even worse! So KDE4 is likely using more than twice as much RAM as KDE3, yet the headline reads "KDE4 uses 40% less memory than KDE3" and is tagged "amazing" - what a clusterfuck!
And since people have short-memories, when they do discover that KDE4 takes up hugely more memory than KDE3, they'll remember "KDE developers said it used less, not much more - liars!" rather than "Someone not affiliated with KDE published incorrect benchmarks and we didn't take time to verify them". As if the KDE guys need more abuse hurled at them :/
Re:Actually... (Score:3, Informative)
First, you have just switched the issue from the OS to the applications.
That's almost-justified, as users generally care more about their apps than the OS.
Anyway, I won't challenge the fact that MS Office is made well, at least in the features vs. footprint and speed respect.
The UI is a whole new part of discussion, and quite irrelevant here.
Anyway, footprint and startup times are not necessarily equivalent.
Don't know about EOG, but Enlightenment's image viewer is about the fastest I've ever seen. I haven't measured its startup time, but I have never seen anything display or resize pictures faster.
Notepad cannot be compared to any other editor, as it is the most useless piece of crap in the editor world.
GEdit has tabs, syntax highlighting, and a whole bunch of other features that Notepad doesn't have.
And yet again: startup times and memory footprint are not the same.
Anyway, the issue here was the OS and its interface; KDE vs. Aero, if you like.
KDE added new features, and so did Aero; KDE has a lower memory footprint than the previous version, while Aero patently doesn't.
On Linux, a compositing UI is available on a much lower-spec'd machine than on Windows.
I have absolutely no idea how their startup times compare, but once up and running, the difference is evident.
I have two 600 MHz machines, one with Linux, the other with WinXP.
Linux is slow, especially if running Gnome, like most people do, but WinXP is a slideshow.
And if you start E17 under Linux, the difference is amazing.
Re:To compare with GNOME... (Score:5, Informative)
Re:Wow. (Score:4, Informative)
Most eye Candy doesn't use much memory. (Score:4, Informative)
Lets take the bouncing Icon. There are two normal ways to program this. Get the icon render each frame for each bounce and save it in memory. And just load the memory and play it. That way it plays smooth and quick every time, because it is in memory all pre-rendered. Now with a faster CPU which spend most of its time idle it can render the icon on the fly between each frame and still keep it smooth so all it needs to do is store the main image the next image to be displayed and perhaps what is currently on the screen. So with a 16x16x8 icon that is around 2k of ram using the CPU method it will only take 6k of ram. vs around 40k of ram for the bouncing icon. But if the CPU couldn't do the work in the time needed to get it done using the memory is the only good option. Memory vs. CPU has always been a balance.
Re:Bad measurements (Score:3, Informative)
pmap -d `pidof $application`
Re:I'm Curious (Score:3, Informative)
Re:Hmm (Score:3, Informative)
Trolltech released QT v2.2 under the GPL back in September 2000 [linuxdevices.com], after which RMS stopped complaining and granted forgiveness [linuxdevices.com] as they did what they wanted.
Re:setup (Score:3, Informative)
He said 10.0 not 10.1. Even so, I think folks are entitled to be a little hazy on machine specs from yesteryear. OS X 10.0 "ran" quite well on 64MB of RAM. (And 333 MHz is actually a pretty liberal estimate. I had 10.2 work quite nicely on an aging G3 Powerbook.)
http://en.wikipedia.org/wiki/Mac_OS_X_v10.0 [wikipedia.org]
Re:Unbloating? (Score:3, Informative)
It possibly dates back to St. Augustine or even Cicero, but the most common wording of the idea in English is a straightforward translation from Pascal's.
Re:Wow. (Score:3, Informative)
Since our colleagues insist on being pricks, I found this on the Security Now [grc.com] site: