Hello,
I'm currently trying to make Caudium startup faster. For now it takes 21 seconds for it to load all the modules on my desktop and I found a little improductive to wait so long when I develop on it and restart it often.
I tried to dump the Caudium's pmods as pmod.o files with the Tools.Standalone.dumpit function. The dump works good but the startup is not faster so I wonder, how does Pike load .pmod.o ?
Does it really make things faster?
Do I need a special thing to load .pmod.o if the pmods are not within the Pike official path for modules ? (thought there are in the path given with -M).
Thank you for your answer.
/ David Gourdelier
You replace the master in caudium I guess. Does the new master load dumped files/prevent the old master form loading them?
/ Martin Nilsson (provokatör)
Previous text:
2004-04-05 18:54: Subject: Pike & dumping
Hello,
I'm currently trying to make Caudium startup faster. For now it takes 21 seconds for it to load all the modules on my desktop and I found a little improductive to wait so long when I develop on it and restart it often.
I tried to dump the Caudium's pmods as pmod.o files with the Tools.Standalone.dumpit function. The dump works good but the startup is not faster so I wonder, how does Pike load .pmod.o ?
Does it really make things faster?
Do I need a special thing to load .pmod.o if the pmods are not within the Pike official path for modules ? (thought there are in the path given with -M).
Thank you for your answer.
/ David Gourdelier
/ Brevbäraren
Martin Nilsson (provokatör) @ Pike (-) developers forum wrote:
No but I guess the problem is that sometime the decoder isn't faster than compiling at least it's not significant in case of pmods for Caudium.
You replace the master in caudium I guess. Does the new master load dumped files/prevent the old master form loading them?
/ Martin Nilsson (provokatör)
Previous text:
2004-04-05 18:54: Subject: Pike & dumping
Hello,
I'm currently trying to make Caudium startup faster. For now it takes 21 seconds for it to load all the modules on my desktop and I found a little improductive to wait so long when I develop on it and restart it often.
I tried to dump the Caudium's pmods as pmod.o files with the Tools.Standalone.dumpit function. The dump works good but the startup is not faster so I wonder, how does Pike load .pmod.o ?
Does it really make things faster?
Do I need a special thing to load .pmod.o if the pmods are not within the Pike official path for modules ? (thought there are in the path given with -M).
Thank you for your answer.
/ David Gourdelier
/ Brevbäraren
No but I guess the problem is that sometime the decoder isn't faster than compiling at least it's not significant in case of pmods for Caudium.
Sounds strange. Are you absolutely sure that the decoder is successful?
/ Martin Stjernholm, Roxen IS
Previous text:
2004-04-06 14:09: Subject: Re: Pike & dumping
Martin Nilsson (provokatör) @ Pike (-) developers forum wrote:
No but I guess the problem is that sometime the decoder isn't faster than compiling at least it's not significant in case of pmods for Caudium.
You replace the master in caudium I guess. Does the new master load dumped files/prevent the old master form loading them?
/ Martin Nilsson (provokatör)
Previous text:
2004-04-05 18:54: Subject: Pike & dumping
Hello,
I'm currently trying to make Caudium startup faster. For now it takes 21 seconds for it to load all the modules on my desktop and I found a little improductive to wait so long when I develop on it and restart it often.
I tried to dump the Caudium's pmods as pmod.o files with the Tools.Standalone.dumpit function. The dump works good but the startup is not faster so I wonder, how does Pike load .pmod.o ?
Does it really make things faster?
Do I need a special thing to load .pmod.o if the pmods are not within the Pike official path for modules ? (thought there are in the path given with -M).
Thank you for your answer.
/ David Gourdelier
/ Brevbäraren
/ Brevbäraren
pike-devel@lists.lysator.liu.se