Status
Not open for further replies.

RedWS600

Customer
Guest caching appears to stop. Where do I start? XCache

Hi,
I have Guest page caching set to 10mins, as we have more guests than members, some of the pages could be requested 100 times per min at certain points of the year, so its great that these can be served from cache. I have XCache selected.
The problem I see is when its been running for a while I see these stats at the bottom of the page

Resources saved on this page: MySQL 15.38%
then a refresh
Resources saved on this page: MySQL 14.12%

Now if I do an XCache flush and refresh the page
Resources saved on this page: MySQL 12.20%
refresh
Resources saved on this page: MySQL 76.71% / PHP 56.16%
refresh
Resources saved on this page: MySQL 76.71% / PHP 56.20%

So it looks like guest page caching is working. This I guess says to me that XCache is full perhaps, its 512Mb on a dedicated server so no one else is using it.
[h=2]XCache[/h][TABLE="width: 600"]
[TR="class: h, bgcolor: #9999CC"]
[TH="align: center"]XCache Support[/TH]
[TH="align: center"]enabled[/TH]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]Version[/TD]
[TD="class: v, bgcolor: #CCCCCC"]1.3.2[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]Modules Built[/TD]
[TD="class: v, bgcolor: #CCCCCC"]cacher[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]Readonly Protection[/TD]
[TD="class: v, bgcolor: #CCCCCC"]N/A[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]Cache Init Time[/TD]
[TD="class: v, bgcolor: #CCCCCC"]2013-10-14 19:52:04[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]Cache Instance Id[/TD]
[TD="class: v, bgcolor: #CCCCCC"]6644[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]Opcode Cache[/TD]
[TD="class: v, bgcolor: #CCCCCC"]enabled, 536,870,912 bytes, 2 split(s), with 32768 slots each[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]Variable Cache[/TD]
[TD="class: v, bgcolor: #CCCCCC"]enabled, 4,194,304 bytes, 1 split(s), with 8192 slots each[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]Shared Memory Schemes[/TD]
[TD="class: v, bgcolor: #CCCCCC"]mmap[/TD]
[/TR]
[/TABLE]

[TABLE="width: 600"]
[TR="class: h, bgcolor: #9999CC"]
[TH="align: center"]Directive[/TH]
[TH="align: center"]Local Value[/TH]
[TH="align: center"]Master Value[/TH]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.admin.enable_auth[/TD]
[TD="class: v, bgcolor: #CCCCCC"]On[/TD]
[TD="class: v, bgcolor: #CCCCCC"]On[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.cacher[/TD]
[TD="class: v, bgcolor: #CCCCCC"]On[/TD]
[TD="class: v, bgcolor: #CCCCCC"]On[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.coredump_directory[/TD]
[TD="class: v, bgcolor: #CCCCCC"]no value[/TD]
[TD="class: v, bgcolor: #CCCCCC"]no value[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.count[/TD]
[TD="class: v, bgcolor: #CCCCCC"]2[/TD]
[TD="class: v, bgcolor: #CCCCCC"]2[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.gc_interval[/TD]
[TD="class: v, bgcolor: #CCCCCC"]300[/TD]
[TD="class: v, bgcolor: #CCCCCC"]300[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.mmap_path[/TD]
[TD="class: v, bgcolor: #CCCCCC"]/dev/zero[/TD]
[TD="class: v, bgcolor: #CCCCCC"]/dev/zero[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.readonly_protection[/TD]
[TD="class: v, bgcolor: #CCCCCC"]no value[/TD]
[TD="class: v, bgcolor: #CCCCCC"]no value[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.shm_scheme[/TD]
[TD="class: v, bgcolor: #CCCCCC"]mmap[/TD]
[TD="class: v, bgcolor: #CCCCCC"]mmap[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.size[/TD]
[TD="class: v, bgcolor: #CCCCCC"]512M[/TD]
[TD="class: v, bgcolor: #CCCCCC"]512M[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.slots[/TD]
[TD="class: v, bgcolor: #CCCCCC"]32K[/TD]
[TD="class: v, bgcolor: #CCCCCC"]32K[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.stat[/TD]
[TD="class: v, bgcolor: #CCCCCC"]On[/TD]
[TD="class: v, bgcolor: #CCCCCC"]On[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.test[/TD]
[TD="class: v, bgcolor: #CCCCCC"]0[/TD]
[TD="class: v, bgcolor: #CCCCCC"]0[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.ttl[/TD]
[TD="class: v, bgcolor: #CCCCCC"]7200[/TD]
[TD="class: v, bgcolor: #CCCCCC"]7200[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.var_count[/TD]
[TD="class: v, bgcolor: #CCCCCC"]1[/TD]
[TD="class: v, bgcolor: #CCCCCC"]1[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.var_gc_interval[/TD]
[TD="class: v, bgcolor: #CCCCCC"]300[/TD]
[TD="class: v, bgcolor: #CCCCCC"]300[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.var_maxttl[/TD]
[TD="class: v, bgcolor: #CCCCCC"]3600[/TD]
[TD="class: v, bgcolor: #CCCCCC"]3600[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.var_size[/TD]
[TD="class: v, bgcolor: #CCCCCC"]4M[/TD]
[TD="class: v, bgcolor: #CCCCCC"]4M[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.var_slots[/TD]
[TD="class: v, bgcolor: #CCCCCC"]8K[/TD]
[TD="class: v, bgcolor: #CCCCCC"]8K[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.var_ttl[/TD]
[TD="class: v, bgcolor: #CCCCCC"]3600[/TD]
[TD="class: v, bgcolor: #CCCCCC"]3600[/TD]
[/TR]
[/TABLE]

512Mb is a lot to fill up, at the moment I'm unable to get stats on XCache.

Just wanted to check on here to see if there is some setting in VBOptimise which I'm missing to do with Guest Page caching.


Thanks in advance.
Dan.
 
Last edited:
Just found a way to look at XCache stats. I didn't have the webpage part of it, so couldn't view stats before.
It looks like 'variable cache' was full. I've extended and see what happens.

It may be XCache as I first thought.

Dan.
 
Hi Fillip,
I was running various tests yesterday. Think I have got some good settings that work well for our website. I run a sitemap generator which visits very page. This really hammered the 'variable' side of the cache. So I increased the size until I only used about 75% of the cache. So the variable cache is 256Mb split in to two (hoping the dual core processor uses it more efficient)
The php cache I found never exceeded 56Mb in usage, so this is now 128Mb split into two, so two banks of 64Mb.

These are my settings:-
[h=2]XCache[/h][TABLE="width: 600"]
[TR="class: h, bgcolor: #9999CC"]
[TH="align: center"]XCache Support[/TH]
[TH="align: center"]enabled[/TH]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]Version[/TD]
[TD="class: v, bgcolor: #CCCCCC"]1.3.2[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]Modules Built[/TD]
[TD="class: v, bgcolor: #CCCCCC"]cacher[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]Readonly Protection[/TD]
[TD="class: v, bgcolor: #CCCCCC"]N/A[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]Cache Init Time[/TD]
[TD="class: v, bgcolor: #CCCCCC"]2013-10-15 13:20:16[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]Cache Instance Id[/TD]
[TD="class: v, bgcolor: #CCCCCC"]6528[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]Opcode Cache[/TD]
[TD="class: v, bgcolor: #CCCCCC"]enabled, 134,217,728 bytes, 2 split(s), with 1024 slots each[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]Variable Cache[/TD]
[TD="class: v, bgcolor: #CCCCCC"]enabled, 268,435,456 bytes, 2 split(s), with 4096 slots each[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]Shared Memory Schemes[/TD]
[TD="class: v, bgcolor: #CCCCCC"]mmap[/TD]
[/TR]
[/TABLE]

[TABLE="width: 600"]
[TR="class: h, bgcolor: #9999CC"]
[TH="align: center"]Directive[/TH]
[TH="align: center"]Local Value[/TH]
[TH="align: center"]Master Value[/TH]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.admin.enable_auth[/TD]
[TD="class: v, bgcolor: #CCCCCC"]On[/TD]
[TD="class: v, bgcolor: #CCCCCC"]On[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.cacher[/TD]
[TD="class: v, bgcolor: #CCCCCC"]On[/TD]
[TD="class: v, bgcolor: #CCCCCC"]On[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.coredump_directory[/TD]
[TD="class: v, bgcolor: #CCCCCC"]no value[/TD]
[TD="class: v, bgcolor: #CCCCCC"]no value[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.count[/TD]
[TD="class: v, bgcolor: #CCCCCC"]2[/TD]
[TD="class: v, bgcolor: #CCCCCC"]2[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.gc_interval[/TD]
[TD="class: v, bgcolor: #CCCCCC"]300[/TD]
[TD="class: v, bgcolor: #CCCCCC"]300[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.mmap_path[/TD]
[TD="class: v, bgcolor: #CCCCCC"]/dev/zero[/TD]
[TD="class: v, bgcolor: #CCCCCC"]/dev/zero[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.readonly_protection[/TD]
[TD="class: v, bgcolor: #CCCCCC"]no value[/TD]
[TD="class: v, bgcolor: #CCCCCC"]no value[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.shm_scheme[/TD]
[TD="class: v, bgcolor: #CCCCCC"]mmap[/TD]
[TD="class: v, bgcolor: #CCCCCC"]mmap[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.size[/TD]
[TD="class: v, bgcolor: #CCCCCC"]128M[/TD]
[TD="class: v, bgcolor: #CCCCCC"]128M[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.slots[/TD]
[TD="class: v, bgcolor: #CCCCCC"]1K[/TD]
[TD="class: v, bgcolor: #CCCCCC"]1K[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.stat[/TD]
[TD="class: v, bgcolor: #CCCCCC"]On[/TD]
[TD="class: v, bgcolor: #CCCCCC"]On[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.test[/TD]
[TD="class: v, bgcolor: #CCCCCC"]0[/TD]
[TD="class: v, bgcolor: #CCCCCC"]0[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.ttl[/TD]
[TD="class: v, bgcolor: #CCCCCC"]7200[/TD]
[TD="class: v, bgcolor: #CCCCCC"]7200[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.var_count[/TD]
[TD="class: v, bgcolor: #CCCCCC"]2[/TD]
[TD="class: v, bgcolor: #CCCCCC"]2[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.var_gc_interval[/TD]
[TD="class: v, bgcolor: #CCCCCC"]300[/TD]
[TD="class: v, bgcolor: #CCCCCC"]300[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.var_maxttl[/TD]
[TD="class: v, bgcolor: #CCCCCC"]7200[/TD]
[TD="class: v, bgcolor: #CCCCCC"]7200[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.var_size[/TD]
[TD="class: v, bgcolor: #CCCCCC"]256M[/TD]
[TD="class: v, bgcolor: #CCCCCC"]256M[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.var_slots[/TD]
[TD="class: v, bgcolor: #CCCCCC"]4K[/TD]
[TD="class: v, bgcolor: #CCCCCC"]4K[/TD]
[/TR]
[TR]
[TD="class: e, bgcolor: #CCCCFF"]xcache.var_ttl[/TD]
[TD="class: v, bgcolor: #CCCCCC"]7200[/TD]
[TD="class: v, bgcolor: #CCCCCC"]7200

[/TD]
[/TR]
[/TABLE]

I also done some load testing last night using Blazemeter, this runs for about an hours, loading 8 different page on the site quite a number of times, like in the thousands.
x29926d1381872472-forum-speed-blazemeter15-10-13.jpg.pagespeed.ic.ViiLoWZ7uV.jpg
The blue line is the amount of users. The light green line is the same load test i done a few months ago. The Dark green line is with VBOptimise guest caching(10mins) and with the XCache settings of above. So a few monts ago on a VPS 1GB RAM with APC caching, and now with Dedicated 4GB dual core and XCache, it far more constant at delivering the pages and its jumped from 5 seconds delivery time to 0.7seconds..

I've been running further tests this morning and the guest caching is still working as expected. :)
 
Excellent, thanks for reporting back :)

If you have a few minutes, we would appreciate it if you would create a review in our new review system.

Not only do we get invaluable feedback on our products, you also get $1 in free DBTech points to go towards your next purchase for every approved review you write.

When entering a review there is also a field to enter a link to your site so it's win-win. Points to get a DBTech product at a lower price and free advertising!

If you wonder what kind of review we are looking for, Cosmic created what he thinks is a good sample here.
 
Status
Not open for further replies.

Legacy vB Optimise

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
1,972
Customer rating
0.00 star(s) 0 ratings
Top