On Thu, 30 Dec 2010, Martijn de Munnik wrote:

I know that I can run a lot of PHP processes in parallel. But that is only interesting for me as server admin. When a scripts takes 5 seconds to run a customer doesn't care that we can run 100 of them in parallel. I know PHP is single threaded but I didn't expect poorer performance of a T5120 compared to a X2100M2.

Now you know. :-)

SPARC T-series is best for running highly-threaded apps like Java servelets or specially coded multi-threaded applications. It is poor for large monolithic lumbering legacy software, which is ill prepared for the future. I was astonished to learn how well the image processing package I maintain (highly threaded) runs on SPARC T2. Due to the threading, the SPARC T2 was able to offer similar total performance to AMD Opteron systems sold at the same point in time.

I'm now trying to optimize the compilation of PHP but I don't expect huge amounts of improvements. There seems to be a bug in APC on Sparc http://pecl.php.net/bugs/bug.php?id=17088 so I can't use APC to improve the performance. I haven't tried xcache jet.

Note that this bug report included a compiler option which allows the software to still work without crashing. The code will execute less efficiently but this might not matter if the unaligned access does not occur very often.

Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org

Reply via email to