xcache count vs cpu count vs webadmin slots -
using xcache 3.1.0 on php 5.4.24 on dual hexacore machine (12 cores):
[~]# cat /proc/cpuinfo |grep -c processor 12
i have entered 12 in count property of xcache object in php.ini , webadmin agrees:
http://i61.tinypic.com/29oj342.png
however, getting 16 slots php caching, of being used:
http://i58.tinypic.com/jgpl5c.png
can explain this? supposed happen?
one quick explanation situation might xcache rounding 12 number 16.
reading post, changed xcache.count installation 4 12, when tested it, got 16 threads instead of 12. set 6, rounded 8 i'm pretty sure xcache.count needs set power of 2.
Comments
Post a Comment