From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8990 invoked by alias); 7 Dec 2005 16:37:07 -0000 Received: (qmail 8975 invoked by uid 22791); 7 Dec 2005 16:37:06 -0000 X-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DNS_FROM_RFC_ABUSE X-Spam-Check-By: sourceware.org Received: from e32.co.us.ibm.com (HELO e32.co.us.ibm.com) (32.97.110.150) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 07 Dec 2005 16:37:05 +0000 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e32.co.us.ibm.com (8.12.11/8.12.11) with ESMTP id jB7Gb3jH018648 for ; Wed, 7 Dec 2005 11:37:03 -0500 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay04.boulder.ibm.com (8.12.10/NCO/VERS6.8) with ESMTP id jB7GcbSn062504 for ; Wed, 7 Dec 2005 09:38:37 -0700 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.12.11/8.13.3) with ESMTP id jB7Gb2IG027649 for ; Wed, 7 Dec 2005 09:37:02 -0700 Received: from dyn9047017102.beaverton.ibm.com (dyn9047017102.beaverton.ibm.com [9.47.17.102]) by d03av02.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id jB7Gb22c027599; Wed, 7 Dec 2005 09:37:02 -0700 Subject: Re: MAXACTION exceeded error while using systemtap From: Badari Pulavarty To: William Cohen Cc: "Frank Ch. Eigler" , SystemTAP In-Reply-To: <4396FDE6.4010709@redhat.com> References: <1133887261.21841.3.camel@localhost.localdomain> <1133917866.21841.24.camel@localhost.localdomain> <4396FDE6.4010709@redhat.com> Content-Type: text/plain Date: Wed, 07 Dec 2005 16:37:00 -0000 Message-Id: <1133973440.21841.34.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 (2.0.4-4) Content-Transfer-Encoding: 7bit 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: 2005-q4/txt/msg00359.txt.bz2 On Wed, 2005-12-07 at 10:21 -0500, William Cohen wrote: > Badari Pulavarty wrote: > > On Tue, 2005-12-06 at 11:59 -0500, Frank Ch. Eigler wrote: > > > >>Badari Pulavarty writes: > >> > >> > >>>I am trying to collect pagecache usage info using systemtap > >>>and I get following error, while reporting. What should I > >>>do fix it ? > >>>[...] > >>>ERROR: MAXACTION exceeded near embedded-code > >>>at /usr/local/share/systemtap/tapset/logging.stp:9:29 > >> > >>See http://sourceware.org/bugzilla/show_bug.cgi?id=1866 > > > > > > Okay, Thank you. > > > > BTW, I am impressed with the NO (noticeable) overhead added > > by having systemtap probes. Of course, I wasn't really doing > > a performance measurement. I was doing untars, kernel compiles > > with probes in add_to_page_cache() and remove_from_page() - > > which gets called a lot and didn't make much difference in the > > kernel compile time :) > > > > > > time with probe: > > (Totals PageAdd = 215326 PageDel = 17612) > > > > real 3m40.492s > > user 5m44.894s > > sys 1m2.276s > > > > time without probe: > > > > real 3m40.085s > > user 5m45.650s > > sys 1m1.572s > > > > > > > > > > Thanks, > > Badari > > > > Assuming there is one probe fired per PageAdd and PageDel, there would > be 232,938 probes fired during the experiment's 220 seconds. This would > average 1059 probes per second. If one assumes about 1 microsecond > overhead per probe (rough guestimage) that would be about .23 seconds > over the run, pretty small. Above data is not quite correct. The probe was collecting data for untar & kernel compile. Time was reported only for kernel compile.. So, I collected that again, just for kernel compile: Totals PageAdd = 151774 PageDel = 17495 (total = 169269 probes fired) real 3m39.122s user 5m44.446s sys 1m1.976s Thanks, Badari