Skip to contentSkip to conversation

DPDK 17.02 RC-3 performance degradation of ~10%

DISCUSSION Hanoch Haim (hhaim) 4 participants 7 messages Feb 14, 2017 – Feb 15, 2017

lore
Share & tools
lore
#0 lore raw

Hi,

We (trex traffic generator project) upgrade DPDK version from 16.07 to 17.02arc-3 and we experienced a performance degradation on the following NICS:

XL710  : 10-15%
ixgbe   :  8% in one case
mlx5    : 8% 2 case
X710    :  no impact (same driver as XL710)
VIC       : no impact

It might be related to DPDK infra change as it affects more than one driver (maybe mbuf?).
Wanted to know if this is expected before investing more into this. The Y axis numbers in all the following charts (from Grafana) are MPPS/core which means how many cycles per packet the CPU invest. Bigger MPPS/core means less CPU cycles to send packet.

Labeles:

trex-08 (XL710)
trex-09 (X710)
trex-07 (mlx5)
kiwi02 (ixgbe)

Grafanna charts can be seen here: (we can't share pointers to Grafanna)
https://snag.gy/wGYp3c.jpg

More information on the tests and setups can be found in this document
https://trex-tgn.cisco.com/trex/doc/trex_analytics.html

link to the project
https://github.com/cisco-system-traffic-generator/trex-core

Thanks,
Hanoh

#1 lore raw
Quoted 22 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Hanoch Haim (hhaim)
Sent: Tuesday, February 14, 2017 11:45 AM
To: [email protected]
Cc: Ido Barnea (ibarnea) <[email protected]>; Hanoch Haim (hhaim) <[email protected]>
Subject: [dpdk-dev] DPDK 17.02 RC-3 performance degradation of ~10%

Hi,

We (trex traffic generator project) upgrade DPDK version from 16.07 to 17.02arc-3 and we experienced a performance degradation on the following NICS:

XL710  : 10-15%
ixgbe   :  8% in one case
mlx5    : 8% 2 case
X710    :  no impact (same driver as XL710)
VIC       : no impact
Quoted 6 lines

It might be related to DPDK infra change as it affects more than one driver (maybe mbuf?).
Wanted to know if this is expected before investing more into this. The Y axis numbers in all the following charts (from Grafana) are MPPS/core which means how many cycles per packet the CPU invest. Bigger MPPS/core means less CPU cycles to send packet.

Hi,

Thanks for the update. From a quick check with the Intel test team they haven't seen this. They would have flagged it if they had. Maybe someone from Mellanox/Netronome could confirm as well.

Could you do a git-bisect to identify the change that caused this?

John

#2 lore raw

Hi John, thank you for the fast response.
I assume that Intel tests are more like rx->tx tests.
In our case we are doing mostly tx, which is more similar to dpdk-pkt-gen The cases that we cached the mbuf was affected the most.
We expect to see the same issue with a simple DPDK application

Thanks,
Hanoh

-----Original Message-----
From: Mcnamara, John [mailto:[email protected]]
Sent: Tuesday, February 14, 2017 2:19 PM
To: Hanoch Haim (hhaim); [email protected]
Cc: Ido Barnea (ibarnea)
Subject: RE: [dpdk-dev] DPDK 17.02 RC-3 performance degradation of ~10%

Quoted 22 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Hanoch Haim (hhaim)
Sent: Tuesday, February 14, 2017 11:45 AM
To: [email protected]
Cc: Ido Barnea (ibarnea) <[email protected]>; Hanoch Haim (hhaim) <[email protected]>
Subject: [dpdk-dev] DPDK 17.02 RC-3 performance degradation of ~10%

Hi,

We (trex traffic generator project) upgrade DPDK version from 16.07 to 17.02arc-3 and we experienced a performance degradation on the following
NICS:

XL710  : 10-15%
ixgbe   :  8% in one case
mlx5    : 8% 2 case
X710    :  no impact (same driver as XL710)
VIC       : no impact
Quoted 6 lines

It might be related to DPDK infra change as it affects more than one driver (maybe mbuf?).
Wanted to know if this is expected before investing more into this. The Y axis numbers in all the following charts (from Grafana) are MPPS/core which means how many cycles per packet the CPU invest. Bigger MPPS/core means less CPU cycles to send packet.

Hi,

Thanks for the update. From a quick check with the Intel test team they haven't seen this. They would have flagged it if they had. Maybe someone from Mellanox/Netronome could confirm as well.

Could you do a git-bisect to identify the change that caused this?

John

#3 lore raw
In reply to Mcnamara, John

2017-02-14 12:19, Mcnamara, John:

Quoted 4 lines

From: Hanoch Haim (hhaim)

Quoted 3 lines

We (trex traffic generator project) upgrade DPDK version from 16.07 to 17.02arc-3 and we experienced a performance degradation on the following NICS:

[...]

Quoted 2 lines

Could you do a git-bisect to identify the change that caused this?

+1 for the bisect.
Please could you try to isolate the change causing the regression?

#4 lore raw

Hi,

Quoted 11 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Thomas Monjalon
Sent: Tuesday, February 14, 2017 1:05 PM
To: Hanoch Haim (hhaim)
Cc: [email protected]; Mcnamara, John; Ido Barnea (ibarnea)
Subject: Re: [dpdk-dev] DPDK 17.02 RC-3 performance degradation of ~10%

2017-02-14 12:19, Mcnamara, John:

Quoted 3 lines

From: Hanoch Haim (hhaim)

Quoted 2 lines

We (trex traffic generator project) upgrade DPDK version from 16.07 to 17.02arc-3 and we experienced a performance degradation on the

Quoted 8 lines

following

Quoted 1 line
Quoted 1 line

NICS:

[...]

Quoted 2 lines

Could you do a git-bisect to identify the change that caused this?

+1 for the bisect.
Please could you try to isolate the change causing the regression?

I reproduced the regression for i40e driver (3-4% degradation, not 10%). The commit that caused it was the following:
5ea0942129a4 ("net/i40e: add packet type metadata in vector Rx")

This commit was introduced in 16.11, and not in 17.02. This caused some performance degradation in the i40e vector RX, due to the addition of packet type parsing in the PMD.

Thanks,
Pablo

#5 lore raw
Quoted 39 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of De Lara Guarch, Pablo
Sent: Tuesday, February 14, 2017 1:28 PM
To: Thomas Monjalon; Hanoch Haim (hhaim)
Cc: [email protected]; Mcnamara, John; Ido Barnea (ibarnea)
Subject: Re: [dpdk-dev] DPDK 17.02 RC-3 performance degradation of ~10%

Hi,

Quoted 2 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Thomas

Monjalon

Quoted 4 lines

Sent: Tuesday, February 14, 2017 1:05 PM
To: Hanoch Haim (hhaim)
Cc: [email protected]; Mcnamara, John; Ido Barnea (ibarnea)
Subject: Re: [dpdk-dev] DPDK 17.02 RC-3 performance degradation of

~10%

Quoted 4 lines

2017-02-14 12:19, Mcnamara, John:

Quoted 2 lines

From: Hanoch Haim (hhaim)

Quoted 1 line

We (trex traffic generator project) upgrade DPDK version from 16.07

to

Quoted 9 lines
Quoted 1 line
Quoted 1 line

17.02arc-3 and we experienced a performance degradation on the

following

Quoted 1 line
Quoted 1 line

NICS:

[...]

Quoted 2 lines

Could you do a git-bisect to identify the change that caused this?

+1 for the bisect.
Please could you try to isolate the change causing the regression?

I reproduced the regression for i40e driver (3-4% degradation, not 10%). The commit that caused it was the following:
5ea0942129a4 ("net/i40e: add packet type metadata in vector Rx")

Quoted 7 lines

This commit was introduced in 16.11, and not in 17.02. This caused some performance degradation
in the i40e vector RX, due to the addition of packet type parsing in the PMD.

Thanks,
Pablo

Sorry, I was talking about RX and not TX, so this is probably not valid then.

Pablo

#6 lore raw
In reply to Thomas Monjalon

Hi Thomas and John,

We found that the performance degradation is not related to DPDK 17.02 for Intel XL710/ixgbe. Now It is back to normal. The fix was to add a one unrelated line to a specific file. This probably changed the instructions trace. This line is not related to DP or CP. (We still don't fully understand that). Mlx5 small degradation wasn't solved yet.

Thanks,
Hanoh

-----Original Message-----
From: Thomas Monjalon [mailto:[email protected]]
Sent: Tuesday, February 14, 2017 3:05 PM
To: Hanoch Haim (hhaim)
Cc: [email protected]; Mcnamara, John; Ido Barnea (ibarnea)
Subject: Re: [dpdk-dev] DPDK 17.02 RC-3 performance degradation of ~10%

2017-02-14 12:19, Mcnamara, John:

Quoted 4 lines

From: Hanoch Haim (hhaim)

Quoted 3 lines

We (trex traffic generator project) upgrade DPDK version from 16.07 to 17.02arc-3 and we experienced a performance degradation on the following NICS:

[...]

Quoted 2 lines

Could you do a git-bisect to identify the change that caused this?

+1 for the bisect.
Please could you try to isolate the change causing the regression?