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 testsuite/10671] semok/twenty.stp takes 15 minutes on slow/low-memorry machine


------- Additional Comments From fche at redhat dot com  2009-09-20 23:33 -------
One possibility for pass-2 speedup is to clear out the various dwarf data 
periodically by calling build_no_more if we detect we are paging.

On my tests, on a well-RAM'd machine, the bulk of the time is in fact in
pass 3 - the unwindsyms data dumping.  That shouldn't be.

/usr/bin/time ./stap -r 2.6.30.5-43.fc11.x86_64 -e 'probe
module("*").function("*") {}' -t -p4 -v

Pass 1: parsed user script and 59 library script(s) in 100usr/10sys/181real ms.
Pass 2: analyzed script: 269484 probe(s), 0 function(s), 0 embed(s), 0 global(s)
in 8740usr/2800sys/62297real ms.
Pass 3: translated to C into
"/var/tmp/stapjsYUU9/stap_8924a4d5711146589d48a4be4e629fe1_39304877.c" in
396730usr/5350sys/746939real ms.
Pass 4: compiled C into "stap_8924a4d5711146589d48a4be4e629fe1_39304877.ko" in
28320usr/3590sys/46712real ms.
434.92user 12.29system 14:19.43elapsed 52%CPU (0avgtext+0avgdata 0maxresident)k
3043496inputs+854280outputs (22244major+1375284minor)pagefaults 0swaps


-- 


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

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


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