This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug runtime/12415] New: script startup is too slow, even with a cache


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

           Summary: script startup is too slow, even with a cache
           Product: systemtap
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: runtime
        AssignedTo: systemtap@sources.redhat.com
        ReportedBy: jan.kratochvil@redhat.com


A cached script still takes over 1 sec to run (i7-920, in KVM).
This is not competitive with /usr/bin/strace:

time /usr/bin/strace true
real    0m0.004s

vs.

stap -v f.stp
Pass 1: parsed user script and 75 library script(s) using
94408virt/21812res/2684shr kb, in 100usr/0sys/105real ms.
Pass 2: analyzed script: 798 probe(s), 9 function(s), 20 embed(s), 1 global(s)
using 332444virt/214304res/80880shr kb, in 1060usr/70sys/1118real ms.
Pass 3: using cached
/home/jkratoch/.systemtap/cache/e7/stap_e7c2e33f809839125f3305deb0180b29_180480.c
Pass 4: using cached
/home/jkratoch/.systemtap/cache/e7/stap_e7c2e33f809839125f3305deb0180b29_180480.ko
Pass 5: starting run.
done

with:

global v
probe begin
{
  printf ("done\n")
}
probe syscall.*
{
  v++
}
probe syscall.*.return
{
  v++
}

268K    CACHE.c
748K    CACHE.ko
184K    CACHE_hash.log
(yes, it is due to syscall.*)

systemtap-1.3-3.fc14.x86_64
systemtap-1.4-1.fc15.x86_64

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]