vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Board Optimization - [DBTech] vB Optimise 2.0.1 (Lite) (https://vborg.vbsupport.ru/showthread.php?t=237325)

ps2wiz 04-04-2010 06:02 PM

Question, I use wincache and memcached on my server.

In the config.php file of vBulletin I enabled memcached. But now since vB Optimize supports wincache should I disable memcached in the config.php file or will it not really make a difference?

Deceptor 04-04-2010 06:13 PM

If you're using Memcached for vBulletins Datastore then I recommend you keep using it along with WinCache for vB Optimise. I'm sure in time vBulletin will soon support WinCache too so you can keep them both the same :)

hydn 04-04-2010 06:28 PM

woot!!!!

Wincache is the best!!! Dam so fast!

Deceptor 04-04-2010 06:29 PM

Quote:

Originally Posted by hydn (Post 2015742)
woot!!!!

Wincache is the best!!! Dam so fast!

Glad it's making a positive impact :)

ps2wiz 04-04-2010 06:42 PM

Quote:

Originally Posted by Deceptor (Post 2015736)
If you're using Memcached for vBulletins Datastore then I recommend you keep using it along with WinCache for vB Optimise. I'm sure in time vBulletin will soon support WinCache too so you can keep them both the same :)

Thanks for answering my question so quickly and for maintaining this awesome product.

What exactly is the difference between this Lite version and the paid version?

Deceptor 04-04-2010 06:49 PM

Quote:

Originally Posted by ps2wiz (Post 2015746)
Thanks for answering my question so quickly and for maintaining this awesome product.

What exactly is the difference between this Lite version and the paid version?

Not a problem, in short the Pro version adds further optimisation - reducing a lot more queries than Lite is capable of (info). :)

hydn 04-04-2010 10:08 PM

I'm up and running on vbo 1.6.0 pro. Over 100,000 queries saved so far in just over 1 hour.

thanks! I find wincache faster than memcached. I also have vb datastore cached to wincache.

No I just have to get vbseo into wincache and I can disable memcached totally.

Dadoo 04-05-2010 12:21 AM

1 Attachment(s)
Vbulletin-fr.org is proud to provide you the French translation of vBOptimise v1.6.0

IMPORTANT : this zip file contains ONLY french phrases in XML file, not the product.

Installation instructions are inside zip.

badawidollah 04-05-2010 01:17 AM

i am using filecache and fast too

wincache for windows only, not for linux centos?

ps2wiz 04-05-2010 01:21 AM

Quote:

Originally Posted by badawidollah (Post 2015901)
wincache for windows only, not for linux centos?

Wincache is only for windows.

Kolbi 04-05-2010 08:43 AM

Is someone using the Filecache and can tell me about his/her improvings?

Deceptor 04-05-2010 11:23 AM

@finereader

Thanks! I'll put a link to the translation in the main post :)

@badawidollah

Yes WinCache is for windows only, as a linux user though you have the choice of all the other extensions :)

Deceptor 04-05-2010 02:47 PM

We've now got a public chart for you guys to look at. The chart is similar the one featured in the pro version where you can view your own forums statistical data on queries saved.

This public chart is just the same, except it will display multiple websites so you guys can get a feel for the impact being made.

We'd like to thank PipStack.com for allowing us to use their data, and we have a couple of more sites lines up that will be added in the future :)

View Public vB Optimise Resource Statistics

Deceptor 04-07-2010 11:57 PM

Just a minor update here, NextGenBoards.com have submitted their details to be included on our performance chart, thanks guys!

Kolbi 04-08-2010 06:12 AM

A nice clipechart would be how much loading time or traffic was saved by using vB Optimise :)

Deceptor 04-08-2010 10:51 AM

Quote:

Originally Posted by Kolbi (Post 2017801)
A nice clipechart would be how much loading time or traffic was saved by using vB Optimise :)

No real way to measure the "loading" time saved, it's not like removing a query will cut exactly 0.0x seconds off loading, it simply may or may-not depending on your server (and is not the main intention of this modification, it is to reduce strain on mysql which can result in faster loading times as a byproduct).

As for "traffic saved", not sure what you mean there - we optimise pages so ideally it allows more traffic to reach you before your servers become hot-hot-hot :)

StarBuG 04-08-2010 11:49 AM

Hi

A simple question:

I use APC Cache.
Does it need to be enabled in vBulletin config.php or or disabled for vB Optimise to work properly?

Currently I have enabled it.

I set the config file to use a different prefix for apc then I set on vB Optimise.
Does it have to be the same or a different one?

Thanks for this mod

StarBuG

Deceptor 04-08-2010 11:51 AM

Hey Starbug,

APC does not need to be enabled in vBulletins config, none of the cachers do (although it is recommended so their datastore is cached). That said the only config I do read is memcache connection values if you use Memcache (again though, It doesn't need to be hooked upto the datastore).

As for the prefix, they do not have to be the same. The option for the prefix in vBO is given incase you run multiple installations of vBulletin on the same server (or using the same memcache server) so cache doesn't collide.

StarBuG 04-08-2010 12:04 PM

Thanks for the answer :)

badawidollah 04-09-2010 07:50 AM

Quote:

Originally Posted by Deceptor (Post 2016101)
@finereader

Thanks! I'll put a link to the translation in the main post :)

@badawidollah

Yes WinCache is for windows only, as a linux user though you have the choice of all the other extensions :)

may i kiss you for this mods
you save my $$$

doopz 04-09-2010 09:24 AM

Nice! have it installed; looks promising so far.
is there a way to show the chart for our forum?

Deceptor 04-09-2010 11:02 AM

@badawidollah

You're more than welcome :)

@doops

I'm afraid the chart is only available to Pro users (and then users have to manually request being put on the public chart). If you want to monitor the queries different, you can use vBulletin debug mode and switch vBO on/off on pages to gather the difference in queries :)

badawidollah 04-10-2010 12:46 AM

i know litespeed can save memory for apache. but apache is not free.
i planned to buy litespeed for apache since my forum memory overload. more than 1,2GB RAM
with this software, its about 500MB ram only.

httpd memory save more than 75% for me.
and my forum speep more than 5 times.

i never think someone will give it for free.

mandingo 04-10-2010 01:22 AM

Quote:

Originally Posted by badawidollah (Post 2018651)
i know litespeed can save memory for apache. but apache is not free.
i planned to buy apache since my forum memory overload. more than 1,2GB RAM
with this software, its about 500MB ram only.

httpd memory save more than 75% for me.
and my forum speep more than 5 times.

i never think someone will give it for free.

Apache is quite free:

http://www.apache.org/dyn/closer.cgi

badawidollah 04-10-2010 01:38 AM

Quote:

Originally Posted by mandingo (Post 2018668)

apache is free
but i am talking about litespeed for apache

:D

Deceptor 04-10-2010 08:54 AM

Quote:

Originally Posted by badawidollah (Post 2018675)
apache is free
but i am talking about litespeed for apache

:D

Not sure what you mean by litespeed "for" apache. Litespeed is intended as an actual replacement to apache to run your web port (80). Unless you want the enterprise edition Litespeed is free: http://litespeedtech.com/litespeed-w...-editions.html

badawidollah 04-10-2010 02:20 PM

Quote:

Originally Posted by Deceptor (Post 2018808)
Not sure what you mean by litespeed "for" apache. Litespeed is intended as an actual replacement to apache to run your web port (80). Unless you want the enterprise edition Litespeed is free: http://litespeedtech.com/litespeed-w...-editions.html

free litespeed not recommend for VB4
because php4.x.x not 5.2.x above

thanks

** could we upgrade litespeed php version?

Deceptor 04-10-2010 03:18 PM

I don't know for sure, but I would imagine there's no problem upgrading PHP to 5.2.x or 5.3.x on litespeed, would seem rather strange if they locked you down to php 4.

badawidollah 04-10-2010 03:50 PM

i`ll looking for another way how to upgrade it

thanks

sadiq6210 04-13-2010 07:29 AM

Thanks

Ronny46 04-14-2010 04:21 PM

If I work on a user and then stores the following mistake comes Like does repair I this? Sorry my English is not so good

PHP Code:

Fatal errorCall to undefined function print_cp_message() in /var/www/vhosts/rheuma-treffpunkt.at/httpdocs/forum/vboptimise/core/class_operator_eaccelerator.php on line 50 


Deceptor 04-14-2010 10:08 PM

Hi Ronny,

The PHP error is a bug, however the line it has invoked means your using eAccelerator and it's not configured correctly to allow flushing. The message should say:

vB Optimise: Your eAccelerator requires you to specify permission to this directory to allow vB Optimise to clear your cache. For more information please visit http://bart.eaccelerator.net/doc/php...elerator_clear

Once that's resolved, the error shouldn't occur anymore.

I'll get the error patched in the next release regardless :)

Ronny46 04-14-2010 10:33 PM

Thank you for the answer, so is called I must wait for the next version?

Deceptor 04-15-2010 11:40 AM

Hi Ronny,

The update will resolve the error, however the actual problem is that vB Optimise cannot flush the cache because eAccelerator requires you to set permissions to the script path, without that done vB Optimise will not function correctly (your data will become stale).

Deceptor 04-15-2010 12:53 PM

I've released the 1.6.1 update Ronny, it will remove the PHP error as I discussed but your eAccelerator still needs to be configured or flushing won't work.

ps2wiz 04-15-2010 11:16 PM

Any chance wincache support can be added for the 3.8 version?

Deceptor 04-16-2010 11:23 AM

Quote:

Originally Posted by ps2wiz (Post 2021953)
Any chance wincache support can be added for the 3.8 version?

The 3.8 version is discontinued unfortunately, due to issues and as such some elements being cached in the vB4 version don't exist in vB 3.8 (atleast within Pro, which may trickle down to lite).

That said, adding the WinCache support is relatively easy, you'll need to do two things. Firstly, open ./includes/class_activecache_methods.php, then add this lump of code right above the last "?>"

PHP Code:

class vb_activecache_wincache extends vb_activecache
{
    static 
$class __CLASS__;
    static 
$instance;

    function 
get_instance()
    {
        return (
self::$instance) ? self::$instance : (self::$instance =& new self::$class());
    }

    function 
suicide()
    {
        if (
self::$instance)
        {
            
self::$instance null;
        }

        
parent::suicide();
    }

    function 
connect()
    {
        if (!
function_exists('wincache_ucache_get'))
        {
            return 
false;
        }

        return 
true;
    }

    function 
set_title(&$title)
    {
        
$title $this->prefix $title;
    }

    function 
fetch($title)
    {
        if (!
$this->connect())
        {
            return 
false;
        }

        
$this->set_title($title);

        return 
$this->integrity_check(wincache_ucache_get($title));
    }

    function 
set($title$item)
    {
        if (!
$this->connect())
        {
            return 
false;
        }

        
$this->set_title($title);

        if (
trim($item) == '')
        {
            
$item '{_______VB_ACTIVE_CACHE_BLANK_______}';
        }

        
wincache_ucache_set($title$item);
    }

    function 
flush()
    {
        
wincache_ucache_clear();
    }


Secondly you'd need to add the option for WinCache in the options, you can do this one of two ways. If you have debug mode enabled, you can simply edit the option within the ACP. Or if you want, you can edit the product XML and find the following:
Code:

memcache|Memcache
xcache|XCache
apc|APC

Simply change to:
Code:

memcache|Memcache
xcache|XCache
apc|APC
wincache|WinCache

Then re-import the product XML, you should get the option and it should work, although I haven't tested it :)

phkk 04-16-2010 08:31 PM

work perfectly like version 3.84. Thanks

phkk 04-16-2010 08:33 PM

work on quad x X5460 with 24GB dram + Raid 5. php 5.2.6 , mysql 5.0.45-community-nt. 2gb database

phkk 04-16-2010 08:34 PM

with xcache. sorry i forgot


All times are GMT. The time now is 03:37 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.01702 seconds
  • Memory Usage 1,846KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete