Linked by Thom Holwerda on Sun 31st Dec 2006 17:26 UTC, submitted by Charles A Landemaine
PC-BSD Just in time for the new year, the PC-BSD team is pleased to announce the immediate availability of PC-BSD version 1.3 for public download. You may download this release and view the change log. The team is also launching a web design contest for the new web site of 2007.
Permalink for comment 197851
To read all comments associated with this story, please click here.
RE: PBI and resource usage
by Doc Pain on Tue 2nd Jan 2007 00:10 UTC in reply to "PBI and resource usage"
Doc Pain
Member since:

"If PBIs contain all a program's dependencies, then won't it waste memory? After all, the run-time advatange to shared libraries is quicker startup and reduced memory consumption."

Correct is: Because PBI packages contail all dependencies, they consume more hard disk space than the respective precompiled package without the dependencies would. Files stored on the hard disk do not consume any memory (RAM).

Correct is: If you install a PBI package, it will install all the needed dependencies (i. e. the libraries) unter a certain path that belongs to this special package. This consumes more hard disk space than simply using system wide available application libraries in /usr/local/lib/ and /usr/X11R6/lib/.

And, as far as I can tell, correct is: If the installed application is run, it loads its libraries as shared libraries. Any other program can access them, as long they are loaded and they are of the needed version. Every library is only loaded once.

So, of course PC-BSD uses shared libraries, especially for the system libraries (libc, libm etc.).

I hope I'm not telling you anything wrong, but that's the way I understood it. Maybe, a more advanced PC-BSD user can tell for sure.

Reply Parent Score: 3