* [Bug translator/12740] New: excessive memory use for pouchless @entry constructs
@ 2011-05-07 1:39 fche at redhat dot com
2019-05-29 14:35 ` [Bug translator/12740] " fche at redhat dot com
0 siblings, 1 reply; 2+ messages in thread
From: fche at redhat dot com @ 2011-05-07 1:39 UTC (permalink / raw)
To: systemtap
http://sourceware.org/bugzilla/show_bug.cgi?id=12740
Summary: excessive memory use for pouchless @entry constructs
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap@sourceware.org
ReportedBy: fche@redhat.com
The auxiliary arrays used for saved context variables / @entry expressions
from return probes are too big & numerous. We need either uretprobe data
pouches, or an optimized representation of @entry.
% stap -v -e 'probe process("stap").function("*").return { v = now() -
@entry(now()); println(v) } function now() { return gettimeofday_us() }' -c
'stap -h'
Pass 1: parsed user script and 79 library script(s) using
99264virt/25924res/2684shr kb, in 260usr/30sys/289real ms.
Pass 2: analyzed script: 3926 probe(s), 4 function(s), 4 embed(s), 3926
global(s) using 268464virt/58368res/11444shr kb, in 14640usr/230sys/15014real
ms.
>>>> 15 seconds elapsed
Pass 3: translated to C into
"/tmp/stapMeJZN3/stap_ef8438e9fd2f330188d9cba770d94d23_2125712.c" using
269384virt/61608res/11468shr kb, in 1820usr/440sys/2253real ms.
In file included from /usr/share/systemtap/runtime/transport/transport.c:61,
from /usr/share/systemtap/runtime/print.c:18,
from /usr/share/systemtap/runtime/runtime.h:128,
from
/tmp/stapMeJZN3/stap_ef8438e9fd2f330188d9cba770d94d23_2125712.c:55:
/usr/share/systemtap/runtime/transport/control.c: In function
‘_stp_ctl_write_cmd’:
/usr/share/systemtap/runtime/transport/control.c:28: note: variable tracking
size limit exceeded with -fvar-tracking-assignments, retrying without
Pass 4: compiled C into "stap_ef8438e9fd2f330188d9cba770d94d23_2125712.ko" in
247980usr/6720sys/259102real ms.
>>>> lots of seconds elapsed; results in 20MB source, 17MB .ko
[4869689.454921] stap_b8c8890dfa144b224309c3548d29adbe_2159197: systemtap:
1.4/0.152, base: ffffffffa09d5000, memory:
2899data/2326text/7ctx/13net/479488alloc kb, probes: 3926
>>>> and an awesome quantity of runtime memory consumption
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug translator/12740] excessive memory use for pouchless @entry constructs
2011-05-07 1:39 [Bug translator/12740] New: excessive memory use for pouchless @entry constructs fche at redhat dot com
@ 2019-05-29 14:35 ` fche at redhat dot com
0 siblings, 0 replies; 2+ messages in thread
From: fche at redhat dot com @ 2019-05-29 14:35 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=12740
Frank Ch. Eigler <fche at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WORKSFORME
--- Comment #1 from Frank Ch. Eigler <fche at redhat dot com> ---
On stap 4.1, the numbers are much better:
Pass 1: parsed user script and 505 library scripts using
363972virt/138160res/9460shr/128440data kb, in 260usr/20sys/282real ms.
Pass 2: analyzed script: 62 probes, 4 functions, 1 embed, 62 globals using
369120virt/144268res/10272shr/133588data kb, in 30usr/10sys/29real ms.
Pass 3: translated to C into
"/var/tmp/stapKlw2Dt/stap_de6bf7c10e66dab871495ebed4aa45f2_45450_src.c" using
369312virt/144792res/10588shr/133780data kb, in 20usr/50sys/70real ms.
/var/tmp/fche/systemtap/cache/de/stap_de6bf7c10e66dab871495ebed4aa45f2_45450.ko
Pass 4: compiled C into "stap_de6bf7c10e66dab871495ebed4aa45f2_45450.ko" in
3110usr/570sys/3636real ms.
[767892.504847] stap_359c0bcb3f288532f9e26ed1549d58_1504503 (<input>):
systemtap: 4.1/0.176, base: 0000000012c91a69, memory:
292data/96text/6ctx/2063net/7617alloc kb, probes: 62
--
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:[~2019-05-29 14:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-07 1:39 [Bug translator/12740] New: excessive memory use for pouchless @entry constructs fche at redhat dot com
2019-05-29 14:35 ` [Bug translator/12740] " fche 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).