Slight modification.  The benchmark was limited to 32 bit values,
and tcp_cubic does cube_root(x * K).  I modified the benchmark
program to generate these more typical numbers and reran.
Also since numbers are larger just use 64 bit divide on 64 bit cpu.

                Original-Bisect Optimize-Bisect Newton  Glibc-cbrt
Xeon            13.56           13.22           11.15   4.35
Opteron         2.59            2.22            2.34    1.43

Times are in seconds to do 10,000,000 cube roots.
It isn't a big frequently hit function anyway so further hand
optimized hair splitting doesn't seem worth it.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to