[Xorp-cvs] XORP cvs commit: xorp/bgp
Andrea Bittau
abittau at icir.org
Wed Aug 6 01:12:09 PDT 2008
CVSROOT: /usr/local/www/data/cvs
Module name: xorp
Changes by: abittau at chum.icir.org 2008-08-06 08:12:09 UTC
XORP CVS repository
Modified files:
bgp path_attribute.cc
Log message:
upon copying attributes, copy the hash - do not recompute it. I think that this
MD5 story needs to be revisited - use CRC32 instead? Or custom?
9% improvement
before:
[100% shorty test]# ./policybench -p base -v base.var -t 1
Loading...
Benchmarking. Iterations: 100000
Stats:
Total time 2178 (ms) iterations 100000
Iterations/s 45913.682
Instr 1 Avg Time 264.769 ( 3.94%)
Instr 2 Avg Time 780.156 (11.62%)
Instr 3 Avg Time 826.072 (12.30%)
Instr 4 Avg Time 369.035 ( 5.50%)
Instr 5 Avg Time 594.807 ( 8.86%)
Instr 6 Avg Time 216.092 ( 3.22%)
Instr 7 Avg Time 2803.071 (41.74%)
Instr 8 Avg Time 387.168 ( 5.77%)
Instr 9 Avg Time 216.384 ( 3.22%)
Instr 10 Avg Time 257.371 ( 3.83%)
now:
[100% shorty test]# ./policybench -p base -v base.var -t 1
Loading...
Benchmarking. Iterations: 100000
Stats:
Total time 2007 (ms) iterations 100000
Iterations/s 49825.610
Instr 1 Avg Time 275.974 ( 4.04%)
Instr 2 Avg Time 758.357 (11.11%)
Instr 3 Avg Time 864.031 (12.66%)
Instr 4 Avg Time 384.784 ( 5.64%)
Instr 5 Avg Time 553.039 ( 8.10%)
Instr 6 Avg Time 216.707 ( 3.18%)
Instr 7 Avg Time 2950.128 (43.23%)
Instr 8 Avg Time 347.717 ( 5.09%)
Instr 9 Avg Time 216.458 ( 3.17%)
Instr 10 Avg Time 257.577 ( 3.77%)
Revision Changes Path
1.94 +4 -2; commitid: 851a48995cd641a7; xorp/bgp/path_attribute.cc
More information about the Xorp-cvs
mailing list