public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/5756] New: Slowness module generating for testsuite/systemtap.stress/current.stp  due to elfutils-0.131
@ 2008-02-12 14:14 wcohen at redhat dot com
  2008-02-12 14:16 ` [Bug translator/5756] " wcohen at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: wcohen at redhat dot com @ 2008-02-12 14:14 UTC (permalink / raw)
  To: systemtap

I was looking through the nightly test results and I noticed that recently
systemtap.stress/current.stp times out on all the machine running nightly tests.
It uses to be that systemtap.stress/current.stp was a relatively quick test to run.

I looked through the nightly testing build that checks things out at 4:30 am EST
and it appears that stap is reasonably fast 20080124 then 2008125 it is
literally 30 times slower. Ran the following command with various versions of
systemtap in the testsuite directory:

/usr/bin/time ../stap
/home/wcohen/stap_testing_200802070930/src/testsuite/systemtap.stress/current.stp
-g -m x -v -c 'sleep 1'

Below is the table of results from the time command.

date       output of time

20080124
    6.23user 1.25system 0:11.84elapsed 63%CPU
    (0avgtext+0avgdata 0maxresident)k
    0inputs+0outputs (406major+196130minor)pagefaults 0swaps
20080125
    230.78user 1.37system 3:55.77elapsed 98%CPU
    (0avgtext+0avgdata 0maxresident)k
    0inputs+0outputs (29major+213027minor)pagefaults 0swaps

The problem appear to be a huge amount of time spent in some of the rountines in
  elfutils-0.131. Also see huge amount of time with elfutils-0.132. The same
systemtap code built elfutils-0.129 is much faster (30 times faster). Below is a
profiling data from oprofile showing the routines that  the systemtap spends its
time in elfutils-0.132:

$ opreport -t1 ./stap -l
CPU: P4 / Xeon with 2 hyper-threads, speed 2793.08 MHz (estimated)
Counted GLOBAL_POWER_EVENTS events (time during which processor is not stopped)
with a unit mask of 0x01 (mandatory) count 100000
samples  %        image name               symbol name
4355797  68.3146  libdw.so.1               relocate.5976
1679547  26.3414  libelf.so.1              gelf_getsymshndx
168836    2.6480  libc-2.5.so              strcmp
94576     1.4833  libdw.so.1               anonymous symbol from section .plt

-- 
           Summary: Slowness module generating for
                    testsuite/systemtap.stress/current.stp  due to elfutils-
                    0.131
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: wcohen at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=5756

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug translator/5756] Slowness module generating for testsuite/systemtap.stress/current.stp  due to elfutils-0.131
  2008-02-12 14:14 [Bug translator/5756] New: Slowness module generating for testsuite/systemtap.stress/current.stp due to elfutils-0.131 wcohen at redhat dot com
@ 2008-02-12 14:16 ` wcohen at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: wcohen at redhat dot com @ 2008-02-12 14:16 UTC (permalink / raw)
  To: systemtap



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|systemtap at sources dot    |wcohen at redhat dot com
                   |redhat dot com              |
             Status|NEW                         |ASSIGNED


http://sourceware.org/bugzilla/show_bug.cgi?id=5756

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-02-12 14:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-12 14:14 [Bug translator/5756] New: Slowness module generating for testsuite/systemtap.stress/current.stp due to elfutils-0.131 wcohen at redhat dot com
2008-02-12 14:16 ` [Bug translator/5756] " wcohen at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).