Hello, I've pushed a few minuts ago a new script, you'll find it at misc/load_testing/benchmark_staff.pl Run the script to get the parameters and information. It run up to 7 different benchmarks on a given setup. I'll use this script regularly, when pushing patches that are related to speed of Koha. I'll add the results on the page : http://wiki.koha-community.org/wiki/Benchmark_for_3.8 I already have added 2 benchmark, with the speed of today master, with and without memcache. My first surprise (and I did the tests 3 times to be sure I wasn't making a mistake !) is that you almost get no speed improvement with memcache ON. Some patches should be validated soon, I hope we will see a lot of improvements, as Koha really need it ! HTH -- Paul POULAIN http://www.biblibre.com Expert en Logiciels Libres pour l'info-doc Tel : (33) 4 91 81 35 08
On Fri, Dec 02, 2011 at 05:46:35PM +0100, Paul Poulain wrote:
My first surprise (and I did the tests 3 times to be sure I wasn't making a mistake !) is that you almost get no speed improvement with memcache ON.
I have seen similar behaviour when I benchmarked Koha about a year ago[1] In the end, I opted to test with plain Memoize as opposed to memcache-backed one. My assumption was that TCP overhead eats away all improvements we might get from memcache (or to put it nicely, mysql and zebra are not *that* slow :-) 1: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7177 2: http://git.rot13.org/?p=koha.git;a=commitdiff;h=b2155fc483f09b34c4a6ba92256f... -- Dobrica Pavlinusic 2share!2flame dpavlin@rot13.org Unix addict. Internet consultant. http://www.rot13.org/~dpavlin
* Dobrica Pavlinusic (dpavlin@gmail.com) wrote:
On Fri, Dec 02, 2011 at 05:46:35PM +0100, Paul Poulain wrote:
My first surprise (and I did the tests 3 times to be sure I wasn't making a mistake !) is that you almost get no speed improvement with memcache ON.
I have seen similar behaviour when I benchmarked Koha about a year ago[1]
In the end, I opted to test with plain Memoize as opposed to memcache-backed one. My assumption was that TCP overhead eats away all improvements we might get from memcache (or to put it nicely, mysql and zebra are not *that* slow :-)
1: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7177 2: http://git.rot13.org/?p=koha.git;a=commitdiff;h=b2155fc483f09b34c4a6ba92256f...
Memcached is for scalability not speed. It will however give you speed in easy serialised and deserialised objects, that are costly to create. But scalability is the main thing, you will notice better throughput. And it will take load off your database server, which when you site is very busy will provide speed. CHris -- Chris Cormack Catalyst IT Ltd. +64 4 803 2238 PO Box 11-053, Manners St, Wellington 6142, New Zealand
Looks great. But I have a missing dependance : "HTTPD::Bench::ApacheBench". Is there a debian package of it ? Regards, -- Fridolyn SOMERS ICT engineer PROGILONE - Lyon - France fridolyn.somers@gmail.com On Fri, Dec 2, 2011 at 6:47 PM, Dobrica Pavlinusic <dpavlin@gmail.com>wrote:
On Fri, Dec 02, 2011 at 05:46:35PM +0100, Paul Poulain wrote:
My first surprise (and I did the tests 3 times to be sure I wasn't making a mistake !) is that you almost get no speed improvement with memcache ON.
I have seen similar behaviour when I benchmarked Koha about a year ago[1]
In the end, I opted to test with plain Memoize as opposed to memcache-backed one. My assumption was that TCP overhead eats away all improvements we might get from memcache (or to put it nicely, mysql and zebra are not *that* slow :-)
1: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7177 2: http://git.rot13.org/?p=koha.git;a=commitdiff;h=b2155fc483f09b34c4a6ba92256f...
-- Dobrica Pavlinusic 2share!2flame dpavlin@rot13.org Unix addict. Internet consultant. http://www.rot13.org/~dpavlin _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
participants (4)
-
Chris Cormack -
Dobrica Pavlinusic -
Fridolyn SOMERS -
Paul Poulain