Re: [dpdk-dev] performance degradation with fpic

2020-11-03 Thread Bruce Richardson
On Tue, Nov 03, 2020 at 11:18:57AM +0100, Thomas Monjalon wrote: > 02/11/2020 16:00, Bruce Richardson: > > On Mon, Nov 02, 2020 at 10:40:54AM +, Ali Alnubani wrote: > > > Hi Bruce, > > > > > > I was able to pin this down on drivers/net/mlx5/mlx5_rxtx.c. Removing > > > -fPIC from its ninja rec

Re: [dpdk-dev] performance degradation with fpic

2020-11-03 Thread Luca Boccassi
On Tue, 2020-11-03 at 11:18 +0100, Thomas Monjalon wrote: > 02/11/2020 16:00, Bruce Richardson: > > On Mon, Nov 02, 2020 at 10:40:54AM +, Ali Alnubani wrote: > > > Hi Bruce, > > > > > > I was able to pin this down on drivers/net/mlx5/mlx5_rxtx.c. Removing > > > -fPIC from its ninja recipe in

Re: [dpdk-dev] performance degradation with fpic

2020-11-03 Thread Thomas Monjalon
02/11/2020 16:00, Bruce Richardson: > On Mon, Nov 02, 2020 at 10:40:54AM +, Ali Alnubani wrote: > > Hi Bruce, > > > > I was able to pin this down on drivers/net/mlx5/mlx5_rxtx.c. Removing -fPIC > > from its ninja recipe in build.ninja resolves the issue (had to prevent > > creating shared li

Re: [dpdk-dev] performance degradation with fpic

2020-11-02 Thread Bruce Richardson
On Mon, Nov 02, 2020 at 10:40:54AM +, Ali Alnubani wrote: > Hi Bruce, > > I was able to pin this down on drivers/net/mlx5/mlx5_rxtx.c. Removing -fPIC > from its ninja recipe in build.ninja resolves the issue (had to prevent > creating shared libs in this case). > What do you suggest I do? Ca

Re: [dpdk-dev] performance degradation with fpic

2020-11-02 Thread Luca Boccassi
gt; To: Bruce Richardson > > Cc: dev@dpdk.org; NBU-Contact-Thomas Monjalon > > ; Asaf Penso > > Subject: RE: [dpdk-dev] performance degradation with fpic > > > > > -Original Message- > > > From: Bruce Richardson > > > Sent: Thursday, Octobe

Re: [dpdk-dev] performance degradation with fpic

2020-11-02 Thread Ali Alnubani
> -Original Message- > From: Ali Alnubani > Sent: Thursday, October 22, 2020 5:17 PM > To: Bruce Richardson > Cc: dev@dpdk.org; NBU-Contact-Thomas Monjalon > ; Asaf Penso > Subject: RE: [dpdk-dev] performance degradation with fpic > > > -Original Message--

Re: [dpdk-dev] performance degradation with fpic

2020-10-22 Thread Ali Alnubani
> -Original Message- > From: Bruce Richardson > Sent: Thursday, October 22, 2020 4:58 PM > To: Ali Alnubani > Cc: dev@dpdk.org; NBU-Contact-Thomas Monjalon > ; Asaf Penso > Subject: Re: [dpdk-dev] performance degradation with fpic > > On Thu, Oct 22, 20

Re: [dpdk-dev] performance degradation with fpic

2020-10-22 Thread Bruce Richardson
NBU-Contact-Thomas Monjalon > > ; Asaf Penso > > Subject: Re: [dpdk-dev] performance degradation with fpic > > > > On Mon, Oct 19, 2020 at 11:47:48AM +, Ali Alnubani wrote: > > > Hi Bruce, > > > > > > > -Original Message- > > &

Re: [dpdk-dev] performance degradation with fpic

2020-10-22 Thread Ali Alnubani
Hi Bruce, Sorry for the delayed response. > -Original Message- > From: Bruce Richardson > Sent: Monday, October 19, 2020 4:02 PM > To: Ali Alnubani > Cc: dev@dpdk.org; NBU-Contact-Thomas Monjalon > ; Asaf Penso > Subject: Re: [dpdk-dev] performance degradation

Re: [dpdk-dev] performance degradation with fpic

2020-10-19 Thread Bruce Richardson
; ; Asaf Penso > > Subject: Re: [dpdk-dev] performance degradation with fpic > > > > On Thu, Oct 15, 2020 at 06:08:04PM +0100, Bruce Richardson wrote: > > > On Thu, Oct 15, 2020 at 04:00:44PM +, Ali Alnubani wrote: > > > >Hi Bruce, > > > >

Re: [dpdk-dev] performance degradation with fpic

2020-10-19 Thread Ali Alnubani
Hi Bruce, > -Original Message- > From: Bruce Richardson > Sent: Friday, October 16, 2020 12:59 PM > To: Ali Alnubani > Cc: dev@dpdk.org; NBU-Contact-Thomas Monjalon > ; Asaf Penso > Subject: Re: [dpdk-dev] performance degradation with fpic > > On Thu, Oct 1

Re: [dpdk-dev] performance degradation with fpic

2020-10-16 Thread Bruce Richardson
On Thu, Oct 15, 2020 at 06:08:04PM +0100, Bruce Richardson wrote: > On Thu, Oct 15, 2020 at 04:00:44PM +, Ali Alnubani wrote: > >Hi Bruce, > > > > > >We have been seeing in some cases that the DPDK forwarding performance > >is up to 9% lower when DPDK is built as static with meson

Re: [dpdk-dev] performance degradation with fpic

2020-10-16 Thread Bruce Richardson
On Thu, Oct 15, 2020 at 02:44:49PM -0700, Stephen Hemminger wrote: > On Thu, 15 Oct 2020 19:14:48 +0200 > Thomas Monjalon wrote: > > > 15/10/2020 19:08, Bruce Richardson: > > > On Thu, Oct 15, 2020 at 04:00:44PM +, Ali Alnubani wrote: > > > >We have been seeing in some cases that the DP

Re: [dpdk-dev] performance degradation with fpic

2020-10-15 Thread Stephen Hemminger
On Thu, 15 Oct 2020 19:14:48 +0200 Thomas Monjalon wrote: > 15/10/2020 19:08, Bruce Richardson: > > On Thu, Oct 15, 2020 at 04:00:44PM +, Ali Alnubani wrote: > > >We have been seeing in some cases that the DPDK forwarding performance > > >is up to 9% lower when DPDK is built as stat

Re: [dpdk-dev] performance degradation with fpic

2020-10-15 Thread Thomas Monjalon
15/10/2020 19:08, Bruce Richardson: > On Thu, Oct 15, 2020 at 04:00:44PM +, Ali Alnubani wrote: > >We have been seeing in some cases that the DPDK forwarding performance > >is up to 9% lower when DPDK is built as static with meson compared to a > >build with makefiles. > > > >T

Re: [dpdk-dev] performance degradation with fpic

2020-10-15 Thread Bruce Richardson
On Thu, Oct 15, 2020 at 04:00:44PM +, Ali Alnubani wrote: >Hi Bruce, > > >We have been seeing in some cases that the DPDK forwarding performance >is up to 9% lower when DPDK is built as static with meson compared to a >build with makefiles. > > >The same degradation can