DragonFly BSD
DragonFly kernel List (threaded) for 2010-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[no subject]



MySQL sysbench ==================================
I ran sysbench OLTP against a MySQL server on FreeBSD 8 (2-core
Core2Duo 3.0GHz) and varied the number of threads; this is how nmalloc
1.33 fared against nmalloc and jemalloc (in transactions/sec):
http://m-net.arbornet.org/~sv5679/sysbench_nmalloc.gif

Polachok repeated these tests on a 4-core Xeon server (4 core + 4 HTT,
2.6GHz) running DragonFly; here is the improvement, again in
transactions/sec:
http://m-net.arbornet.org/~sv5679/sysbench_nmalloc_df.gif

===================================

I'd appreciate if people could try these allocator improvements out;
to do so, you can either:
1) Grab http://m-net.arbornet.org/~sv5679/nmalloc.c and
http://m-net.arbornet.org/~sv5679/Makefile ;run make, you will get a
shared object that you can LD_PRELOAD.
2) Grab http://m-net.arbornet.org/~sv5679/nmalloc.c and replace
/usr/src/lib/libc/stdlib/nmalloc.c ; rebuild world. Your entire system
will use the new allocator.

Kick it around, see if it is faster; see if it explodes in use.

All of this work is also at
http://gitweb.dragonflybsd.org/~vsrinivas/dragonfly.git, in the
nmalloc_mt branch.

I'd also appreciate any code reviews, if anyone is interested.

Thanks!
-- vs



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]