On Mon, Jul 12, 2010 at 03:07:23PM -0400, James Reid - McLean wrote: > Does anyone have information about the maximum number of BGP neighbors a > single instance of OpenBGPD could support assuming the following: > > 1. OpenBGPD would send only "Default Route" to each neighbor > 2. Each neighbor would advertise only 1 subnet to OpenBGPD > 3. OpenBGPD could run in passive mode for all of the connections > 4. OpenBGPD running on new/current/modern fully supported hardware with > no other services running. > > I am looking to scale this configuration to support between 500 - 10,000 > peers and I need to know how much hardware I would need to purchase to > support this. >
Nobody ever tested 10k peers but here are some tips. Get a box with 3-4GB of RAM. Do not run i386 (amd64 has less kvm restrictions and you will need a lot of kernel memory). Increase kern.maxclusters to 4-8 times the max number of sockets you expect and don't forget to increase kern.nfiles. Expect to hit a few other issues as well. I know of people doing tests with 500-1000 sessions that actually injected a few routes. But limiting bgpd to only announce a default route should reduce the load on the RDE massivly. good luck -- :wq Claudio