Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Big Board Discussions

Reply
 
Thread Tools
Ways to optimize vBulletin post your solutions Details »»
Ways to optimize vBulletin post your solutions
Version: , by dbembibre dbembibre is offline
Developer Last Online: Jul 2013 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 05-09-2006 Last Update: Never Installs: 0
 
No support by the author.

If interesting make a list with diferents solutions to optimize the servers.
Mine

Server:
Dual Xeon 2.8 (Dual), 2Gb Ram and SCSI Ultra 320 without Raid
Fedora Core 2.
eAccelerator, MySQL 4.1 and PHP 4.2

Stats:
Number of Posts 1.232.221
Number of members 16.927
Online 500-800

vBulletin:
-Natural search instead off vBulletin search.
Boolean search OFF

-A plugin to disable search when load is high
https://vborg.vbsupport.ru/showthread.php?t=102882

-vBulletin cache ON with eAccelerator and cached keys of static data

-Index for ip field in post table.

Please post your solutions about caching and optimize vBulletin

Excuse my broken English.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 05-09-2006, 06:34 PM
Xorlev Xorlev is offline
 
Join Date: May 2006
Location: Colorado
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

-APC cache. I recommend APC cache over eAccelerator if you're not on a shared environment, or need the decoding abilities of Zend Optimizer. If you do, then run eAccelerator (keep an eye out for bugs) + Zend Optimizer.

-Run PHP 5.1.2+. PHP 5 is horribly slow, and I prefer it over PHP 4. By default, PHP 5 also passes objects as references rather than copies which can save on RAM.

-PHP via FastCGI or similar. I run my PHP with Litespeed webserver...it has a custom SAPI module that's faster than FastCGI, but even so FastCGI is far faster than CGI or mod_php.

-Dump Apache. Apache is a great server, but it tries to be everything to everyone and is rather clunky. Use Lighttpd (can use FastCGI), or give Litespeed webserver a try.

-Setup MySQL with a query cache. It takes more RAM, but it saves the need for executing the same SELECT queries over and over when the dataset is still the same.

-Disable per-thread and per-forum "who's online". It's a neat feature, and I use it, but if you're squeezing for performance this can help.

-Plugin Based Template Cache. When used in "multiple files" mode, this works to great effect with APC.

I have some more I'll post later.
Reply With Quote
  #3  
Old 05-09-2006, 06:39 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Go to vBulletin.com and visit the server optmization forum.

APC cache is nice, so go with it.

PHP 5 with APC is a great optimization and I'd have to recomend it, altho PHP4 is just as fast overall.

Do not run php as CGI/FastCGI esp if you continue running apache.

Not everyone has the ability to dump apache, possibly cpanel in the way, however you can still make use of lighttpd by compiing it binding it to a free ip and moving your static images over to it on a subdomain like images.domain.com.

The plugin based template cache is not actually that much more of a preformance boost in a large real world enviroment.
Reply With Quote
  #4  
Old 05-09-2006, 06:53 PM
Xorlev Xorlev is offline
 
Join Date: May 2006
Location: Colorado
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lightspeed webserver works with CPanel by importing current apache config and replaces it fine.
Reply With Quote
  #5  
Old 05-09-2006, 08:07 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What about adding new accounts, cpanel tryign to restart apache? etc?
Reply With Quote
  #6  
Old 05-09-2006, 09:26 PM
dbembibre's Avatar
dbembibre dbembibre is offline
 
Join Date: Sep 2004
Location: Madrid (Spain)
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for your responses, the server is mine but the problem is that i pay for plesk panel and plesk need apache.

WRT APC, i test APC a months ago and the load o f my server up and up. eAccelerator ever work well for me. I try use Lightspeed in another server for images only and update to PHP 5.1.

I remove the Raid1 of my server and move MySQL to the secondary disk, now the response is incredible

Thanks for your tips.
Reply With Quote
  #7  
Old 05-09-2006, 10:22 PM
Xorlev Xorlev is offline
 
Join Date: May 2006
Location: Colorado
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery
What about adding new accounts, cpanel tryign to restart apache? etc?
Litespeed automatically reloads the apache config when it changes. As for the rebooting, I just replaced /etc/init.d/httpd with a custom wrapper for lswsctrl. Also, Litespeed when importing Apache config writes out the byte log like Apache would, so bandwidth is still shown. Suspending a site is just a rewrite rule, so that's no problem either. Also, in the latest release of Litespeed you can manually specify a byte log in vhosts you create so you can track bandwidth (either through CPanel or otherwise).


More tips:

-Set CSS to save to file.

-Set attachment and profile/avatar pictures to save to filesystem.
Reply With Quote
  #8  
Old 05-09-2006, 10:47 PM
dbembibre's Avatar
dbembibre dbembibre is offline
 
Join Date: Sep 2004
Location: Madrid (Spain)
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Xorlev

More tips:

-Set CSS to save to file.

-Set attachment and profile/avatar pictures to save to filesystem.
Yes, i make this 2 years ago, thanks again sir
Reply With Quote
  #9  
Old 05-14-2006, 10:32 PM
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Posts: 669
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can also do not show who's online for guests. If you have lots of guests, it will give your forum more speed
Reply With Quote
  #10  
Old 05-16-2006, 12:23 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I totally disable it.
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 05:17 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04966 seconds
  • Memory Usage 2,288KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete