Re: [PHP-DEV] is there any way to get realpath cache hit ratio of php?

2009-08-12 Thread Stanislav Malyshev
Hi! Is there any way to get realpath cache hit ratio of php? Unfortunately not, it doesn't have API for statistics or looking into the cache. It would be a good idea to add one. -- Stanislav Malyshev, Zend Software Architect s...@zend.com http://www.zend.com/ (408)253-8829 MSN: s...@zen

Re: [PHP-DEV] Is there any considerations for not putting php scripts in tmpfs?

2009-08-12 Thread Nicholas Sherlock
Patrick ALLAERT wrote: Don't do this, Linux/Unix already cache files in memory (-> grep ^Cached /proc/meminfo). If you want to speed up your PHP app, consider APC. +1 vote for APC. The performance improvement on my website was dramatic, I had to check the results several times before I believe