Go Back   vBulletin Setup > Front Desk > Articles, Interviews & Tutorials

Reply
 
LinkBack Thread Tools Display Modes
Old 06-28-2006, 12:11 AM   #1
Forum Enthusiast

Feedback Score: 4 reviews
 
BamaStangGuy's Avatar
 
Join Date: Sep 2005
Location: Alabama
Posts: 2,483
BamaStangGuy has a reputation beyond reputeBamaStangGuy has a reputation beyond reputeBamaStangGuy has a reputation beyond reputeBamaStangGuy has a reputation beyond reputeBamaStangGuy has a reputation beyond reputeBamaStangGuy has a reputation beyond reputeBamaStangGuy has a reputation beyond reputeBamaStangGuy has a reputation beyond reputeBamaStangGuy has a reputation beyond reputeBamaStangGuy has a reputation beyond reputeBamaStangGuy has a reputation beyond repute
Send a message via AIM to BamaStangGuy
[How-To] Optimize vBulletin To Reduce Your Server Load

This article will only touch on things you can do to the vBulletin software in order to reduce the server load on your server without sacrificing some of the features you love about vBulletin. Please note this is just my personal preference on how I have my vBulletin software configured.

Site in question: Mustang Evolution
vBulletin Version: 3.6 Beta 3

First let me show how I have some of the default settings:
  1. vBulletin Options -> Search Type (Drop Down Under vBulletin Options): If you have MySQL 4.0.x you can use this option to greatly reduce server load when a search query is used on your server.
  2. vBulletin Options -> General Settings -> Use Forum Jump Menu: I have this setting turned off. If you have a large forum this will cause the server to work harder as it was to Generate the Forum Jump and then display it on the page. The Forum Jump consists of alot of html which makes the page larger which increases bandwidth usage and finally increases the code to content ratio (Search Engines may or may not take Code To Content ration into consideration when ranking a page. They do like smaller pages however). 95% of the users will not even realize it is gone. Atleast this is the case on my site.
  3. vBulletin Options -> General Settings -> Disable AJAX Features: Make sure that this is set to allow all AJAX Features. Ajax helps reduce server load by not reloading a page where AJAX is used. (Quick Reply for instance)
  4. vBulletin Options -> Cookies and HTTP Header Options -> GZIP HTML Output: I have this turned off because my server handles this through my httpd.conf file via mod_deflate. If you are not sure whether or not you have this enabled on your server you may test it using this website: GZIP Test It will tell you if you have it enabled or not and if you do it will show you how much the page was compressed. My main page: Mustang Web Site uncompressed is 31,460 bytes and compressed 8,774 bytes. Make sure the Compression Level is never set higher than 1.
  5. vBulletin Options -> Cookies and HTTP Header Options -> Remove Redirection Message Pages: I have this set to Yes. Not only do I find them incredibly annoying but they cause an unneeded page load.
  6. vBulletin Options -> Cookies and HTTP Header Options -> Add No-Cache HTTP Headers: Make sure this is set to No.
  7. vBulletin Options -> Server Settings and Optimization Options -> Cached Posts Lifespan: I have this set to 10 days. Once you turn this on I recommend rebuilding your Cache Posts via Maintenance -> Update Counters
  8. vBulletin Options -> Server Settings and Optimization Options -> Update Thread Views Immediately: Set this to No. With this set at No the Thread Views will automatically update via Cron every 1 hour by default. If you wish to change this you can do so by editing the Scheduled Task for Thread Views to a different time. Mine is set to update thread views every 15 minutes.
  9. vBulletin Options -> Server Settings and Optimization Options -> Update Attachment Views Immediately: I have this set to No as well. I just use the default cron to update these.
  10. vBulletin Options -> Style & Language Settings -> Store CSS Stylesheets as Files?: Set this to yes. Make sure that you change the permission of the /clientscript/vbulletin_css/ folder to 777. This greatly reduces the page size and the code to content ration as well as not requiring the web server to spit out all that code on every page load.
  11. vBulletin Options -> User Listing & Profile Viewing -> Show Last Post on Profile Page: This is very server intensive. Set this to No.
  12. vBulletin Options -> Message Posting and Editing Options -> Quick Reply: Not only does this make posting faster which leads to more posts being made this also uses ajax which means you do not have to load another page to make a post. I use this hack: Smilies in QR and QE To even further reduce the need to click the Post Newreply Button. I have Quick Reply set to: Yes, Click Not Required.
  13. vBulletin Options -> Message Posting and Editing Options -> Quick Edit: Turn this on to reduce the need for a new page reload when someone simply wants to edit a post.
  14. vBulletin Options -> Message Searching Options -> Minimum Time Between Searches: I have mine set to 5. I recommend setting some kind of small time limit to reduce any chance of abuse or attempt to use the search engine to bring your site to a crawl.
  15. * vBulletin Options -> Forums Home Page Options -> Display Logged in Users?: I have mine set to Yes, Alphabetical listing to members only. What this does is show your members Alphabetically if you are logged in and random if logged out. This helps reduce server load by limiting the amount of people that use the Alphabetical sort since it causes additional server power to performn this sort.
  16. * vBulletin Options -> Forum Display Options -> Show Users Browsing Forums: I have this option set to Yes, Random Listing to all visitors I do not care how they are sorted on Forum Display.
  17. vBulletin Options -> Forum Display Options -> Maximum Displayed Threads Before Page Split: I have this set to 20. I would not go much higher than this. The higher you go the more resources it takes to generate those extra threads to show and the bigger your page gets. Note: Changing this will change the amount of Forumdisplay pages that are generate overall which will result in a reindex by search engines.
  18. * vBulletin Options -> Thread Display Options -> Show Users Browsing Threads: I have this set to Yes, Random Listing to all visitors for the same reason I gave for Forumdisplay pages.
  19. vBulletin Options -> Thread Display Options -> Check Thread Rating: I have this set to no. Thread Ratings are rarely used on my forum so I don't need it to tell the user whether or not they have rated the thread and what their rating was.
  20. * vB_Datastore_Filecache: You may use the file system to cache your Datastore and improve performance. To do this Open your config.php file in your includes folder and find:
    PHP Code:
    // $config['Datastore']['class'] = 'vB_Datastore_Filecache'; 
    and simply remove the two
    PHP Code:
    // 
    before
    PHP Code:
    $config['Datastore']['class'] = 'vB_Datastore_Filecache'
    to enable Filesystem caching of your datastore. Make sure that you have /includes/datastore/datastore_cache.php set to 777 so that it may write to the file.

That is all the Default Options in vBulletin that I recommend looking into. Feel free to ask questions if you need further explanation on any of them.

Now let us look at some hacks that I find useful in reducing the server load and increasing site speed:
  1. Plugin Based Template Hack: This is a GREAT hack that I have been using for sometime now. I have not run into any issues with this hack. This hack is even further complimented with APC caching.
  2. Microstats - load times, server loads, queries, uncached templates: This hack does nothing to improve performance but it offers an excellent way to determine your server load times, server load and any uncached templates you have.

Additional Information:
  • Last update: June 25, 2006, 2:52AM CST
  • This article will be updated as new information becomes available. Keep checking back for updates.
  • This article may not be redistributed without consent of me.
  • Anything marked with * is a vBulletin 3.6 Specific Feature.
  • Disclaimer: I can not be held responsible for any damages caused by you making changes suggested within this thread. While there is very little chance that these settings can effect your board in a negative way I can not guarentee that they will behave on your forum the same way they have mine.
BamaStangGuy is offline   Reply With Quote

Advertisement [Remove Advertisement]

Old 06-28-2006, 12:28 AM   #2
Forum Addict

Feedback Score: 11 reviews
 
Former Admin's Avatar
 
Join Date: Nov 2005
Location: Topeka, KS
Posts: 1,758
Former Admin has a reputation beyond reputeFormer Admin has a reputation beyond reputeFormer Admin has a reputation beyond reputeFormer Admin has a reputation beyond reputeFormer Admin has a reputation beyond reputeFormer Admin has a reputation beyond reputeFormer Admin has a reputation beyond reputeFormer Admin has a reputation beyond reputeFormer Admin has a reputation beyond reputeFormer Admin has a reputation beyond reputeFormer Admin has a reputation beyond repute
Send a message via AIM to Former Admin Send a message via MSN to Former Admin Send a message via Yahoo to Former Admin
Thanks Bent, I see a few things I hadn't noticed.
__________________
Hello, I am
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
& I've been offering
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
since 2006
We're building the largest, friendly
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
on the net.
Are you
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
? If so, I'd love to blog about it.
Former Admin is offline   Reply With Quote
Old 06-28-2006, 09:38 PM   #3
Member
Feedback Score: 2 reviews
 
dazzlindonna's Avatar
 
Join Date: Feb 2006
Location: Covington, LA
Posts: 71
dazzlindonna is on a distinguished road
Wow, excellent tips. Thank you!
dazzlindonna is offline   Reply With Quote
Old 06-28-2006, 11:16 PM   #4
Crazy days are here


Feedback Score: 15 reviews
 
demojames's Avatar
 
Join Date: Oct 2005
Location: Kent, WA
Posts: 2,857
demojames has a brilliant futuredemojames has a brilliant futuredemojames has a brilliant futuredemojames has a brilliant futuredemojames has a brilliant futuredemojames has a brilliant futuredemojames has a brilliant futuredemojames has a brilliant futuredemojames has a brilliant futuredemojames has a brilliant futuredemojames has a brilliant future
Send a message via AIM to demojames
Brent, Great Tips, As soon as I move hosting companies, I'm on this
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
-
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
demojames is offline   Reply With Quote
Old 06-29-2006, 02:02 AM   #5
Forum Junkie

Feedback Score: 5 reviews
 
PandaMarketer's Avatar
 
Join Date: Feb 2006
Posts: 4,066
PandaMarketer has a reputation beyond reputePandaMarketer has a reputation beyond reputePandaMarketer has a reputation beyond reputePandaMarketer has a reputation beyond reputePandaMarketer has a reputation beyond reputePandaMarketer has a reputation beyond reputePandaMarketer has a reputation beyond reputePandaMarketer has a reputation beyond reputePandaMarketer has a reputation beyond reputePandaMarketer has a reputation beyond reputePandaMarketer has a reputation beyond repute
Send a message via ICQ to PandaMarketer Send a message via Skype™ to PandaMarketer
This is good. A lot of your settings come standard in a fresh install of 3.6.
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
visit my blog! (2010)

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
- Where Forum Admins kick ass!
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
PandaMarketer is offline   Reply With Quote
Old 10-20-2006, 02:56 PM   #6
Lurker
Feedback Score: 0 reviews
 
Join Date: Nov 2005
Posts: 11
navjotjsingh is on a distinguished road
Excellent Tutorial...Thanks dude...thanks a lot!
navjotjsingh is offline   Reply With Quote
Old 01-18-2008, 12:04 AM   #7
The OLD Site Owner
Feedback Score: 0 reviews
 
lafsunlmtd's Avatar
 
Join Date: May 2006
Posts: 505
lafsunlmtd is a glorious beacon of lightlafsunlmtd is a glorious beacon of lightlafsunlmtd is a glorious beacon of lightlafsunlmtd is a glorious beacon of lightlafsunlmtd is a glorious beacon of lightlafsunlmtd is a glorious beacon of light
Bamma, this is a great article, can you release your server configs for this? Single Server, dual processors, etc?
lafsunlmtd is offline   Reply With Quote
Old 01-18-2008, 12:31 AM   #8
Forum Addict
Feedback Score: 3 reviews
 
bdude's Avatar
 
Join Date: Jul 2006
Location: Australia
Posts: 1,625
bdude has a brilliant futurebdude has a brilliant futurebdude has a brilliant futurebdude has a brilliant futurebdude has a brilliant futurebdude has a brilliant futurebdude has a brilliant futurebdude has a brilliant futurebdude has a brilliant futurebdude has a brilliant futurebdude has a brilliant future
Send a message via AIM to bdude Send a message via MSN to bdude Send a message via Yahoo to bdude Send a message via Skype™ to bdude
Are there any new features in 3.7 to further assist optimisation?
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

bdude is offline   Reply With Quote
Old 01-18-2008, 01:48 AM   #9
Forum Enthusiast

Feedback Score: 4 reviews
 
BamaStangGuy's Avatar
 
Join Date: Sep 2005
Location: Alabama
Posts: 2,483
BamaStangGuy has a reputation beyond reputeBamaStangGuy has a reputation beyond reputeBamaStangGuy has a reputation beyond reputeBamaStangGuy has a reputation beyond reputeBamaStangGuy has a reputation beyond reputeBamaStangGuy has a reputation beyond reputeBamaStangGuy has a reputation beyond reputeBamaStangGuy has a reputation beyond reputeBamaStangGuy has a reputation beyond reputeBamaStangGuy has a reputation beyond reputeBamaStangGuy has a reputation beyond repute
Send a message via AIM to BamaStangGuy
http://www.adminfusion.com/forums/63...rver-load.html This one is the most updated. I forgot it was in here too.

The most notable thing in 3.7 is the ability to offload some of the YUI javscript files to Yahoos servers. I think this is in the Server Optimizations area of the vBulletin Options.

Lafsunlmtd,

I run a Dell Poweredge 1600SC. Dual Xenon 2.4ghz, 3GB of ram, (2) 10k rpm hd's Raid 1. The rest of the software specs are in my signature. I use Keep Alive with a 2 second timeout. MySQL has the basic optimizations that were recommended by vBulletin.com
BamaStangGuy is offline   Reply With Quote
Old 01-21-2008, 11:10 PM   #10
Member
Feedback Score: 0 reviews
 
jamesgilfoyle's Avatar
 
Join Date: Jan 2008
Posts: 104
jamesgilfoyle has a spectacular aura aboutjamesgilfoyle has a spectacular aura about
Nice article
jamesgilfoyle is offline   Reply With Quote
Reply
vBulletin Setup > Front Desk > Articles, Interviews & Tutorials


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[How-To] Optimize vBulletin To Reduce Your Server Load BamaStangGuy vBulletin 17 09-07-2008 11:08 PM
Server Load!!! And Bandwidth!!!! Soulwatcher Domains, Hosting and Servers 3 02-19-2006 10:48 AM
vBulletin Guide - Book Ryan vBulletin 1 12-21-2005 05:36 AM
Reduce Bandwidth on your vBulletin forum miner vBulletin 7 10-13-2005 04:21 PM


All times are GMT +1. The time now is 09:12 AM.

Inactive Reminders By Mished.co.uk and FTP-Anime.com

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133