PHP opcode caching and SMP (multiple processors)
Submitted by James on Thu, 2006-11-23 13:53.
This post has moved to my new blog. You can find this post at it's new home: http://jamesandres.com/post/show/Php-Opcode-Caching-And-Smp--Multiple-Processors--1
Hello all,
Off-Topic Note
I've decided to start blogging on a bit more of a regular basis. I'm not much of a blogger, but who knows ... it might just stick this time. I have a hunch problem was subject matter. So from now on I plan to stick to what I know best. Geek stuff!
Main Feature
Just learned an interesting thing about APC (the popular PHP opcode cache) today: APC hates SMP. I've been trying for nearly a month to get APC to run stably on our multi-CPU system. Invariably the extension will start seg. faulting within a few minutes or hours of starting up.
After many headaches, I gave up on APC. Running PHP without an opcode cache is a fairly crazy thing to do, so for the last month I've been looking high and low for a replacement. Recently I just stumbled across XCache and immediately loved what I saw. XCache is very similar to APC, the installation was nearly identical, but it has a few added options (I haven't explored them all yet).
Best of all, it works great with SMP!!!
I couldn't have said it better my self.
James.
delicious |
digg
