From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14288 invoked by alias); 12 Jul 2009 01:51:26 -0000 Received: (qmail 14260 invoked by uid 22791); 12 Jul 2009 01:51:25 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 12 Jul 2009 01:51:17 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n6C1pFDP009132 for ; Sat, 11 Jul 2009 21:51:15 -0400 Received: from fche.csb (vpn-10-134.bos.redhat.com [10.16.10.134]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n6C1pFFm015517; Sat, 11 Jul 2009 21:51:15 -0400 Received: by fche.csb (Postfix, from userid 2569) id C61B758463; Sat, 11 Jul 2009 21:51:09 -0400 (EDT) To: Mark Wielaard Cc: systemtap@sources.redhat.com Subject: Re: Pass 4 (non-)optimization speedup References: <1247337122.2708.24.camel@hermans.wildebeest.org> From: fche@redhat.com (Frank Ch. Eigler) Date: Sun, 12 Jul 2009 01:51:00 -0000 In-Reply-To: <1247337122.2708.24.camel@hermans.wildebeest.org> (Mark Wielaard's message of "Sat, 11 Jul 2009 20:32:02 +0200") Message-ID: User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2009-q3/txt/msg00090.txt.bz2 Mark Wielaard writes: > To make pass 4 a bit more flexible I added -O[0123s] as arguments to > stap (commit 5a5732). [...] > The default is -O0 which makes pass 4 a lot faster, so I think this is a > good default. [...] No, it is unlikely to be a good default. Frankly, I'm surprised it even compiles, since some kernel code is unbuildable without optimization. Anyway, the code generated by systemtap is complex enough that with optimization disabled, it is bound to run measurably slower. Please test some nontrivial probes with -t before & after. - FChE