Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[DBTech] vB Optimise 2.0.1 (Lite) Details »»
[DBTech] vB Optimise 2.0.1 (Lite)
Version: 2.0.1, by Deceptor Deceptor is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Board Optimization - Version: 3.8.x Rating:
Released: 12-18-2008 Last Update: 04-23-2010 Installs: 1096
Uses Plugins
Additional Files  
No support by the author.

vB Optimise Lite

The newly revamped vB Optimise was created for vBulletin 4, but has now been made compatible for vBulletin 3.8. In this release I have re-coded vB Optimise from the gound and focused stability over features, you'll notice Phrase Caching and vBAdvanced Integration have bit the dust, this is to maintain a sync state between this version and the vBulletin 4 release.

Professional version & feature list available @ www.DragonByte-Tech.com/forum
Priority support for Lite version is handled at the Developers Website.


What does it do?

vB Optimise is intended to optimise vBulletin software by integrating several PHP "cachers" and handling data before vBulletin. This works by encountering and handling data prior to vBulletin in order to skip the arbitary execution that would be more server intensive.

Real-Life Statistics

We've teamed up with some Big Forums to show you the impact of vB Optimise, you can view this public chart which shows both our statistics and theirs:

View Public vB Optimise Resource Statistics

Features
  • Supported Extensions
    • APC
    • eAccelerator
    • Memcache
    • XCache
    • WinCache
    • Filecache
  • Style Cacher
    Caches style data to globally reduce a query within all vBulletin forum-based pages.
  • Template Cacher
    Caches template data to globally reduce a query within all vBulletin forum-based pages.
  • Datastore Cacher
    Forces custom datastore items from modifications (including those from vB's blogs) to use your configured Datastore Cache method instead of being forced into the database. This reduces page queries by where affected.
  • vB CMS Template Caching
    (Automatic) Corrects many uncached templates within vB CMS to reduce upto 20+ queries on CMS pages (number varies based on content).
  • Optimal Settings Check
    Provides a quick interface to identify possible settings which can be changed on your forum for further optimisation.
  • Self-System Tester
    Provides a relatively straight-forward system check to ensure your vB Optimise installation works fully.
  • Automatic Cache Flusher
    Automatically flushes cache within the Admin CP based on specific triggers to make sure content does not remain stale on your forum.
  • XCache Authentification
    Supports XCache Admin Authentification by allowing you specify the username/password in a configuration if needs be.

Features - Pro
  • Notices Cacher
    Caches users dismissed notices to reduce a near-global query within all vBulletin forum-based pages.
  • Showgroups Cacher
    Caches the showgroups query which becomes more intensive as your user-base grows.
  • Forum Display Query Enhancement
    Enhances a stock vBulletin query within Forum Display to speed up the page.
  • Forum Home WOL Cache
    Caches Forum Home "Who's Online" to remove an intensive query and allow larger sites to display this data without impact.
  • vB Cache Override (Feature not available on vBulletin 3)
    Ability to override vBulletins new built-in database cacher for the CMS / Forum Sidebar Blocks to remove anything from 1 to 20+ queries based on your content.
  • Full Guest Caching
    Ability to cache entire pages and serve them saving not only hundreds of queries but upto 90% of CPU processing towards Guests.
  • Statistical Resource Savings
    Ability to see just exactly how many queries per day vB Optimise has saved your database. You'll be surprised at the numbers.
  • Forum Resource Statistic
    Shows off vB Optimise resource saving statistics directly within forumhome statistics.
  • ....and more!

Release Notes

If you've used vB Optimise before you'll be aware the previous version had phrase caching, however this caused complications with the way phrases are used within vBulletin so it has not been ported over at this time.


Available Translations
v1.6.0 French - Thanks to finereader

Change Log

[>>] Version 2.0.1
New launch for vB 3.8

[>>] Version 1.6.1
Automatic Cache Flusher has additional parameters to make sure no data is stale
Resolved Bug: Potential PHP error when using eAccelerator which cannot flush within Admin CP on certain actions

[>>] Version 1.6.0
New OpCode Cacher Support: WinCache

[>>] Version 1.5.0
Resolved Bug: Style cache may have fetched ID 0 instead of correct file
Resolved Bug: Filecache permissions may not have worked
Optimisation: Re-wrote some base code to enhance operations.

[>>] Version 1.0.1
Added XCache Authentification Support
Added Filecache Support

Support

Priority support will be handled at DBTech.

FAQ

Q: I have WinCache installed, but vB Optimise tells me it's not?
A: WinCache only introduced OpCode support in version 1.1, if you're using version 1.0.x you will need to upgrade.

Q: I'm using the XCache method, flushing doesn't work?
A: If you have XCache authentification, turn the admin option on within vB Optimise Settings, then edit ./vboptimise/config.php and specify your XCache username/password. Alternatively you can disable XCache authentification within php.ini:
Code:
xcache.admin.enable_auth = Off
Q: I have eAccelerator installed, but vB Optimise tells me it's not?
A: eAccelerator does not provide the caching extension by default, you will need to recompile PHP with additional flags. For more information read eAccelerator documentation located here: http://eaccelerator.net/wiki/CompileConfiguration (Specifically look at: with-eaccelerator-shared-memory)

Download Now

File Type: zip [DBTech] vB Optimise Lite v2.0.1.zip (30.8 KB, 2168 views)

Show Your Support

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

Comments
  #592  
Old 01-05-2009, 09:41 PM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For sure I did. Eaccelerator is installed, loaded so is memcache/memcached.

root@server [~]# /usr/local/apache/bin/httpd -l
Compiled in modules:
core.c
mod_authn_file.c
mod_authn_default.c
mod_authz_host.c
mod_authz_groupfile.c
mod_authz_user.c
mod_authz_default.c
mod_auth_basic.c
mod_cache.c
mod_mem_cache.c
mod_include.c
mod_filter.c
mod_deflate.c
mod_log_config.c
mod_logio.c
mod_env.c
mod_expires.c
mod_headers.c
mod_unique_id.c
mod_setenvif.c
mod_proxy.c
mod_proxy_connect.c
mod_proxy_ftp.c
mod_proxy_http.c
mod_proxy_ajp.c
mod_proxy_balancer.c
mod_ssl.c
prefork.c
http_core.c
mod_mime.c
mod_status.c
mod_autoindex.c
mod_asis.c
mod_info.c
mod_suexec.c
mod_cgi.c
mod_negotiation.c
mod_dir.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_rewrite.c
mod_so.c


I get this if I enable memcache

Fatal error: Memcache is not installed in [path]/includes/class_datastore.php on line 186


Quote:
// $config['Datastore']['class'] = 'vB_Datastore_Filecache';

// ******** DATASTORE PREFIX ******
// If you are using a PHP Caching system (APC, XCache, eAccelerator) with more
// than one set of forums installed on your host, you *may* need to use a prefix
// so that they do not try to use the same variable within the cache.
// This works in a similar manner to the database table prefix.
// $config['Datastore']['prefix'] = '';

// It is also necessary to specify the hostname or IP address and the port the server is listening on
/*
$config['Datastore']['class'] = 'vB_Datastore_Memcached';
$i = 0;
// First Server
$i++;
$config['Misc']['memcacheserver'][$i] = '127.0.0.1';
$config['Misc']['memcacheport'][$i] = 11211;
$config['Misc']['memcachepersistent'][$i] = true;
$config['Misc']['memcacheweight'][$i] = 1;
$config['Misc']['memcachetimeout'][$i] = 1;
$conf
I get the error if I uncomment the below and make it Memcached instead of Filecache

// $config['Datastore']['class'] = 'vB_Datastore_Filecache';

(line 141)


It has to be something with this mod because my modules are loaded and showing up in the outputs, phpinfo, processes.
Reply With Quote
  #593  
Old 01-05-2009, 09:48 PM
KevinL KevinL is offline
 
Join Date: Apr 2005
Posts: 1,287
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
/*
$config['Datastore']['class'] = 'vB_Datastore_Memcached';
$i = 0;
// First Server
$i++;
$config['Misc']['memcacheserver'][$i] = '127.0.0.1';
$config['Misc']['memcacheport'][$i] = 11211;
$config['Misc']['memcachepersistent'][$i] = true;
$config['Misc']['memcacheweight'][$i] = 1;
$config['Misc']['memcachetimeout'][$i] = 1;
$conf
You have to remove the /* and \* from the section above...
Reply With Quote
  #594  
Old 01-05-2009, 09:52 PM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks but still getting this error after uploading the config

Fatal error: Memcache is not installed in [path]/includes/class_datastore.php on line 186

With below config:

// $config['Datastore']['class'] = 'vB_Datastore_Filecache';

// ******** DATASTORE PREFIX ******
// If you are using a PHP Caching system (APC, XCache, eAccelerator) with more
// than one set of forums installed on your host, you *may* need to use a prefix
// so that they do not try to use the same variable within the cache.
// This works in a similar manner to the database table prefix.
// $config['Datastore']['prefix'] = '';

// It is also necessary to specify the hostname or IP address and the port the server is listening on

$config['Datastore']['class'] = 'vB_Datastore_Memcached';
$i = 0;
// First Server
$i++;
$config['Misc']['memcacheserver'][$i] = '127.0.0.1';
$config['Misc']['memcacheport'][$i] = 11211;
$config['Misc']['memcachepersistent'][$i] = true;
$config['Misc']['memcacheweight'][$i] = 1;
$config['Misc']['memcachetimeout'][$i] = 1;
$config['Misc']['memcacheretry_interval'][$i] = 15;
Reply With Quote
  #595  
Old 01-05-2009, 09:59 PM
KevinL KevinL is offline
 
Join Date: Apr 2005
Posts: 1,287
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And you're sure your memcache server is running? and you uncommented the second \* after that section you just copied there?
Reply With Quote
  #596  
Old 01-05-2009, 10:23 PM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes to both questions.

Code:
//$config['Datastore']['class'] = 'vB_Datastore_Memcached';

    // ******** DATASTORE PREFIX ******
    // If you are using a PHP Caching system (APC, XCache, eAccelerator) with more
    // than one set of forums installed on your host, you *may* need to use a prefix
    // so that they do not try to use the same variable within the cache.
    // This works in a similar manner to the database table prefix.
// $config['Datastore']['prefix'] = '';

    // It is also necessary to specify the hostname or IP address and the port the server is listening on

$config['Datastore']['class'] = 'vB_Datastore_Memcached';
$i = 0;
// First Server
$i++;
$config['Misc']['memcacheserver'][$i]        = '127.0.0.1';
$config['Misc']['memcacheport'][$i]            = 11211;
$config['Misc']['memcachepersistent'][$i]    = true;
$config['Misc']['memcacheweight'][$i]        = 1;
$config['Misc']['memcachetimeout'][$i]        = 1;
$config['Misc']['memcacheretry_interval'][$i] = 15;

// ****** The following options are only needed in special cases ******

    //    ****** MySQLI OPTIONS *****

Code:
root@server [~]# ps aux | grep memcache
root      6140  0.0  0.0  5316  736 pts/0    S+   18:22   0:00 grep memcache
nobody   27945  0.0  0.0  2896  836 ?        Ss   16:06   0:00 /usr/local/bin/memcached -u nobody -d -m 2048 -l 127.0.0.1 -p 11211


root@server [~]# ps aux | grep memcached
root      6150  0.0  0.0  4156  736 pts/0    S+   18:22   0:00 grep memcached
nobody   27945  0.0  0.0  2896  836 ?        Ss   16:06   0:00 /usr/local/bin/memcached -u nobody -d -m 2048 -l 127.0.0.1 -p 11211
Reply With Quote
  #597  
Old 01-06-2009, 12:26 AM
KevinL KevinL is offline
 
Join Date: Apr 2005
Posts: 1,287
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmmm weird. The only other thing I can think of is...do you have memcache installed with memcached server? I'm sure you do...just a thought though.

These are two good write ups...

http://www.vbulletin.com/forum/showp...4&postcount=39

http://pastebin.com/m695d4b5b
Reply With Quote
  #598  
Old 01-06-2009, 12:55 AM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That vb.com guide is what I already used. I already pasted earlier the output to show memcached is running. I installed all 3: libevent, memcache, memcached and recompiled apache via Easy apache, restarted httpd before/after, etc.

Code:
root@server [~]# php -i | grep -i 'memcache'
OLDPWD => /root/memcache-3.0.2
_SERVER["OLDPWD"] => /root/memcache-3.0.2
_ENV["OLDPWD"] => /root/memcache-3.0.2

Code:
root@server [~]# ps aux | grep memcached
root      4823  0.0  0.0  5024  736 pts/0    S+   20:55   0:00 grep memcached
nobody   27945  0.0  0.0  2896  836 ?        Ss   16:06   0:00 /usr/local/bin/memcached -u nobody -d -m 2048 -l 127.0.0.1 -p 11211
Reply With Quote
  #599  
Old 01-06-2009, 01:00 AM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok got it. I had to remove the entire path to memcache.so (from php.in file) and just leave it as memcache.so

I enabled memcache in the vboptimize module successfully.

However, two things:

noticed no speed difference
this monitoring tool shows no difference (even on refresh)
http://livebookmark.net/journal/2008...s-like-apcphp/
Attached Images
File Type: gif 2.gif (112.4 KB, 0 views)
File Type: jpg 1.jpg (67.3 KB, 0 views)
Reply With Quote
  #600  
Old 01-06-2009, 01:04 AM
KevinL KevinL is offline
 
Join Date: Apr 2005
Posts: 1,287
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That last one is all I had haha sorry. Wish I could do more. That really would have been what I thought it would have been when I looked at it again. It was saying that memcache is not installed....maybe ask your host to check it out for you and make sure?
Reply With Quote
  #601  
Old 01-06-2009, 01:07 AM
KevinL KevinL is offline
 
Join Date: Apr 2005
Posts: 1,287
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In all honesty I have found that xcache seemed faster them memcache for this.
Reply With Quote
Reply


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:41 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07106 seconds
  • Memory Usage 2,361KB
  • Queries Executed 26 (?)
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
  • (5)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete