|
|
Subscribe / Log in / New account

Shuttle XS29f: Linux Looks Great in Green (LinuxPlanet)

Shuttle XS29f: Linux Looks Great in Green (LinuxPlanet)

Posted Jun 26, 2009 10:43 UTC (Fri) by ledow (guest, #11753)
Parent article: Shuttle XS29f: Linux Looks Great in Green (LinuxPlanet)

"The system seemed to handle multiple applications loaded at the same time even with just 1 GB of memory."

Considering they are discussing Firefox, Open Office, the GIMP and VLC - I should bloody hope so. 1GB is more than enough for a good desktop to run lots of large applications simultaneously. One of my home PC's running KDE4 does all of the above (except Opera instead of Firefox) and never shows a real problem and that's a cobbled-together thing with the cheapest memory chips I could buy about five years ago.

Some people just assume that they have to have more in their PC than they actually do. I can't tell you the number of people who *still* slate laptops for not being "3D gaming" machines and then play on their PC's which have a PCIe card vastly inferior to their laptops onboard graphics. My current laptop actually does widescreen 3D and PhysX better than the PC's of most of the "gamers" that I know.

They are just so used to having to have a 3D card they don't recognise when top-of-the-range becomes bog-standard. The same thing happened several years ago with soundcards - the onboard sound on 99% of machines is no different for "ordinary people" than a £200 add-in card.

1Gb is fairly bog-standard nowadays, but memory is pretty much standardising between 1 and 4Gb for almost every use except high-end servers. Things like Steam's hardware survey will show you this, and that's based on the usage of "hardcore" gamers. That's partly due to the fact that 4Gb is a limit in some circumstances, but mainly because 1Gb is pretty much enough to do just about anything and 2Gb+ just gives you a nice comfort zone if it's cheap enough.

It always amazes me when someone reviews some piece of low-powered tech and marvels at how it can "load multiple applications" or "play DVD's flawlessly", etc. My 233MHz/64Mb could do that, my 500MHz/128Mb certainly could, my 600MHz/384Mb IBM laptop did it spectacularly. How is it shocking that a 1.3Ghz/1Gb device can? Yes, the apps are bloating all the time but really - running more than one app smoothly in 1Gb of RAM is hardly news.


to post comments

Shuttle XS29f: Linux Looks Great in Green (LinuxPlanet)

Posted Jun 26, 2009 12:18 UTC (Fri) by NAR (subscriber, #1313) [Link] (14 responses)

1GB is more than enough for a good desktop to run lots of large applications simultaneously.

Well, I happen to run a not so good desktop called GNOME 2.12.2 and top show me this:
PID USER PR NI RES VIRT SHR S %CPU %MEM TIME+ COMMAND
4799 e 16 0 451m 582m 7180 S 0 22.3 11:51.47 intlclock-apple
4793 e 16 0 447m 559m 9412 S 0 22.1 14:50.55 gnome-panel

My English is not sufficient to describe my feelings about this.

Shuttle XS29f: Linux Looks Great in Green (LinuxPlanet)

Posted Jun 26, 2009 14:44 UTC (Fri) by timschmidt (guest, #38269) [Link] (12 responses)

You're not reading top's output properly. The RES and VIRT columns do not accurately represent the true physical amount of memory used by a process. In fact, measuring the actual amount of memory used by a process on a modern OS (Linux and Windows at least) is a _very_ hard thing to do. AFAIK, nothing short of running said process with valgrind will do.

Shuttle XS29f: Linux Looks Great in Green (LinuxPlanet)

Posted Jun 26, 2009 16:26 UTC (Fri) by ledow (guest, #11753) [Link]

Not only that, but a lot of programs self-adjust to the installed memory. If you were to run on a 512Mb machine, it would still work, it would just use less for certain tasks and/or heavily optimise certain caches.

Shuttle XS29f: Linux Looks Great in Green (LinuxPlanet)

Posted Jun 26, 2009 16:27 UTC (Fri) by cortana (subscriber, #24596) [Link] (1 responses)

VIRT sure, but I thought RES was the portion of the process' virtual memory that is resident in physical RAM?

Of course there are other resources to consider such as memory-mapped files, memory allocated on behalf of a process by the X server, etc. But the RES column doesn't sound too wrong on my system:

208M epiphany-browser
62776 X
45600 evolution
39204 emapthy
34104 gnome-panel
31388 tomboy
25228 nautilus
24292 xchat
23364 gnome-power-manager
22800 nm-applet
21908 gnome-terminal
20248 vim

and so on

Shuttle XS29f: Linux Looks Great in Green (LinuxPlanet)

Posted Jun 26, 2009 18:14 UTC (Fri) by drag (guest, #31333) [Link]

There are a lot of shared libraries used in Gnome. So how Linux deals with that is that it loads up the libraries once in ram and then that portion of ram is re-used for multiple applicaitons.

The RSS size is what it would be if you were to use that particular application in a completely stand-alone manner. (which isn't really accurate either since most programs depend on something like gnome-keyring or whatever to work properly).

So if you were to try to run gnome-panel in KDE with no other gnome stuff then that it would really use up that 30MB of RAM. But in Gnome at least 1/3 of the application is shared among other applications so the overal memory usage will be much less then it originally seems.

This is why you will see relatively low real-world games by using a 'lite' system like XFCE over Gnome. Even though XFCE avoids gnome libs applications still tend to need the same sort of functionality and instead of using shared libraries they invent that functionality on their own. So depending on your applications you can actually end up using MORE resources in a 'lite' environment rather then just sticking with Gnome and using pure gnome* stuff.

*Of course pure gnome stuff is rarely used. Ubuntu, Fedora, et al ship with configurations that use a lot of non-gnome stuff like OpenOffice.org or Firefox, which duplicate a hell of a lot of the functionality provided by gnome/gtk libraries. With the simple addition of those two programs, running simultanously, you will effectively double the memory requirements of your desktop.

Shuttle XS29f: Linux Looks Great in Green (LinuxPlanet)

Posted Jun 26, 2009 16:27 UTC (Fri) by NAR (subscriber, #1313) [Link] (1 responses)

I don't know, but my computer tends to swap even with 2 GB RAM, so I really do think there are memory leaks in those particular applications. I also do think that if they can't write/release a simple clock applet without memory leaks, then there are serious problems with the development process.

Shuttle XS29f: Linux Looks Great in Green (LinuxPlanet)

Posted Jun 26, 2009 16:35 UTC (Fri) by drag (guest, #31333) [Link]

There is some sort of kernel problem with some versions of Intel driver that cases the kernel to use large amounts of RAM in a way that does not show up on typical userspace tools.

I don't know what the hell was going on.

I was confused on how to deal with it and tried to file a bug report, to which I was informed I did not know what I was talking about and was left with no explanation as to why 'free' was reporting only 400 megs of a 2GB system was used while the system was swapping heavily.

So I gave up.

It seems that later versions of the kernel some how magically fixed this problem, but I have no idea.

Shuttle XS29f: Linux Looks Great in Green (LinuxPlanet)

Posted Jun 26, 2009 16:30 UTC (Fri) by drag (guest, #31333) [Link] (6 responses)

You can get a rough estimate though.

The easiest way to look at it is to use the gnome-system-monitor, although you can get similar by using the ps and playing around with the "-o %format" output options.

So according to the gnome-system-monitor I am using about 399MB of ram for active processes. Which is about 10% of the total amount that I have on this system.

when you take a look at gnome-panel it has a 348MB 'Virtual Memory' used. But the actual amount of memory that it is using is 30.5MB. Out of that 11.4MB is shared with other applications.

So in fact the penalty for me running Gnome-panel on a Gnome desktop is about 19MB. Which is quite a bit for a normally static set of pixels, but the utility of it for me it is a nice trade off.

-------------------

From experience you need to have about a 800-1ghz Pentium-III processor with 512MB of RAM to run Gnome comfortably.

XFCE does a little bit better, but it's not so much better that you can comfortably run it in 256MB. You can, but I would not want to use such a system.

And it's similar for KDE.

It seems to me that any system of similar complexity you are going to use about the same amount of RAM and resources and there isn't anything you can do about it.

If you want simplier system then LXDE provides a familiar desktop environment for most folks and can run comfortably on a 128MB PC, of course then your resources are dictated by the applications your running.. basically if you want to run both Firefox and OO.org side by side your going to want more then that.

The Grand Guignol

Posted Jun 29, 2009 5:35 UTC (Mon) by eru (subscriber, #2753) [Link] (5 responses)

It seems to me that any system of similar complexity you are going to use about the same amount of RAM and resources and there isn't anything you can do about it.

Maybe that is true in the context of the X11 GUI architectures (I hope it is not...), but when you look at that Other OS, you find its older revisions run happily with 128M or less while providing as much (or more) user-friendliness as up-to-date Gnome or KDE. I wonder why. Some guesses, probably wrong:
- Too much duplication of data, because of excessive layering? Eg. an icon on the screen lives in screen memory, an X server off-screen buffer, and also in some representation inside the app?
- Too many GUI libraries doing more or less the same thing, and a lot of them in simultaneous use when typical desktop app combinations are loaded? In Windows, everything goes through the Win32 API. While not perfect, a simple app interacting with a user (eg. fill a form to set values for something) can be coded within it fairly easily, and it will have a very small code and data size.
I really don't know, I'm no expert in GUIs. All I see is the GUI stuff consumes more and more resources in each revision, while NOT providing noticeably more value. And staying with old revisions is not really an option, because their support drops, and occasionally new apps or worthwhile new features for old apps do appear and are not compatible with an "obsolete" system (library revisions and so on). Linux has its own version of the "upgrade treadmill", it just is powered in a bit different way from the Windows one.

The Grand Guignol

Posted Jun 29, 2009 7:30 UTC (Mon) by dlang (guest, #313) [Link] (4 responses)

older versions of linux desktops also worked fine in less memory, but the gnome and kde advocates claim that their desktops do a lot more than the older desktops (linux or windows) did, and that's what needs the memory.

for myself, I really don't need most of the extra 'desktop' features. If I couldpick and choose a couple of support daemons without dragging in the entire mini OS that the gnome and kde have become I would.

The Grand Guignol

Posted Jun 29, 2009 9:35 UTC (Mon) by eru (subscriber, #2753) [Link] (3 responses)

The largest practical advance in desktop Linux environments during this decade has been that it is now usually possible to install and maintain a desktop Linux, and even access removable media (wow!), without frequent trips to the command line, or manually editing configuration files. This is very good! But I don't think this justifies the resource consumption increases. After all, Windows and Mac systems were doing it long ago, on much less powerful systems. This bloat problem is a bit like the cosmological problem of dark matter...

The Grand Guignol

Posted Jun 29, 2009 9:43 UTC (Mon) by dlang (guest, #313) [Link] (2 responses)

very little of the huge amount of 'stuff' that is gnome or kde are actually relavent to the two features that you mention.

the X configuration solutions are independant of the desktop (although there are tools available as part of the desktops to tweak the config)

access to removable media is automounter plus a single app, again, not very involved with either gnome or kde

both of these things are available if you the same windowmaker desktop that I ran many years ago with 128k of ram.

the one thing i haven't been able to figure out a clean way to do it in windowmaker is to run multiple monitors, but I haven't really tried in the last year or so.

The Grand Guignol

Posted Jun 29, 2009 10:35 UTC (Mon) by eru (subscriber, #2753) [Link] (1 responses)

access to removable media is automounter plus a single app, again, not very involved with either gnome or kde

I have sometimes tried the automounter approach, but it has the problem that the media is not noticed when you insert it, only when you access it (and to do so you have to explicitly know where it gets mounted in the directory hierarchy). It is also useful for the GUI to immediately react to the inroduction of the new medium (like make the new medium appear in a file manager). This is where I thought the D-BUS and related stuff comes in. Or are there other ways to get the same effect?

The Grand Guignol

Posted Jun 29, 2009 16:59 UTC (Mon) by dlang (guest, #313) [Link]

actually now that I think about it more, I think it's done by udev or the hotplug script. hotplug gets informed when something new gets plugged in and detected by the kernel, then it calls udev which mounts the device.

the only place d-bus would get involved (and I'm not sure that it is) is in communication to desktop daemons, and while it's a nice touch to have the new device pop up automagicly, it's not that bad to have to hit refresh to see a new device that you just plugged in.

Shuttle XS29f: Linux Looks Great in Green (LinuxPlanet)

Posted Jun 26, 2009 16:21 UTC (Fri) by cortana (subscriber, #24596) [Link]

To be fair, you appear to be running some comedy fork of the GNOME panel that includes an SVG image with an incredibly detailed outline of the planet's continents that is rendered at a huge size and then shaded with a ray tracer, before being scaled down to be 200 pixels wide...

I believe these features were merged into the GNOME panel for version 2.22, and the GNOME developers did a much better job: on my system (Debian applies no substantial patches to GNOME packages, so this is practically as good as using upstream's version directly), gnome-panel has 33.3 MiB resident. This is still too high IMO, but it is far more reasonable than the 900 MiB that it consumes on your system!

some circumstances

Posted Jun 26, 2009 15:02 UTC (Fri) by tialaramex (subscriber, #21167) [Link]

“That's partly due to the fact that 4Gb is a limit in some circumstances”

For the Windows gamers who make up Steam's audience, Win64 is generally not an option, both in the sense that there's a good chance it is missing a driver or incompatible with some of their software, and because it probably wasn't offered to them with the PC, and they're surely not going to upgrade to it afterwards.

I think this will look like a blip on long term charts, with Windows PC buyers getting no extra RAM for a few years through to say 2010, and then suddenly it shoots up - once you /can/ put 8GiB into a desktop PC and expect it to work (ie most PCs come with Win64) the prices for the larger DIMM sizes come down, and suddenly 4GiB is "entry level" ie not enough.

I certainly haven't seen any sign that the DRAM industry expects people to decide that for some reason 2^32 is enough forever and they'll stick with that. If not for Microsoft's difficult relationship with ISVs and hardware vendors, I think 6GiB would already be commonplace.

Shuttle XS29f: Linux Looks Great in Green (LinuxPlanet)

Posted Jun 26, 2009 15:27 UTC (Fri) by drag (guest, #31333) [Link] (1 responses)

> It always amazes me when someone reviews some piece of low-powered tech and marvels at how it can "load multiple applications" or "play DVD's flawlessly", etc. My 233MHz/64Mb could do that, my 500MHz/128Mb certainly could, my 600MHz/384Mb IBM laptop did it spectacularly. How is it shocking that a 1.3Ghz/1Gb device can? Yes, the apps are bloating all the time but really - running more than one app smoothly in 1Gb of RAM is hardly news.

It's news if your a Windows user. XP will be fast for a while and it'll be like that until you start using it and installing software in order to get stuff done.

After that then only very fast computer is a fast computer.

Shuttle XS29f: Linux Looks Great in Green (LinuxPlanet)

Posted Jul 2, 2009 19:06 UTC (Thu) by NRArnot (subscriber, #3033) [Link]

Pleased to see it supports 4Gb, one of the annoyances with Intel Atom is that it supports only 2Gb. But does it have the x86-64 extensions? or PAE?

And I wonder whether it can run VMware (which does NOT require the VT extentions, by the way).


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds