Bug #66472 [Com]: Add extra outputs to opcache_get_status() to enable table sizing

From: Date: Wed, 19 Feb 2014 14:37:10 +0000
Subject: Bug #66472 [Com]: Add extra outputs to opcache_get_status() to enable table sizing
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-184361@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66472&edit=1 ID: 66472 Comment by: jpauli@php.net Reported by: Terry at ellisons dot org dot uk Summary: Add extra outputs to opcache_get_status() to enable table sizing Status: Open Type: Bug Package: opcache Operating System: N/ PHP Version: master-Git-2014-01-12 (Git) Block user comment: N Private report: N New Comment: I have some ideas as well, here : https://github.com/jpauli/ZendOptimizerPlus/compare/interned_string_patch Previous Comments: ------------------------------------------------------------------------ [2014-01-12 15:44:00] Terry at ellisons dot org dot uk Description: ------------ Sysadmins currently need to set various table sizes explicitly using the OPcache INI parameters, but they have no means of knowing the current sizes. This is a simple patch to add the extra field reporting to the opcache_get_status() output to allow them to do this properly. The key table here is the interned_strings pool, but I've also added ZCSG(include_paths) reporting. Note that ZendAccelerator.c nominally allocates 32 slots for the ZCSG(include_paths) table but in fact this is rounded up to the prime value 53, so the ZCSG(include_paths) short prefix is infact [A-Z\[\\\]^_`a-u]. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=66472&edit=1

« previous php.bugs (#184361) next »