2 ms·
Eh, I can fit one copy of libc in L2 cache, but not 30 copies.
by tedunangst 11y ago
Eh, I can fit one copy of libc in L2 cache, but not 30 copies.
- mwcampbell 11y agoWhat if we add kernel same-page merging to the mix? Might still be a little less efficient at run time than the optimal use of shared libraries. But shared libraries make packaging more complex, especially if one does it Debian-style, with each shared library in its own package, a separate -dev package, etc.
- cbsmith 11y ago> What if we add kernel same-page merging to the mix? Might still be a little less efficient at run time than the optimal use of shared libraries. Might be a whole lot less efficient than even sub-optimal use of shared libraries. A optimizing linker pulling together static libraries is going to make page-merging the executable almost impossible.