vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   XCache configuration (https://vborg.vbsupport.ru/showthread.php?t=176710)

maidos 04-20-2008 06:21 PM

XCache configuration
 
so i have xcache installed but i am wondering if the configuration is recommendable one or which one need to be changed to improve the performance?

XCache
XCache Support enabled
Version 1.2.2
Modules Built cacher
Readonly Protection N/A
Opcode Cache enabled, 67,108,864 bytes, 4 split(s), with 8192 slots each
Variable Cache enabled, 67,108,864 bytes, 4 split(s), with 8192 slots each
Shared Memory Schemes mmap

Directive Local Value Master Value
xcache.admin.enable_auth Off Off
xcache.cacher On On
xcache.coredump_directory no value no value
xcache.count 4 4
xcache.gc_interval 300 300
xcache.mmap_path /dev/zero /dev/zero
xcache.readonly_protection no value no value
xcache.shm_scheme mmap mmap
xcache.size 64M 64M
xcache.slots 8K 8K
xcache.stat On On
xcache.test no value no value
xcache.ttl 7200 7200
xcache.var_count 4 4
xcache.var_gc_interval 300 300
xcache.var_maxttl 14400 14400
xcache.var_size 64M 64M
xcache.var_slots 8K 8K
xcache.var_ttl 7200 7200

snakes1100 04-20-2008 06:30 PM

Directive Local Value Master Value
xcache.admin.enable_auth Off Off
xcache.cacher On
xcache.coredump_directory
xcache.count 4 <-- CPU Cores - 1 quadcore =4
xcache.mmap_path
xcache.readonly_protection Off
xcache.shm_scheme mmap
xcache.size 32M
xcache.slots 8K
xcache.stat On
xcache.test Off
xcache.ttl 3200
xcache.gc_interval 3200
xcache.var_count 4 <-- CPU Cores - 1 quadcore =4
xcache.var_gc_interval 3200
xcache.var_maxttl 7200
xcache.var_size 16M <-- only if your using the xcache/vb hack or using vbseo, if neither set to 0
xcache.var_slots 8K
xcache.var_ttl 3200

maidos 04-20-2008 06:34 PM

thanks, i do host several sites and some cms script site. should i still follow the configuration you made?
my server is
e5405 harpertown quadcore
4 gb ram
500 gb hard disk

snakes1100 04-20-2008 08:09 PM

If the cms script isnt designed to use the var store function of xcache, you can keep it off/0

You will have to run xcache for a while to see exactly how much ram you will require for all sites on the server, 32M/64M is fine to start with for now, if your running out of ram, then set it higher and HUP apache.


All times are GMT. The time now is 11:12 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.01013 seconds
  • Memory Usage 1,708KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete