public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug testsuite/16570] New: the syscall.exp and nd_syscall.exp testcases take too long
@ 2014-02-12 18:55 dsmith at redhat dot com
  2014-02-12 19:01 ` [Bug testsuite/16570] " dsmith at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: dsmith at redhat dot com @ 2014-02-12 18:55 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=16570

            Bug ID: 16570
           Summary: the syscall.exp and nd_syscall.exp testcases take too
                    long
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: testsuite
          Assignee: systemtap at sourceware dot org
          Reporter: dsmith at redhat dot com

I've been adding more C testcases for the syscall/nd_syscall testsuite. I've
noticed that these testcases take a long time to run. On a recent debug x86_64
kernel, the syscall testsuite took over 38 minutes to run.

From some debugging, the majority of that time is spent compiling and
recompiling the test module. Even using a cached module, it takes a lot of time
to process the sys.stp/nd_sys.stp scripts since they probe every syscall.

Compiling the module once, then using staprun to load the resulting module
should speed these tests up.

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

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

* [Bug testsuite/16570] the syscall.exp and nd_syscall.exp testcases take too long
  2014-02-12 18:55 [Bug testsuite/16570] New: the syscall.exp and nd_syscall.exp testcases take too long dsmith at redhat dot com
@ 2014-02-12 19:01 ` dsmith at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: dsmith at redhat dot com @ 2014-02-12 19:01 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=16570

David Smith <dsmith at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from David Smith <dsmith at redhat dot com> ---
Commit 661d7be causes the test script to be compiled once. With this change,
the syscall.exp testcase takes under 3 minutes.

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

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

end of thread, other threads:[~2014-02-12 19:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-12 18:55 [Bug testsuite/16570] New: the syscall.exp and nd_syscall.exp testcases take too long dsmith at redhat dot com
2014-02-12 19:01 ` [Bug testsuite/16570] " dsmith 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).