From: <And...@Be...> - 2005-06-20 05:19:33
|
Hi Antti, We are still into OI1 and see similar behavior since we are using quite = a lot of packages. Actually we hoped, that OI2 would show a different = behavior - maybe s.o. has an idea ? Cheers Andreas -----Urspr=FCngliche Nachricht----- Von: ope...@li... = [mailto:ope...@li...]=20 Gesendet: Sonntag, 19. Juni 2005 17:02 An: ope...@li... Betreff: [Openinteract-dev] More on: Preloading of everything After a good night sleep I came to the conclusion that maybe providing a = way not to preload everything is not very urgent and it might be good to = delay it for a 2.x release. But to give you some idea of what kind of benefits you might get from=20 not preloading everything, I did some poking around with a stick on = Dicole. By default the main apache thread takes up 61 Mb on startup. Leaving = languages (2 full and one paritial) uninitialized frees ~1 Mb. Leaving = SPOPS objects uninitialized frees ~3 Mb. Leaving Actions uninitialized = frees ~27 Mb. If all of these are left uninitialized, the main apache thread takes up=20 28,5 Mb. If the whole Context is left uninitialized, the main thread=20 takes up 23,5 Mb, so only about 5 Mb of Context is not in these three = parts. I also noticed that building the Setup hierarchy does a require on all=20 of the Setup classes and this, with their dependencies, seems to use=20 something like 6 Mb of space - much of which might be possible to avoid=20 and which is probably not used after startup. I'm not really sure if OI2 will ever be really usable with CGI though.=20 Even if the required initialization could be dropped somewhere close to=20 25 Mb, after leaving the 7 mb of mod_perl apache, it still leaves 18 Mb=20 of modules to be initialized on each request. But it would still be nice = to have a bit smaller apache threads when having multiple OI2=20 installations on the same machine and use CGI when developing, so that=20 one would not have to restart apache after each change. - Antti ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies = from IBM. Find simple to follow Roadmaps, straightforward articles, = informative Webcasts and more! Get everything you need to get up to = speed, fast. = http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dclick _______________________________________________ openinteract-dev mailing list ope...@li... https://lists.sourceforge.net/lists/listinfo/openinteract-dev |