Hi all,
Recently I have installed the great zenphoto as my personal gallery software, but I have also found that the performance is very poor, when loading a image, the CPU idle drops to ``0'', which could be very bad, now I am not a developer, and I could use some help here.
I have read the
http://www.zenphoto.org/2008/06/performance-hacks/ performance guide. But it's not operational for me, either way, it will add more load to the server, and I don't have the additional software installed.
It seems that zenphoto trys to scan the album directory everytime an actrual album is accessed. Don't know anything more.
Thanks in advanced.
Comments
Indeed Zenphoto is filesystem based and will scan the albums folder if there are any new images, but once the images are cached (=Processd and the thumbs and sized images generated) it should not be that fast.
Please also read here: http://www.zenphoto.org/2008/08/troubleshooting-zenphoto/#22
I try disable the sharpen thum and images from the admin console and did clicked on the ``pre-cache images'' from the admin console, the performance now seems better.
Can you try it again and feel the speed as you did last time?
Thanks for your help.
how can I make a difference?
Thanks
Precaching all images can be slow especially if you have lost of big images.
http://www.zenphoto.org/2008/08/troubleshooting-zenphoto/#11
But there is actually no need to precache:
http://www.zenphoto.org/2008/08/troubleshooting-zenphoto/#22
I think that after adding gzip func to the index.php file.
It just speed up.
http://www.zenphoto.org/2008/06/performance-hacks/
And if gzip wouldn't help, what should I do to make a difference?
Thanks
But if the problem is that your connection is too slow, then compressing the served page would indeed be a help.
1) Webpages take long time to load which is better now by adding gzip func to the index page.
2) Access of non-pre-cached images eat up all cpu cycles.
Let's see if 1.2.1 can solve this problem.