This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new Linux.com!

Linux.com

Bad Idea

Posted by: Administrator on February 15, 2007 11:36 AM
Here is why:


The reason there is a<nobr> <wbr></nobr>/lib directory and not a<nobr> <wbr></nobr>/programs//lib/ directory is because libraries are shared. I'm sure Gobo uses shared libraries like everything else, but a distribution should work very hard to minimize multiple version of any one library. Not to maximize different versions. Its a waste of resources.



For example on my modest laptop i have about 70 executable in the process table, I'm using a grand total of about 100Megs of memory. Many of those programs show a size of 10 or even 20 megs of memory. If add up the size of all the running process its well over 300Meg. I don't even have 300 Megs of real memory. That's the magic of shared libraries. (and to a lesser extent copy on write, and allocating memory at use and not on request)



By not duplicating libraries we save disk space and memory, a perfect distribution to me is one that doesn't have any duplication in libraries, not only versions but functionality (KDE/GNOME anyone?). Then maybe i could get down to only using 64M of memory.


Eli Criffield

#

Return to GoboLinux's recipe for delicious package management