Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1180675
| From | Pratyush Anand <panand@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH -tip v11 0/7] kprobes: NOKPROBE_SYMBOL for modules, and scalbility efforts |
| Date | 2015-07-09 14:30 +0200 |
| Message-ID | <pKj7J-6i-27@gated-at.bofh.it> (permalink) |
| References | <nhCJz-1T2-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Masamai,
Masami Hiramatsu <masami.hiramatsu.pt <at> hitachi.com> writes:
>
> Hi,
> Here is the version 11 of NOKPROBE_SYMBOL/scalability series.
> This fixes some issues.
I did not had this mail in my inbox and replied through gmane web interface,
but on systemtap mailing list [2]. Copying same reply here, as not sure if
you are subscribed to systemtap mailing list.
If I have not missed then v11 seems the last version posted for this series.
However, I do not see any ACK/NACK for the series. So, I am just curious
that why didn't it got merged into upstream.
It seems a useful series and without these patches system becomes extremely
slow with large number of kprobes enabled.
When I enabled massive kprobes [1] on my ARM64 system without this patch
series, I see "NMI watchdog: BUG: soft lockup" for all CPUs even before all
kprobes are enabled. However, If I use these patches then system is able to
survive and I can see following output for script [1].
real 1m49.734s
user 0m0.000s
sys 0m53.950s
31364 kprobes enabled :-)
I was able to run `usex -e` to load the system, although I see that system
is mostly occupied by kernel (97%).
* Unix System EXerciser * USER SYSTEM IDLE LOADAVG TASKS/RUN TEST TIME *
* USEX Version 1.9-36 * 3% 97% 0% 24.58 232/27 000:02:49 *
~Pratyush
[1]
#!/bin/sh
grep ' [tT] ' /proc/kallsyms | fgrep -v '[' | awk '{print $3}' > syms.list
echo 0 > /sys/kernel/debug/tracing/events/enable
echo 0 > /sys/kernel/debug/tracing/events/kprobes/enable
echo > /sys/kernel/debug/tracing/kprobe_events
for i in `cat syms.list`;
do
echo "p $i" >> /sys/kernel/debug/tracing/kprobe_events ;
done
time echo 1 > /sys/kernel/debug/tracing/events/kprobes/enable
num_kprobe=`cat /sys/kernel/debug/tracing/kprobe_events | wc -l`
echo "$num_kprobe kprobes enabled :-)"
[2] http://permalink.gmane.org/gmane.linux.systemtap/23573
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH -tip v11 0/7] kprobes: NOKPROBE_SYMBOL for modules, and scalbility efforts Pratyush Anand <panand@redhat.com> - 2015-07-09 14:30 +0200
csiph-web