From owner-cvs-src@FreeBSD.ORG Thu Jun 7 07:17:30 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EF77A16A400; Thu, 7 Jun 2007 07:17:30 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail11.syd.optusnet.com.au (mail11.syd.optusnet.com.au [211.29.132.192]) by mx1.freebsd.org (Postfix) with ESMTP id 803A013C447; Thu, 7 Jun 2007 07:17:30 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from besplex.bde.org (c220-239-235-248.carlnfd3.nsw.optusnet.com.au [220.239.235.248]) by mail11.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id l577HHGJ020454 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 7 Jun 2007 17:17:19 +1000 Date: Thu, 7 Jun 2007 17:17:19 +1000 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: Kip Macy In-Reply-To: Message-ID: <20070607163724.M7517@besplex.bde.org> References: <200706051420.l55EKEih018925@repoman.freebsd.org> <3bbf2fe10706050829o2d756a4cu22f98cf11c01f5e4@mail.gmail.com> <3bbf2fe10706050843x5aaafaafy284e339791bcfe42@mail.gmail.com> <200706051230.21242.jhb@freebsd.org> <20070606094354.E51708@delplex.bde.org> <20070605195839.I606@10.0.0.1> <20070606154548.F3105@besplex.bde.org> <20070607133524.S7002@besplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: src-committers@FreeBSD.org, John Baldwin , cvs-src@FreeBSD.org, cvs-all@FreeBSD.org, Attilio Rao , Bruce Evans , Kostik Belousov , Jeff Roberson Subject: Re: cvs commit: src/sys/kern kern_mutex.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jun 2007 07:17:31 -0000 On Wed, 6 Jun 2007, Kip Macy wrote: > Bruce - > Can you also say how many runs do you do and how much variance there > is between runs? Only 1 or 2 runs for a quick test. I always reboot the client before even most quick tests. Maximum variance is ~0.1% on a good day and ~0.5% on a bad or different day provided most parameters are held constant. The main parameters that aren't quite held constant are the temperature, the server load, and pagezero activity -- pagezero activity is very dependent on initial conditions and/or races. I sometimes repeat the makeworld in a loop without rebooting. This gives more variance for the warm state of the client after the first run of course, and more for subsequent runs too since the initial cache(s) state is more variable. Results of the most recent runs of this: (Cold client): 834.39 real 1300.21 user 192.19 sys 1323006 voluntary context switches 1526348 involuntary context switches (Warm client): 832.52 real 1298.68 user 193.07 sys 1290718 voluntary context switches 1456190 involuntary context switches This is with 4BSD, no PREEMPTION, and pagezero disabled. With the same kernel but pagezero not disabled, the time for a cold client was ~843 seconds real (somehow down from 847 yesterday). With pagezero working correctly, the time for a cold client would be ~= 834 seconds(above time) - 6 seconds(time saved by pagezero) = 828 seconds (best time was 827+ seconds). The next run will have pagezero resetting its priority when this priority gets clobbered. Bruce