• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Is linux any more efficient at using ram then windows?

daniel49

Diamond Member
title says it all.

linux seems a lil faster gaming on line but then that might be because its not weighed down with all the taskbar junk my xp has.
whats your thoughts?
 
Hard to say. But I'd bet that Linux's memory management is more efficient.

Keep in mind that efficient memory management means:
"use as much main memory as possible and provide the most effective way to provide memory space to applications for fastest operation".

Or something like that. In other words, unused memory is wasted memory.

It's very hard to tell unless you do extensive benchmarks though and there are other things that are fast with Linux such as I/O scedualers and such that are superior to windows, more then likely. And out of those there are several to choose from depending on your application.

Other things aren't so hot for Linux.. for instance if you use a Gnome desktop enviroment when you start applications they do a lot of polling for files that may or may not exist.. and all this wastes a lot of time compared to Windows applications starting up. Windows has the registry, which is fast.. something like OpenOffice.org may spend 2-3 seconds just searching around the harddrive for files when it starts up. Also something like that is bloated compared to something commonly used in Windows like Word.

Microsoft spends a lot of time making sure that everything is 'snappy'. When you press a button to start a program, or do something.. they make sure something happens right away. They pre-load application data into memory so that it's already loaded when you start things like IE or MS Office. IE itself is just mostly a shell that calls system libraries to build a application, and most of that data is already used when your desktop and taskbar and such start up. It doesn't matter so much that it is usable quicker, or that it does something usefull right away.. it matters that whatever happens first, happens quickly.

Ultimately it may take something longer to _finish_, but the important part is that it starts quicker.

With Linux application designers and such are not so sophisticated at doing stuff like that. When you move windows in Linux, they tear. When you hit the application menu for the first time after a boot it may take a half of a second to do something. When you launch a application you may see nothing for a few moments which makes you think that maybe it didn't do anything for a moment, which increases the perception of slowness.

So to get a 'feel' for the difference is a very difficult thing. What you end up experiencing goes thru several layers of software code in either operating system. Very subjective stuff.

Also keep in mind that Linux has had four-five years of developement since Microsoft last released a desktop OS. Linux 2.6 series memory management and scedualing system is state of the art and very quick compared to other (contemporary) operating systems and has had extensive developement work on it from companies like IBM and SGI, which are very good at this sort of thing.

Also file systems are in a high state of tune. One that is considured relatively slow, ext3, is still going to end up being much faster then NTFS for many things.

And I/O speed difference will mask many differences in memory management. Maps may load up quicker, games start faster.. but the FPS (which is dependant on hardware instead of software so much because it's a single task, single threaded thing most of the time) is going to be pretty close to the same, unless you have a ATI card, in which case it will suck.
 
I feel like it does, and here is my example....

Old HP Server (4x P2Xeon 500's, 2 GB ram) running apache.
Using Radview Webload s/w (used by the company to do professional web load and stress testing) I sumulated a few hunder users hitting a static page (single image, about 1 meg for the page+ image)

Filled my 100 Mb card, changed to one of the gig cards, got about 140 Mb/s outbound traffic (as reported by MRTG on the switch interface). Let this run for 24 hours. Checked top, and I was at ~15-20% CPU usage and had 512+ free ram, swap was a very small amount used (12K, iirc).

I havn't put windows on that machine, but I would think that 2K Adv. Server with IIS (or even apache) getting that load it would be hitting the disk alot more then linux was. Watching the disks in the morning (lights were out) it was pretty much never hitting the raid array that the swap was on.
 
I tried Mandrake 10 a while back on an old machine and the coolest think I noticed was that Linux had loaded the OS & programs in to the RAM and so the RAM was 100% used & no HDD activity, where as on my primary machine I give Windows 1.5GB of RAM and it only uses 512MB and HDD THE PAGE FILE!!!!.

Note: I dont use linux on a regular basis and this was a one time experience.

So I'd say yes Linux RAM management is better than Windows.
 
Originally posted by: SGtheArtist
I tried Mandrake 10 a while back on an old machine and the coolest think I noticed was that Linux had loaded the OS & programs in to the RAM and so the RAM was 100% used & no HDD activity, where as on my primary machine I give Windows 1.5GB of RAM and it only uses 512MB and HDD THE PAGE FILE!!!!.

Note: I dont use linux on a regular basis and this was a one time experience.

So I'd say yes Linux RAM management is better than Windows.

Most apps use the page file regardless of how much physical memory you have installed. The page file is not the same as virtual memory, despite Microsoft's confusing nomenclature surrounding the topic.

As this has been discussed numerous times, I'll defer to the more extensive threads on this topic in the Operating Systems archives.
 
Still... it doesn't account for windows being a binge and purge operating system... where Linux is a Healthy system all around.
 
Back
Top