test: ftrace CPU: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz RAM: 4GB Started using the command: time ./test-ftrace Where test-ftrace is: --- cut --- #!/bin/bash echo "Testing ftrace - begin" cd /sys/kernel/debug/tracing count=0 while test $count -lt 100 ; do for tracer in function nop ; do echo $tracer >current_tracer echo 1 >tracing_on echo 0 >tracing_on done count=$(($count + 1)) done cd - echo "Testing ftrace - end" --- cut --- and the load was generated using the script make-load: --- cut --- #!/bin/bash a=1 while true ; do a=$(($a+1)) done --- cut --- Now, results with no load on the system; with the commit c229828ca6bc62d (rcu: Throttle rcu_try_advance_all_cbs() execution) real 0m49.393s 0m49.632s 0m49.359 user 0m0.004s 0m0.000s 0m0.004s sys 0m0.996s 0m0.880s 0m0.892s and with reverted c229828ca6bc62d (rcu: Throttle rcu_try_advance_all_cbs() execution) real 0m35.320s 0m35.687s 0m35.920s user 0m0.004s 0m0.004s 0m0.000s sys 0m1.140s 0m1.208s 0m1.152s --- Results with 100% load on one CPU and no load on 2nd CPU (started the script make-load once) with c229828ca6bc62d (rcu: Throttle rcu_try_advance_all_cbs() execution) real 0m44.964s 0m45.083s 0m45.171s user 0m0.000s 0m0.000s 0m0.004s sys 0m1.580s 0m1.612s 0m1.576s and with reverted c229828ca6bc62d (rcu: Throttle rcu_try_advance_all_cbs() execution) real 0m30.816s 0m31.326s 0m31.191s user 0m0.004s 0m0.004s 0m0.008s sys 0m1.240s 0m1.248s 0m1.232s --- Results with 100% load on both CPUs (started script make-load twice) with c229828ca6bc62d (rcu: Throttle rcu_try_advance_all_cbs() execution) real 0m20.294s 0m20.538s 0m20.470s user 0m0.004s 0m0.000s 0m0.000s sys 0m1.284s 0m1.388s 0m1.612s and with reverted c229828ca6bc62d (rcu: Throttle rcu_try_advance_all_cbs() execution) real 0m20.305s 0m20.056s 0m20.259 user 0m0.000s 0m0.000s 0m0.000s sys 0m1.416s 0m1.452s 0m1.560s