This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug kprobes/2062] Return probes does not scale well on SMP box
- From: "bibo dot mao at intel dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 13 Jul 2006 06:12:18 -0000
- Subject: [Bug kprobes/2062] Return probes does not scale well on SMP box
- References: <20051216010933.2062.anil.s.keshavamurthy@intel.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From bibo dot mao at intel dot com 2006-07-13 06:12 -------
I refreshed the patch in the attachment, and test it in IA64, test result shows
that it improved multi-kprobe performance greatly if there are multi spinlock
for each hash listhead. There are mainly two points about this patch:
1) change hash method, in general task_struct point is page size alignment, here
changed as hash_ptr((void*)((unsigned long)tsk >> PAGE_SHIFT), bits)
2) add kretprobe instance to empty list if ri->rp==0, and free ri outof spinlock
scope.
The test case in the attachment is for IA64, it need modification for other
architecture.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=2062
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.