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 kprobes/2062] Return probes does not scale well on SMP box


------- 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.


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