Date: Fri, 23 Nov 2007 13:06:22 +0200 From: Krassimir Slavchev <krassi@bulinfo.net> To: Ivan Voras <ivoras@freebsd.org> Cc: freebsd-stable@freebsd.org Subject: Re: 2 x quad-core system is slower that 2 x dual core on FreeBSD Message-ID: <4746B42E.4040709@bulinfo.net> In-Reply-To: <9bbcef730711230216l74c30a08ja04a558742789b17@mail.gmail.com> References: <4741905E.8050300@chistydom.ru> <fhs3s5$knj$1@ger.gmane.org> <47419AB3.5030008@chistydom.ru> <fhs7db$2es$1@ger.gmane.org> <4741B3DE.2000009@chistydom.ru> <fhsl0v$n85$1@ger.gmane.org> <47430AE8.7050408@chistydom.ru> <9bbcef730711200915n12e37efcs67cf260641b9baab@mail.gmail.com> <47469EF9.70409@bulinfo.net> <9bbcef730711230216l74c30a08ja04a558742789b17@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ivan Voras wrote: > On 23/11/2007, Krassimir Slavchev <krassi@bulinfo.net> wrote: > >> Would someone define what exact tests to be performed. >> Ok, using "ab" is fine but with what parameters it is used and against >> what, script or static html? It will be good to have written some perl, > > In this thread, it's always PHP code, with database backends. > >> php ... scripts or C programs which simulates some kind of 'real world' >> work. > > The problem is that a realistic applications does a lot of things that > are not easily simulated: That's true but if the tests are same then they can be compared. > > - usually has a lot of code, lots of include files, libraries, etc. > (so it stresses file systems, as was shown with fstat() in the thread > - the code is most likely checking for changes in PHP libraries) This is not recommended for production systems. > - uses a database, which is populated with real-world data (so it has > a lot of IPC of very varied sizes) > - uses some kind of caching, both of compiled PHP code (eAccelerator, > pecl-APC) and of data (eAccelerator, memcached) (which uses SysV SHM > and IPC). > > Reducing all that to a C file that does all of it is very nontrivial. Yes, may be it is easier to write perl/php scripts. > For "classic" setups with mod_php, it's not uncommon that httpd > processes grow to 100 MB or more each, with all the heavy stuff > brought in. > Yes, that is true for mod_perl too. However, it is hard to simulate real workload. I will have 2 2xQuad Core(X5450) with 8G RAM systems (DL380G5) soon and will have about a month to play with them before put in production. If someone wish I can run specific test on them. Best Regards -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHRrQuxJBWvpalMpkRAvL9AJ9tBgeZPxg6zYWqJUgVimIJgaxl1ACeK2kS POeyNbZBGuiQB0OKHIEtoSk= =pjb2 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4746B42E.4040709>