From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27919 invoked by alias); 2 Oct 2006 14:42:20 -0000 Received: (qmail 27912 invoked by uid 22791); 2 Oct 2006 14:42:19 -0000 X-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,FORGED_RCVD_HELO X-Spam-Check-By: sourceware.org Received: from tomts5.bellnexxia.net (HELO tomts5-srv.bellnexxia.net) (209.226.175.25) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 02 Oct 2006 14:42:08 +0000 Received: from krystal.dyndns.org ([65.95.39.115]) by tomts5-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20061002144204.TLAD18394.tomts5-srv.bellnexxia.net@krystal.dyndns.org> for ; Mon, 2 Oct 2006 10:42:04 -0400 Received: from localhost (localhost [127.0.0.1]) (uid 1000) by krystal.dyndns.org with local; Mon, 02 Oct 2006 10:31:38 -0400 id 001E685C.452122CA.00002767 Date: Mon, 02 Oct 2006 14:42:00 -0000 From: Mathieu Desnoyers To: Martin Bligh , "Frank Ch. Eigler" , Masami Hiramatsu , prasanna@in.ibm.com, Andrew Morton , Ingo Molnar , Paul Mundt , linux-kernel , Jes Sorensen , Tom Zanussi , Richard J Moore , Michel Dagenais , Christoph Hellwig , Greg Kroah-Hartman , Thomas Gleixner , William Cohen , ltt-dev@shafik.org, systemtap@sources.redhat.com, Alan Cox , Jeremy Fitzhardinge , Karim Yaghmour , Pavel Machek , Joe Perches , "Randy.Dunlap" , "Jose R. Santos" Subject: [UPDATE] Performance analysis of Linux Kernel Markers 0.20 for 2.6.17 Message-ID: <20061002143138.GA19717@Krystal> References: <20060930180157.GA25761@Krystal> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <20060930180157.GA25761@Krystal> X-Editor: vi X-Info: http://krystal.dyndns.org:8080 X-Operating-System: Linux/2.4.32-grsec (i686) X-Uptime: 10:27:55 up 40 days, 11:36, 5 users, load average: 0.22, 0.30, 0.35 User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2006-q4/txt/msg00008.txt.bz2 Here are two minor corrections of my results : * Mathieu Desnoyers (compudj@krystal.dyndns.org) wrote: [...] > * Micro-benchmarks [...] > The following tests are done with the "optimized" markers only > [...] > - Execute a loop with a marker enabled, with an empty probe. Var args argument > setup, probe empty. No preemption disabling. > NR_LOOPS : 100000 > time delta (cycles): 3363450 > cycles per loop : 33.63 - cycles per loop to disable preemption : 44.08-33.63=10.45 + cycles per loop to disable preemption : 52.11-33.63=18.48 [...] > * Size (x86) > > This is the size added by each marker to the memory image : > > - Optimized > > .text section : instructions > Adds 6 bytes in the "likely" path. > Adds 32 bytes in the "unlikely" path. > .data section : r/w data > 0 byte + 4 bytes for the call address > .rodata.str1 : strings > Length of the marker name > .debug_str : strings (if loaded..) > Length of the marker name + 7 bytes (__mark_) > .markers > 8 bytes (2 pointers) > .markers.c > 12 bytes (3 pointers) > > - Generic > > .text section : instructions > Adds 11 bytes in the "likely" path. > Adds 32 bytes in the "unlikely" path. > .data section : r/w data > 1 byte (the activation flag) + 4 bytes for the call address > .rodata.str1 : strings > Length of the marker name > .debug_str : strings (if loaded..) > Length of the marker name + 7 bytes (__mark_) > .markers > 8 bytes (2 pointers) > .markers.c > 12 bytes (3 pointers) > Mathieu OpenPGP public key: http://krystal.dyndns.org:8080/key/compudj.gpg Key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68