From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 47290 invoked by alias); 5 Oct 2016 07:36:46 -0000 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 Received: (qmail 46193 invoked by uid 48); 5 Oct 2016 07:36:31 -0000 From: "mcermak at redhat dot com" To: systemtap@sourceware.org Subject: [Bug runtime/10234] clean up aggregate hard-coded logic Date: Wed, 05 Oct 2016 07:36:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: runtime X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mcermak at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-q4/txt/msg00002.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D10234 --- Comment #11 from Martin Cermak --- Checked in commit 26382d613f4d266f74ddb3d3f3f36aceab171e14 . The optimization effect significantly depends on compiler version, platform architecture, and the stat operators being used for given global. At the moment, the available stat operators are @count, @sum, @min, @max, @avg, and @variance. The most computionally expensive is @variance. The effect of optimizing @variance is significant. Other stat operators are computionally chap and so the effect of their optimizations is relatively low. Using gcc-6.2.1-1.fc26.x86_64, the @count, @sum, @min, and @max optimizations brings approximately 8% run time shrinkage. The @variance optimization shrinkage is up to 70% using this compiler. For other architectures, namely for power, the optimization is less effective. --=20 You are receiving this mail because: You are the assignee for the bug.