Fredrik Jonson wrote: > Is this really correct? How many visitors do you have per day? I > would expect that a normal site on a 1.5 GHz machine would stand > to be slashdotted at least. =)
It's way better than my machine, but then I've not stress-tested it for more than a few hours at stroke. But if your pages get very complex, load goes up. But if your pages uses lots of style elements, you really do want mmp+apc. > With 512 meg ram should swapping should almost never occur. Well, > atleast not on a normal website. Is this very much different in > Midgard? That depends. With mod_midgard, the entire page exists in memory * 2 during execution, since we have to pre-parse the entire page to rework te midgard-specific stuff to plain PHP (since we can't touch the engine like we used to in PHP3). With mod_midgard-preparser, the initial preparsing is done once and stored to disk until the page or its dependants change, so you save the memory and effort of preparsing for each single request. It's not a full 100% benefit, since the preparser only handles page/style elements, not snippets, nor page/style elements contained in an eval. But for a typical site, all the layout work is preparsed, and that can be a win. Add APC to that, and most of your page could be ready-to-execute. Emile --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
