Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Oct 2008 16:26:53 +0300
From:      Danny Braniss <danny@cs.huji.ac.il>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: bad NFS/UDP performance 
Message-ID:  <E1KlkgH-000Iv9-2A@cs1.cs.huji.ac.il>
In-Reply-To: <alpine.BSF.1.10.0810031022140.41647@fledge.watson.org> 
References:  <E1Kj7NA-000FXz-3F@cs1.cs.huji.ac.il> <20080926081806.GA19055@icarus.home.lan> <E1Kj9bR-000H7t-0g@cs1.cs.huji.ac.il> <20080926095230.GA20789@icarus.home.lan> <E1KjEZw-000KkH-GP@cs1.cs.huji.ac.il> <alpine.BSF.1.10.0809271114450.20117@fledge.watson.org> <E1KjY2h-0008GC-PP@cs1.cs.huji.ac.il> <b41c75520809290140i435a5f6dge5219cd03cad55fe@mail.gmail.com> <E1Klfac-000DzZ-Ie@cs1.cs.huji.ac.il> <alpine.BSF.1.10.0810030910351.41647@fledge.watson.org> <E1KlgYe-000Es2-8u@cs1.cs.huji.ac.il> <alpine.BSF.1.10.0810031003440.41647@fledge.watson.org> <E1KlgnA-000F6w-NT@cs1.cs.huji.ac.il> <alpine.BSF.1.10.0810031022140.41647@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> On Fri, 3 Oct 2008, Danny Braniss wrote:
> 
> > gladly, but have no idea how to do LOCK_PROFILING, so some pointers would be 
> > helpfull.
> 
> The LOCK_PROFILING(9) man page isn't a bad starting point -- I find that the 
> defaults work fine most of the time, so just use them.  Turn the enable syscl 
> on just before you begin a run, and turn it off immediately afterwards.  Make 
> sure to reset between reruns (rebooting to a new kernel is fine too!).
> 
in ftp://ftp.cs.huji.ac.il/users/danny/lock.prof
there 3 files:
	7.1-100		host connected at 100 running -prerelease
	7.1-1000	same but connected at 1000
	7.0-1000	-stable with your 'patch' 
at 100 my benchmark didn't suffer from the profiling, average was about 9.
at 1000 the benchmark got realy hit, average was around 12 for the patched,
and 4 for the unpatched (less than at 100).

danny





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1KlkgH-000Iv9-2A>