Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755237AbXJIRbi (ORCPT ); Tue, 9 Oct 2007 13:31:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752905AbXJIRbb (ORCPT ); Tue, 9 Oct 2007 13:31:31 -0400 Received: from tomts40.bellnexxia.net ([209.226.175.97]:35641 "EHLO tomts40-srv.bellnexxia.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752831AbXJIRba (ORCPT ); Tue, 9 Oct 2007 13:31:30 -0400 Date: Tue, 9 Oct 2007 13:31:27 -0400 From: Mathieu Desnoyers To: Ingo Molnar Cc: "Alan D. Brunelle" , linux-kernel@vger.kernel.org, btrace , Jens Axboe , Andrew Morton Subject: Re: Linux Kernel Markers - performance characterization with large IO load on large-ish system Message-ID: <20071009173127.GA14714@Krystal> References: <46F92219.9020406@hp.com> <20070925171349.GA6057@Krystal> <46FA7A86.6090804@hp.com> <20071007193256.GA18558@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <20071007193256.GA18558@elte.hu> X-Editor: vi X-Info: http://krystal.dyndns.org:8080 X-Operating-System: Linux/2.6.21.3-grsec (i686) X-Uptime: 13:27:07 up 71 days, 17:45, 4 users, load average: 0.78, 0.79, 0.81 User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2636 Lines: 66 * Ingo Molnar (mingo@elte.hu) wrote: > > * Alan D. Brunelle wrote: > > > o All kernels start off with Linux 2.6.23-rc6 + 2.6.23-rc6-mm1 > > > > o '- bt cfg' or '+ bt cfg' means a kernel without or with blktrace > > configured respectively. > > > > o '- markers' or '+ markers' means a kernel without or with the > > 11-patch marker series respectively. > > > > 38 runs without blk traces being captured (dropped hi/lo value from 40 runs) > > > > Kernel Options Min val Avg val Max val Std Dev > > ------------------ --------- --------- --------- --------- > > - markers - bt cfg 15.349127 16.169459 16.372980 0.184417 > > + markers - bt cfg 15.280382 16.202398 16.409257 0.191861 > > > > - markers + bt cfg 14.464366 14.754347 16.052306 0.463665 > > + markers + bt cfg 14.421765 14.644406 15.690871 0.233885 > > actually, the pure marker overhead seems to be a regression: > > > - markers - bt cfg 15.349127 16.169459 16.372980 0.184417 > > + markers - bt cfg 15.280382 16.202398 16.409257 0.191861 > > why isnt the marker near zero-cost as it should be? (as long as they are > enabled but are not in actual use) 2% increase is _ALOT_. That's the > whole point of good probes: they do not slow down the normal kernel. > > _Worst case_ it should be at most a few instructions overhead but that > does not explain the ~2% wall-clock time regression you measured here. > > So there's something wrong going on - either markers have unacceptably > high cost, or the measurement is not valid. > > Ingo Hi Ingo, Tests were executed in the following conditions: "Taking Linux 2.6.23-rc6 + 2.6.23-rc6-mm1 as a basis, I took some sample runs of the following on both it and after applying Mathieu Desnoyers 11-patch sequence (19 September 2007). * 32-way IA64 + 132GiB + 10 FC adapters + 10 HP MSA 1000s (one 72GiB volume per MSA used)" Even though the 19 Sept. 2007 markers were released with dependency on immediate values, there are no optimized immediate values currently available on ia64. Therefore, we add a d-cache hit for every marker until we merge immediate values and implement the ia64 optimization. Mathieu -- Mathieu Desnoyers Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/