public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug kprobes/10869] New: kretprobes waste a lot of memory on kretprobe_instances
@ 2009-10-29 16:58 jistone at redhat dot com
  2009-10-29 17:12 ` [Bug kprobes/10869] " leitao at linux dot vnet dot ibm dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: jistone at redhat dot com @ 2009-10-29 16:58 UTC (permalink / raw)
  To: systemtap

As noted in bug #10839 comment #3, using kmalloc for each individual
kretprobe_instance wastes a lot of kernel memory.  In my measurement, each 40
byte kmalloc request actually reserves 136 bytes.  Having a large number of
kretprobes with large maxactive values makes this waste add up quickly.

-- 
           Summary: kretprobes waste a lot of memory on kretprobe_instances
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: kprobes
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: jistone at redhat dot com


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

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

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

end of thread, other threads:[~2009-10-30 12:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-29 16:58 [Bug kprobes/10869] New: kretprobes waste a lot of memory on kretprobe_instances jistone at redhat dot com
2009-10-29 17:12 ` [Bug kprobes/10869] " leitao at linux dot vnet dot ibm dot com
2009-10-29 17:15 ` leitao at linux dot vnet dot ibm dot com
2009-10-29 17:27 ` jkenisto at us dot ibm dot com
2009-10-30  7:29 ` ananth at in dot ibm dot com
2009-10-30 12:43   ` Jim Keniston
2009-10-30  7:30 ` ananth at in dot ibm 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).