[ltt-dev] [RFC PATCHv2 4/5] urcu: re-implment urcu-qsbr
Lai Jiangshan
laijs at cn.fujitsu.com
Tue Aug 30 01:38:32 EDT 2011
Add urcu_signal and urcu_mb test here.
urcu_signal: speedup about 100% for read site, about 250% for update site
urcu_mb: speedup about 30% for read site
Thanks,
Lai
78bec1+my patch
[laijs at lai tests]$ for ((i=0;i<20;i++)) do ./rcutorture_urcu_signal 50 perf 2>/dev/null | (read a b c d e; echo $b $d); done
2836183000 16
2836342000 16
2824193000 17
2827944000 15
2829914000 15
2826994000 15
2821978000 17
2822794000 16
2839337000 16
2848008000 15
2843390000 16
2821490000 15
2846996000 16
2820338000 13
2844118000 16
2823897000 16
2860156000 16
2822720000 15
2821624000 17
2821624000 18
[laijs at lai tests]$ for ((i=0;i<20;i++)) do ./rcutorture_urcu_mb 50 perf 2>/dev/null | (read a b c d e; echo $b $d); done
199431000 15
197570000 16
198482000 18
197638000 19
198788000 18
198736000 17
199476000 17
199292000 17
198697000 17
198172000 17
197653000 19
198344000 46
199334000 17
197922000 61
198985000 17
197437000 16
197417000 18
199135000 17
198123000 16
198790000 17
78bec1:
[laijs at lai tests]$ for ((i=0;i<20;i++)) do ./rcutorture_urcu_signal 50 perf 2>/dev/null | (read a b c d e; echo $b $d); done
1444229000 4
1430896000 5
1428612000 4
1431727000 5
1436708000 5
1433775000 5
1421641000 4
1436014000 5
1434227000 5
1442961000 5
1436098000 5
1434687000 5
1424113000 4
1435093000 5
1441576000 5
1436184000 5
1428146000 5
1429705000 4
1437635000 4
1426440000 5
[laijs at lai tests]$ for ((i=0;i<20;i++)) do ./rcutorture_urcu_mb 50 perf 2>/dev/null | (read a b c d e; echo $b $d); done
122221000 5
121958000 6
121974000 7
121858000 6
121959000 6
122458000 162
121644000 50
121929000 6
122323000 7
122098000 7
122516000 6
121885000 6
121082000 6
121268000 6
121129000 8
122072000 6
121276000 6
121563000 7
121448000 7
121868000 6
More information about the lttng-dev
mailing list