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 2017/03/12 07:43, 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.
2 x 4 = 8, so for 16 you must have hyperthreading enabled. You may get better overall performance for this type of workload with this disabled.
What can i do to improve cpu consumption. With 1gb traffic, 2,000 sessions pppoe the bird and bird6 has peaks in a core 80% cpu. 2x xeon 2.4ghz quadcore 12mb cache l2. In the bird I use only ospf and ospf Enviado do meu iPhone
Em 13 de mar de 2017, às 06:37, Stuart Henderson <stu@spacehopper.org> escreveu:
On 2017/03/12 07:43, 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.
2 x 4 = 8, so for 16 you must have hyperthreading enabled. You may get better overall performance for this type of workload with this disabled.
Unless I'm missing something, I was under the impression that BIRD is single-threaded and uses its own custom event scheduling code, so you're not going to see it using more than one core no matter what you do. Someone correct me if I'm wrong obviously. -JJ On Tue, Mar 14, 2017 at 8:07 PM, Fernando Galvão <fernando@wantel.com.br> wrote:
What can i do to improve cpu consumption. With 1gb traffic, 2,000 sessions pppoe the bird and bird6 has peaks in a core 80% cpu.
2x xeon 2.4ghz quadcore 12mb cache l2.
In the bird I use only ospf and ospf
Enviado do meu iPhone
Em 13 de mar de 2017, às 06:37, Stuart Henderson <stu@spacehopper.org> escreveu:
On 2017/03/12 07:43, 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.
2 x 4 = 8, so for 16 you must have hyperthreading enabled. You may get better overall performance for this type of workload with this disabled.
On 15.3.2017 18:09, John Jensen wrote:
Unless I'm missing something, I was under the impression that BIRD is single-threaded and uses its own custom event scheduling code, so you're not going to see it using more than one core no matter what you do. Someone correct me if I'm wrong obviously.
John, you are right. BIRD is a single threaded daemon with the exception of BFD that runs in a separate thread. But if you configure BIRD to run just OSPF, it will utilize only one CPU core. Ondrej
-JJ
On Tue, Mar 14, 2017 at 8:07 PM, Fernando Galvão <fernando@wantel.com.br <mailto:fernando@wantel.com.br>> wrote:
What can i do to improve cpu consumption. With 1gb traffic, 2,000 sessions pppoe the bird and bird6 has peaks in a core 80% cpu.
2x xeon 2.4ghz quadcore 12mb cache l2.
In the bird I use only ospf and ospf
Enviado do meu iPhone
> Em 13 de mar de 2017, às 06:37, Stuart Henderson <stu@spacehopper.org <mailto:stu@spacehopper.org>> escreveu: > >> On 2017/03/12 07:43, 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. > > 2 x 4 = 8, so for 16 you must have hyperthreading enabled. You may get > better overall performance for this type of workload with this disabled. >
participants (4)
-
Fernando Galvão -
John Jensen -
Ondrej Filip -
Stuart Henderson