[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Dynamisk linkning...



Hej..

Efter at have bandet en del over hvor langsomt Mozilla starter op, og inspireret 
af en artikel fra lwn.net, kiggede jeg lidt nærmere på fætteren. 

Det viser sig at Mozilla består 106 dynamiske biblioteker!!! Ved opstart bruges
omkring 43 af dem, og ialt siger /proc/../maps at 150 biblioteker et mappet. 

Så tror pokker det er snot langsomt at starte op med alle de relocationer der
skal foretages. 

Er der nogen her der følger med i mozilla projektet og kender en evt. forklaring
på at opdele det i så mange dynamiske biblioteker hvis mindst 50 af dem alligevel
bruges på en gang? 

Hvad skulle fordelen være at opdele det i _shared_ libraries, når der nu kun er en 
applikation der forventes at bruge dem? For bagdele må der da være nok af? 
Alle funktionskald bliver til indirekte hop, og der optages hukommelse til 
alle symboltabellerne. Og derudover selvfølgelig den uudholdelige opstartstid
pga. relokeringen.

Et andet hade-program er StarOffice der består af om muligt endnu flere bibilioteker.

Hvorfor?

Jeg synes der er påfaldende at begge disse nævnte programmer bruger urimelige
mængder hukommelse?

Er der nogen der kan bringe oplysning til mit sind?

Mvh Morten
-- 



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:08 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *