|Performance Tips for Large vBulletin Forums?|
Looking for advice on increase page load times on large forums
I'm running a forum with 900,000 posts, it's serving 70k-90k pageviews per day from a dedicated server, and I get the feeling that my site could be a lot faster. The server admin installed memcache and gzip in December with the following results:
-Google Webmaster Tools average load speed from 4.3 seconds down to 3.6 seconds.
-Page views (adjusted for visitors) up 14%
Over the past month, load time has been going in a generally upwards direction and is now at a ridiculous 4.6 second average load speed. We're receiving more visitors than ever before, but average pageviews are going down. Nothing else about the site has changed, no new plugins have been added.
Dedicated Server Hardware:
Processor: Dual Xeon E5520 Quad Core (Gainstown)
Memory: 8GB DDR RAM
Hard Drive: Dual 15,000 RPM 147GB SCSI RAID 1
I'm fairly sure that the server is overkill for the site, load average barely goes above 1 during peak hours.
Any ideas about what is killing my site's speed?
Welcome to WebmasterWorld, jkadmin! That's a fair number of posts, but not a pageview number that should overwhelm your beefy server. One key question - in the vB admin panel, how many users do you see on during your peak periods? And does the page load time get a lot longer during periods of high usage?
The 15K drives are good, and the fact that your server utilization is staying below 1 is also good. I'd check memory use, too, but the 8GB sounds like enough for your load.
I'm in the process of rolling out a speeded-up vB forum, and the lead developer working on it found a lot of little things that cause slower loading pages. I suggest using a tool like Fiddler or similar to check every element on the page for time to load. ySlow is another useful tool. You may find ad code, analytics code, images, or other content that is slowing you down.
One time-honored approach is with vB forums is to try to minimize the queries that are needed to build a page. There are plugins that will display the number of queries and page gen details. If you are displaying info like "who's online" that aren't necessary for your community, turn those features off.
I'd also check vB's own forum for discussion of this topic. And, if all else fails, throw hardware at the problem. Splitting your web server from your database server is often the first step, followed by load-balancing more than one web server. In your case, though, I think you should be OK with your hardware unless you are getting short bursts of volume that overwhelm it.