login
Header Space

 
 

Thread benchmarks

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <tech-kern@...>, <current-users@...>
Date: Friday, September 28, 2007 - 1:50 pm

Back in March I posted some MySQL benchmarks after we switched to a 1:1
threading model in -current *. I've spent a lot of time tuning the pthread
library so I thought I'd post a followup. The original benchmark that I used
(supersmack) now performs much better on -current that it did a few months
ago, so I picked something else this time: MySQL sysbench.

Most of the sysbench runs that I've seen to date have sysbench running on
the same machine as the database. That's a good test but with the exception
of small installations and out-of-band activity, production setups rarely
look like that. So I ran sysbench itself on a seperate dual core system.

Here are the results, comparing NetBSD 3 with NetBSD-current:

        http://www.netbsd.org/~ad/sysbench/netbsd.png

And NetBSD-current compared to other systems:

        http://www.netbsd.org/~ad/sysbench/netbsd-and-others.png

Note this is stock NetBSD-current with FreeBSD's malloc() (jemalloc) in
libc. I'll be merging that some time soon.

With the vmlocking CVS branch and Mindaugas' new scheduler NetBSD peaks
around 500 TPS. There is a very gradual fall off in the number of TPS
achieved as the number of connections begins to ramp up. I suspect that
could be due to a weakness somewhere in the network stack, so I'm hopeful
that a bit of time spent profiling with large numbers of connections could
yield good results.

Thanks,
Andrew

* http://mail-index.netbsd.org/tech-kern/2007/03/02/0005.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Thread benchmarks, Andrew Doran, (Fri Sep 28, 1:50 pm)
Re: Thread benchmarks, Brett Lymn, (Mon Oct 1, 10:56 pm)
Re: Thread benchmarks, Warner Losh, (Fri Sep 28, 4:04 pm)
Re: Thread benchmarks, Andrew Doran, (Mon Oct 1, 9:33 am)
Re: Thread benchmarks, Kris Kennaway, (Mon Oct 1, 6:26 pm)
Re: Thread benchmarks - FreeBSD corrections, Andrew Doran, (Wed Oct 3, 10:08 am)
Re: Thread benchmarks, Darren Reed, (Tue Oct 2, 5:16 am)
Re: Thread benchmarks, M. Warner Losh, (Tue Oct 2, 5:46 am)
Re: Thread benchmarks, Adam Hamsik, (Fri Sep 28, 3:25 pm)
Re: Thread benchmarks, Thor Lancelot Simon, (Fri Sep 28, 2:27 pm)
Re: Thread benchmarks, Andrew Doran, (Fri Sep 28, 3:39 pm)
Re: Thread benchmarks, Mike Cheponis, (Tue Oct 2, 1:33 am)
Re: Thread benchmarks , , (Tue Oct 2, 1:21 pm)
Re: Thread benchmarks, Andrew Doran, (Wed Oct 3, 9:23 am)
Re: Thread benchmarks, Alistair Crooks, (Tue Oct 2, 6:13 am)
Re: Thread benchmarks, Christoph Egger, (Mon Oct 1, 4:32 am)
Re: Thread benchmarks, matthew sporleder, (Fri Sep 28, 1:57 pm)
Re: Thread benchmarks, Andrew Doran, (Fri Sep 28, 3:34 pm)
speck-geostationary