PDA

View Full Version : Curious observation



Netisan
February 17th, 2006, 07:10 PM
Using monitoring services:
Under windows ram usage reaches closely the limit. HDD runs actively. Processor rate gives low percents.
Under Ubuntu ram is low, disk doesn't run, processor runs 65-100% (as per the benchmark). Computer itself is faster..

What I early noticed-there is not this typical HDD crrrrrrrrrrrr in Linux.

Stormy Eyes
February 17th, 2006, 07:21 PM
Part of it, I think, is that the Linux kernel itself handles virtual memory differently. Also, if a Linux app loads libFoo.so (a DLL), the next app that needs libFoo.so will use the copy already resident in memory instead of loading its own copy.

chimera
February 17th, 2006, 08:11 PM
Two words:

shared

libraries

mstlyevil
February 18th, 2006, 12:44 AM
Two words:

shared

libraries

Not to get too technical but there are shared DLL's in Windows. This is one of the reasons for conflicts due to bad code. But I am sure Linux has a lot more shared libraries.

fuscia
February 18th, 2006, 03:32 AM
dude, you should definitely switch to linux.

towsonu2003
February 18th, 2006, 05:49 AM
I will say this has also something to do with your hardware. Keeping in mind that my windows do not access internet, does not use firefox, and is not updated at all (not even SP1), I have:



Under windows ram usage reaches closely the limit. HDD runs actively. Processor rate gives low percents.
this is my linux behavior (hdd not active, unless needed; ram doesn't go to limit (1GB) but goes up to 400MB)


Under Ubuntu ram is low, disk doesn't run, processor runs 65-100% (as per the benchmark). Computer itself is faster..
typical HDD crrrrrrrrrrrr in Linux.
this is my windows' behavior. processor more around 30-40%, crrrr sound is in my linux during updatedb (scared the HELL out of me the first time) and mounting flash media...

I don't really care as long as I can open 6-7 openoffice windows + 5-6 tabs of firefox + calculator + connect to internet + liferea.

prizrak
February 18th, 2006, 06:44 AM
Not to get too technical but there are shared DLL's in Windows. This is one of the reasons for conflicts due to bad code. But I am sure Linux has a lot more shared libraries.
The thing in Windows is that because of DLL hell many applications ship with their own DLL's and load the copy that came with them as opposed to the system wide copy.

mstlyevil
February 18th, 2006, 06:47 AM
The thing in Windows is that because of DLL hell many applications ship with their own DLL's and load the copy that came with them as opposed to the system wide copy.

True. Which is why there are more shared libraries in Linux than in Windows. Linux does a better job of using shared libraries.

Netisan
February 18th, 2006, 04:56 PM
dude, you should definitely switch to linux.
Yes, of course.. but.. Frankly, I'm now here with windows:-# Having problems with Gnome. Need support.
The alternative is to have 2 Ubuntus - one for experiments, other for support :D