Site icon David Yin's Blog

Opcache Control Panel of PHP 5.5.3 Zend OPcache v7.0.3

I use the new PHP with Opcache v7.0.3. I want to see how it works, just like xcache. Xcache has its official administrator page. OPcache does not have one. So I googled some and installed three control panels.

1. OCP – Opcache Control Panel

2. OP

3. Opcache

Within these tools or control panels, I can see the details of Zend Opcache. I can reset the whole opcode cache or just invalidate one file cached. It is very high performance  tool. Compare the cache hits and misses, it is 313893 to 377. Very high hit ration.

My Zend OPcache settings as below:

opcache.memory_consumption 128.00 MB
opcache.interned_strings_buffer 4
opcache.max_accelerated_files 50000
opcache.max_wasted_percentage 0.05
opcache.consistency_checks 0
opcache.force_restart_timeout 180
opcache.revalidate_freq 2
Exit mobile version