I would like to speed up my Gallery 3.0 installation and would like a recommendation so that I can achieve this.
Currently, I'm self-hosted on a Synology DS-410. This is a 1GHz/1 core/512MB machine. (Yes, I've set the cache timeout to 3600s per prior recommendations posted.)
By looking at the system CPU load it's clear that this little machine just gets stressed, (one can see that the CPU demand goes to 100% for at least a couple of seconds when I load an image). It's a fantastic NAS device but probably not sufficient for a Gallery 3.0 installation.
I'm wondering about an upgrade to a 2GHz/2core/1GB Synology machine or switching to a hosted solution but do not want to throw money at the problem or expend needless effort unless I'm pretty confident that doing so will achieve my goals -- less than one second time-to-image per mouse click. (Now it's at least 3-5 seconds.)
I expect that this is an issue that many have wrestled with.
Ideally, it would be very helpful to have some numerics that associate the time-to-image following a Gallery mouse click with various hardware platforms (for self-hosting) or hosting services.
For example;
Self-hosted 1GHz Atom single core , Linux, time-to-image: X seconds ; Gallery Experience Index: 1
Self-hosted 4GHz Intel i7 quad core, Linux, time-to-image: Y seconds ; Gallery Experience Index: 20
Bluehost Service, time-to-image: Z seconds; Gallery Experience Index: 5
Even better, a "Gallery 3.0 Experience Index" similar to what Windows 7 does would be a great metric to even put into a log file.
Any recommendations on platforms that will achieve a less than one second time-to-image?
Many thanks, Bob
Posts: 27300
Try some profiling to see where is it slow then focus on that.
1. edit modules/gallery/helpers/gallery_theme.php and edit the page_bottom() function:
(changed "false" to "true").
2. edit var/database.php and change the benchmark value to true:
Then there will be some performance info at the bottom of the page.
IMO hosting is cheap and you get pretty good performance and they have proper multi connections to the net.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 7
Thank you Dave. I will do a comparison on a couple of hosting services I have to determine if I get the speed I want. In the past I was't happy with the services so I yanked Gallery 3 off. But I'll have to give it another go.