login
Header Space

 
 

Re: Thread benchmarks

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <darrenr@...>
Cc: <kris@...>, <ad@...>, <tech-kern@...>, <current-users@...>
Date: Tuesday, October 2, 2007 - 5:46 am

In message: <47020C5F.3060703@netbsd.org>
            Darren Reed <darrenr@NetBSD.org> writes:
: Kris Kennaway wrote:
: > Andrew Doran wrote:
: > 
: >>> In tests that have been run on p4 hardware, the FreeBSD system's graph
: >>> looks more like NetBSD's than the one presented here.  FreeBSD's kernel
: >>> has a lot of debugging options that hurt performance on by default. 
: >>> Also,
: >>> FreeBSD's malloc defaults to 'AJ' in head, which would result in reduced
: >>> performance.
: >>
: >> I can try turning off debugging in the allocator. What else would you
: >> like
: >> me to try? I would like to provide remote access to the two systems but
: >> unfortunatley my Internet link is unreliable and I'm not in a position to
: >> leave them on 24x7. Some details on the test. I grabbed my.cnf from Jeff
: >> Roberson's weblog:
: > 
: > You should rebuild malloc with MALLOC_PRODUCTION defined (edit
: > lib/libc/stdlib/malloc.c) as well as making sure that either
: > /etc/malloc.conf is removed or symlinked to 'aj'.  This is pretty
: > important.
: 
: When does this get turned on for normal FreeBSD builds?
: Just those that are "releases" (vs current)?

Yes.  -HEAD has that turned off so that we maximum sanity testing
during development cycles.  After we branch, one of the things done on
the branch before a release is to turn off all the performance
degrading debugging/sanity code.  Once off on a branch, it stays off
for the life of the branch.

Warner
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