Date: Thu, 7 Jun 2007 17:17:19 +1000 (EST) From: Bruce Evans <brde@optusnet.com.au> To: Kip Macy <kip.macy@gmail.com> Cc: src-committers@FreeBSD.org, John Baldwin <jhb@FreeBSD.org>, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org, Attilio Rao <attilio@FreeBSD.org>, Bruce Evans <brde@optusnet.com.au>, Kostik Belousov <kostikbel@gmail.com>, Jeff Roberson <jroberson@chesapeake.net> Subject: Re: cvs commit: src/sys/kern kern_mutex.c Message-ID: <20070607163724.M7517@besplex.bde.org> In-Reply-To: <b1fa29170706062324p793ac8e2ga8dc5bf8ba151a60@mail.gmail.com> 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> <b1fa29170706062324p793ac8e2ga8dc5bf8ba151a60@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070607163724.M7517>