Re: multithreading ospf
Hello guys,
I wanted your help to validate if the bird with ospf is running with multi thread.
I have a dell r410 server with 2 x56 quad core xeon processors totaling 16 cores.
This server was serving pppoe server with accel-ppp + quagga ospf v4 / v6 with route summarization.
With 2,000 sessions and going on around 1GB, the quagga process blew the cpu and all sessions were disconnected. The problem is that the quagga is single core so it uses only one core.
Looking, I've seen that the bird is multi-core. I started to run, I have 2,200 pppoe sessions but still early to get high traffic, I'm passing 300MB and the bird has peaks in a 25% core. I would like to know if I have validate that it is distributing the process between CPUs?
Or if you have any configuration for this.
Fernando Galvão Wantel Telecom +55 87 3866-5200
On 03/12/2017 11:39 AM, Fernando Galvão wrote:
Hello guys, I wanted your help to validate if the bird with ospf is running with multi thread. I have a dell r410 server with 2 x56 quad core xeon processors totaling 16 cores. This server was serving pppoe server with accel-ppp + quagga ospf v4 / v6 with route summarization. With 2,000 sessions and going on around 1GB, the quagga process blew the cpu and all sessions were disconnected. The problem is that the quagga is single core so it uses only one core. Looking, I've seen that the bird is multi-core. I started to run, I have 2,200 pppoe sessions but still early to get high traffic, I'm passing 300MB and the bird has peaks in a 25% core. I would like to know if I have validate that it is distributing the process between CPUs? Or if you have any configuration for this.
Hello! Bird is single-threaded. Only when BFD is used, Bird spawns a separate thread for it as the main internal timer is too slow for BFD. MQ
Bird is single-threaded. Only when BFD is used, Bird spawns a separate thread for it as the main internal timer is too slow for BFD.
... still, you have a good chance that Bird will be much faster than Quagga on your workload. Have a nice fortnight -- Martin `MJ' Mares <mj@ucw.cz> http://mj.ucw.cz/ Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth It is bad luck to be superstitious. -- Andrew W. Mathis
Mudar para português So you can not force multi core? Enviado do meu iPhone
Em 12 de mar de 2017, às 17:33, Jan Matejka <jan.matejka@nic.cz> escreveu:
Hello! Bird is single-threaded. Only when BFD is used, Bird spawns a separate thread for it as the main internal timer is too slow for BFD. MQ
Exactly. You can not force multi core. Somewhere deep in the TODO list, there are some thoughts about making Bird multi-threaded; however, we don't expect to even think more about multithreading this year. MQ On 03/13/2017 12:51 AM, Fernando Galvão wrote:
Mudar para português So you can not force multi core?
Enviado do meu iPhone
Em 12 de mar de 2017, às 17:33, Jan Matejka <jan.matejka@nic.cz <mailto:jan.matejka@nic.cz>> escreveu:
Hello! Bird is single-threaded. Only when BFD is used, Bird spawns a separate thread for it as the main internal timer is too slow for BFD. MQ
participants (3)
-
Fernando Galvão -
Jan Matejka -
Martin Mares