Hi,

On Thu, 18 Dec 2014 13:42:11 +0800
Peng Xiao <[email protected]> wrote:

> I want to know that if Ryu BGPSpeaker peer with a router who has more than
> 500K BGP internet routes(prefixes).
> how much time will cost him to decode all the BGP update messages?(i think
> there will be 60-70K IPv4 BGP Update messages)

I wrote trivial benchmark tool:

https://github.com/fujita/misc/blob/master/bgp/bgpparse.py

Parsing 70K BGP update messages; each message includes 8 routes.

On my MacBook Pro, the performance is:

fujita@ubuntu:/tmp/misc/bgp$ python bgpparse.py 
elapsed milli secs: 5584.558


I tried the same thing with our another BGP implementation in golang:

https://github.com/fujita/misc/blob/master/bgp/bgpparse.go

fujita@ubuntu:/tmp/misc/bgp$ go build bgpparse.go;./bgpparse 
elasped 205.134316ms


------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to