Hi,
I am in the process of making online social network/community website... Basically similar to myspace.... I recently moved from shared hosting to VPS (obvious reasons). It is a Debian Etch3 box with 128 Mb RAM burstable to 256 mb..... That's for now, I will get additional 256 MB of RAM next month. I set up Apache/2.2.3 PHP/4, Mysql5, eAccelerator 0.9.5
What I am concerned mostly now is page execution time. First I thought mysql was slow, but now I am not sure.... For example, for the front page, I get:
Executed 80 queries in 774.35 milliseconds. Queries taking longer than 5 ms and queries executed more than once, are highlighted. Page execution time was 2060.83 ms.
Frontpage is mostly lots of panels, some of them display cached blocks, some of them display random SQL result. Why are queries executed in 0.7 seconds, and page execution time is 2 seconds ??? That surely has to be something with Apache configuration or php configuration.
in php.ini I set up memory_limit to 64M.
for eAccelerator I set up shm to 32M.
I really want to find out why is there such a big difference between query execution time and page execution time.... Page execution time should be a litlle bit higher than query execution time, right?
So, if you have any pointers for me where to look for solution, I would be more than thankful to you.
Thanks in advance
k.