[PATCH] bgp deterministic med

Alexander V. Chernikov melifaro at yandex-team.ru
Mon Nov 21 15:12:19 CET 2011


Hello list!

This patch implements RFC 4271 MED comparison.

This patch may introduce significant performance penalty (unfortunately 
  I haven't got any real numbers at the moment).

However, this comparison is absolutely necessary at least for RR setups.

rte_better cost has changed from O(1) to O(n) (should not affect 
performance much)
rte_recalculate can execute 2-3 times slower in worst case (this can 
consume more resources when preferred BGP neighbor goes down)

Deterministic med can be made as optional global BGP config switch 
(which will be done in next patch version). Keeping this switch off with 
patched bird should not introduce much performance penalty.

Please consider this patch as beta.

Comments/reviews are welcome.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Implement-correct-RFC4271-MED-comparison.patch
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20111121/dec2f4b8/attachment.ksh>


More information about the Bird-users mailing list