From d7d9a4ce3f71646f2592a7b07bc8036ef0918c2a Mon Sep 17 00:00:00 2001 From: compudj Date: Thu, 9 Nov 2006 16:48:56 +0000 Subject: [PATCH] atomic_up speedup git-svn-id: http://ltt.polymtl.ca/svn@2244 04897980-b3bd-0310-b5e0-8ef037075253 --- .../poly/doc/developer/lttng-atomic-up.txt | 76 +++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 ltt/branches/poly/doc/developer/lttng-atomic-up.txt diff --git a/ltt/branches/poly/doc/developer/lttng-atomic-up.txt b/ltt/branches/poly/doc/developer/lttng-atomic-up.txt new file mode 100644 index 00000000..bbbc61f6 --- /dev/null +++ b/ltt/branches/poly/doc/developer/lttng-atomic-up.txt @@ -0,0 +1,76 @@ + +Atomic UP test results. + + + + +using test-time-probe2.ko + +Clock speed : cpu MHz : 3000.077 + +Tracing inactive + +[ 125.787229] test init +[ 125.787303] test results : time per probe +[ 125.787306] number of loops : 20000 +[ 125.787309] total time : 204413 +[ 125.787312] test end +[ 175.660402] test init +[ 175.660475] test results : time per probe +[ 175.660479] number of loops : 20000 +[ 175.660482] total time : 203468 +[ 175.660484] test end +[ 179.337362] test init +[ 179.337436] test results : time per probe +[ 179.337440] number of loops : 20000 +[ 179.337443] total time : 204757 +[ 179.337446] test end + +Res : 10.21 cycles per loop + +Atomic UP, one trace, flight recorder. + +[ 357.983971] test init +[ 357.988837] test results : time per probe +[ 357.988843] number of loops : 20000 +[ 357.988846] total time : 12349013 +[ 357.988849] test end +[ 358.718896] test init +[ 358.723049] test results : time per probe +[ 358.723053] number of loops : 20000 +[ 358.723057] total time : 12332497 +[ 358.723059] test end +[ 359.422038] test init +[ 359.426173] test results : time per probe +[ 359.426179] number of loops : 20000 +[ 359.426182] total time : 12332535 +[ 359.426185] test end + +Res : 616.90 cycles per loop. +205.63 ns per loop + +Atomic SMP, one trace, flight. + + +[ 111.694180] test init +[ 111.700191] test results : time per probe +[ 111.700198] number of loops : 20000 +[ 111.700201] total time : 16925670 +[ 111.700204] test end +[ 112.285716] test init +[ 112.291321] test results : time per probe +[ 112.291326] number of loops : 20000 +[ 112.291329] total time : 16766633 +[ 112.291332] test end +[ 112.880602] test init +[ 112.884739] test results : time per probe +[ 112.884743] number of loops : 20000 +[ 112.884746] total time : 12358237 +[ 112.884748] test end + +Res : 767.51 cycles per loop +255.83 ns per loop + +(205.63-255.83)/255.83 * 100% = 19.62 % + +Mathieu Desnoyers, November 2006 -- 2.34.1