Re: Is there any considerations for not putting php scripts in tmpfs?

From: Date: Wed, 12 Aug 2009 08:37:42 +0000
Subject: Re: Is there any considerations for not putting php scripts in tmpfs?
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-45267@lists.php.net to get a copy of this message
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 believed it. We were a heavily overloaded server whose load average was 50 at peak times. A quick "apt-get install php-apc" reduced that load to 5.0, with just a 32MB opcode cache. Cheers, Nicholas Sherlock

« previous php.internals (#45267) next »