Re: Vector Packet Processing (VPP) portability on FreeBSD

2021-10-04 Thread Kevin Bowling
Physical: Unit C01, Corporate Park 66, 269 Von Willich Avenue, > Centurion > > > From: Santiago Martinez [s...@codenetworks.net] > Sent: Wednesday, September 22, 2021 11:22 AM > To: freebsd-net@freebsd.org > Subject: Re: Vector Pa

RE: Vector Packet Processing (VPP) portability on FreeBSD

2021-10-04 Thread Francois ten Krooden
Physical: Unit C01, Corporate Park 66, 269 Von Willich Avenue, Centurion From: Santiago Martinez [s...@codenetworks.net] Sent: Wednesday, September 22, 2021 11:22 AM To: freebsd-net@freebsd.org Subject: Re: Vector Packet Processing (VPP) portability on

Re: Vector Packet Processing (VPP) portability on FreeBSD

2021-09-22 Thread Santiago Martinez
Hi Francois, I hope you are doing well. It is great to hear about work/progress/updates on VPP / DPDK / Netmap on FBSD, even if the results are not the best. Unfortunately, I'm not a developer, so I cannot help much on the matter of the missing bits. Just wondering if those modifications that

RE: Vector Packet Processing (VPP) portability on FreeBSD

2021-09-21 Thread Francois ten Krooden
Hi This is just some feedback for those who had an interest in this topic. After spending quite some time on the VPP to FreeBSD porting effort where we did manage to get VPP working with netmap, and VPP compiling with DPDK; We realised that there are some big issues that we would need to overco

Re: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-24 Thread Kevin Bowling
The one other thing I want to mention, what this means in effect is every que ends up limited by EITR on ixgbe (around 30kps with the default settings) whether it’s a TX or RX workload. This ends up working ok if you have sufficient CPU but seems awkward. On the TX workload we should need a magni

Re: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-24 Thread Kevin Bowling
I don't fully understand the issue, but in iflib_fast_intr_rxtx https://cgit.freebsd.org/src/tree/sys/net/iflib.c#n1581 it seems like we end up re-enabling interrupts per course instead of only handling spurious cases or some low water threshold (which seems like it would be tricky to do here). Th

Re: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-18 Thread Vincenzo Maffione
Il giorno mar 18 mag 2021 alle ore 09:32 Kevin Bowling < kevin.bowl...@kev009.com> ha scritto: > > > On Mon, May 17, 2021 at 10:20 AM Marko Zec wrote: > >> On Mon, 17 May 2021 09:53:25 + >> Francois ten Krooden wrote: >> >> > On 2021/05/16 09:22, Vincenzo Maffione wrote: >> > >> > > >> > > H

Re: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-18 Thread Vincenzo Maffione
+1 Thanks, Vincenzo Il giorno lun 17 mag 2021 alle ore 19:20 Marko Zec ha scritto: > On Mon, 17 May 2021 09:53:25 + > Francois ten Krooden wrote: > > > On 2021/05/16 09:22, Vincenzo Maffione wrote: > > > > > > > > Hi, > > > Yes, you are not using emulated netmap mode. > > > > > > In

Re: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-18 Thread Kevin Bowling
On Mon, May 17, 2021 at 10:20 AM Marko Zec wrote: > On Mon, 17 May 2021 09:53:25 + > Francois ten Krooden wrote: > > > On 2021/05/16 09:22, Vincenzo Maffione wrote: > > > > > > > > Hi, > > > Yes, you are not using emulated netmap mode. > > > > > > In the test setup depicted here > > > ht

Re: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-17 Thread Marko Zec
On Mon, 17 May 2021 09:53:25 + Francois ten Krooden wrote: > On 2021/05/16 09:22, Vincenzo Maffione wrote: > > > > > Hi, > > Yes, you are not using emulated netmap mode. > > > > In the test setup depicted here > > https://github.com/ftk-ntq/vpp/wiki/VPP-throughput-using-netmap- > > inter

RE: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-17 Thread Francois ten Krooden
On 2021/05/16 09:22, Vincenzo Maffione wrote: > > Hi, > Yes, you are not using emulated netmap mode. > > In the test setup depicted here > https://github.com/ftk-ntq/vpp/wiki/VPP-throughput-using-netmap- > interfaces#test-setup > I think you should really try to replace VPP with the netmap "br

RE: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-17 Thread Francois ten Krooden
On 2021/05/14 16:11, Jim Thompson wrote: > On May 13, 2021, at 7:02 AM, Francois ten Krooden wrote: > > > > Thank you. I did set this to 1 specifically now and it still works. So > > then it > > should be running in native mode. > > > > I will dig a bit into the function that processes the in

Re: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-16 Thread Vincenzo Maffione
Hi, Yes, you are not using emulated netmap mode. In the test setup depicted here https://github.com/ftk-ntq/vpp/wiki/VPP-throughput-using-netmap-interfaces#test-setup I think you should really try to replace VPP with the netmap "bridge" application (tools/tools/netmap/bridge.c), and see what n

Re: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-14 Thread Jim Thompson via freebsd-net
> On May 13, 2021, at 7:02 AM, Francois ten Krooden wrote: > >  >> >> >> Thank you. I did set this to 1 specifically now and it still works. So >> then it >> should be running in native mode. >> >> I will dig a bit into the function that processes the incoming packets. >> The code I curr

RE: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-13 Thread Francois ten Krooden
On 2021/05/11 16:27, Jim Thompson wrote: > > > On May 11, 2021, at 7:04 AM, Mark Johnston wrote: > > > > On Tue, May 11, 2021 at 12:43:10PM +, Francois ten Krooden wrote: > >> On Monday, 10 May 2021 16:10 Konstantin Belousov wrote: > >> > >> > >>> On Mon, May 10, 2021 at 11:08:18AM +, Fr

RE: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-13 Thread Francois ten Krooden
On Tue, May 11, 2021 at 12:43:10PM +, Francois ten Krooden wrote: > > On Tue, May 11, 2021 at 12:43:10PM +, Francois ten Krooden wrote: > > On Monday, 10 May 2021 16:10 Konstantin Belousov wrote: > > > > > > > On Mon, May 10, 2021 at 11:08:18AM +, Francois ten Krooden > wrote: > > > >

Re: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-13 Thread Luigi Rizzo
On Thu, May 13, 2021 at 2:57 PM Luigi Rizzo wrote: > > On Thu, May 13, 2021 at 1:27 PM Francois ten Krooden wrote: > > > > > > On Thursday, 13 May 2021 13:05 Luigi Rizzo wrote: > > > > > > On Thu, May 13, 2021 at 10:42 AM Francois ten Krooden > > > wrote: > > > > > > > > Hi > > > > > > > > Just

Re: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-13 Thread Luigi Rizzo
On Thu, May 13, 2021 at 1:27 PM Francois ten Krooden wrote: > > > On Thursday, 13 May 2021 13:05 Luigi Rizzo wrote: > > > > On Thu, May 13, 2021 at 10:42 AM Francois ten Krooden > > wrote: > > > > > > Hi > > > > > > Just for info I ran a test using TREX (https://trex-tgn.cisco.com/) > > > Where I

Re: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-13 Thread Luigi Rizzo
On Thu, May 13, 2021 at 10:42 AM Francois ten Krooden wrote: > > Hi > > Just for info I ran a test using TREX (https://trex-tgn.cisco.com/) > Where I just sent traffic in one direction through the box running FreeBSD > with VPP using the netmap interfaces. > These were the results we found befor

RE: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-13 Thread Francois ten Krooden
On Thursday, 13 May 2021 15:02, Luigi Rizzo > > On Thu, May 13, 2021 at 2:57 PM Luigi Rizzo wrote: > > > > On Thu, May 13, 2021 at 1:27 PM Francois ten Krooden > wrote: > > > > > > > > > On Thursday, 13 May 2021 13:05 Luigi Rizzo wrote: > > > > > > > > On Thu, May 13, 2021 at 10:42 AM Francois t

RE: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-13 Thread Francois ten Krooden
On Thursday, 13 May 2021 13:59 Jacques Fourie > > On Thu, May 13, 2021 at 7:27 AM Francois ten Krooden > wrote: > > On Thursday, 13 May 2021 13:05 Luigi Rizzo wrote: > > > > On Thu, May 13, 2021 at 10:42 AM Francois ten Krooden > > wrote: > > > > > > Hi > > > > > > Just for info I ran a test usi

Re: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-13 Thread Jacques Fourie
On Thu, May 13, 2021 at 7:27 AM Francois ten Krooden wrote: > > On Thursday, 13 May 2021 13:05 Luigi Rizzo wrote: > > > > On Thu, May 13, 2021 at 10:42 AM Francois ten Krooden > > wrote: > > > > > > Hi > > > > > > Just for info I ran a test using TREX (https://trex-tgn.cisco.com/) > > > Where I

RE: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-13 Thread Francois ten Krooden
On Thursday, 13 May 2021 13:05 Luigi Rizzo wrote: > > On Thu, May 13, 2021 at 10:42 AM Francois ten Krooden > wrote: > > > > Hi > > > > Just for info I ran a test using TREX (https://trex-tgn.cisco.com/) > > Where I just sent traffic in one direction through the box running FreeBSD > with VPP u

RE: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-13 Thread Francois ten Krooden
: freebsd-net@freebsd.org > Subject: RE: Vector Packet Processing (VPP) portability on FreeBSD > > On 2021/05/10 15:39, Luigi Rizzo wrote: > > > -Original Message- > > From: Luigi Rizzo [mailto:ri...@iet.unipi.it] > > Sent: Monday, 10 May 2021 16:39 > > T

Re: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-11 Thread Jim Thompson via freebsd-net
> On May 11, 2021, at 7:04 AM, Mark Johnston wrote: > > On Tue, May 11, 2021 at 12:43:10PM +, Francois ten Krooden wrote: >> On Monday, 10 May 2021 16:10 Konstantin Belousov wrote: >> >> >>> On Mon, May 10, 2021 at 11:08:18AM +, Francois ten Krooden wrote: 3. What are suitable a

Re: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-11 Thread Mark Johnston
On Tue, May 11, 2021 at 12:43:10PM +, Francois ten Krooden wrote: > On Monday, 10 May 2021 16:10 Konstantin Belousov wrote: > > > > On Mon, May 10, 2021 at 11:08:18AM +, Francois ten Krooden wrote: > > > 3. What are suitable alternatives for reading information from procfs and > > sysfs

RE: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-11 Thread Francois ten Krooden
On Monday, 10 May 2021 16:10 Konstantin Belousov wrote: > On Mon, May 10, 2021 at 11:08:18AM +, Francois ten Krooden wrote: > > Greetings > > > > We have a vested interest in high-speed IPsec VPN on FreeBSD. We have > started with the porting of VPP (https://fd.io/) to FreeBSD. > > > > Curre

RE: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-10 Thread Francois ten Krooden
On Monday, 10 May 2021 15:41 Jacques Fourie wrote: > On Mon, May 10, 2021 at 8:42 AM Rainer Duffner > wrote: > > > > Am 10.05.2021 um 13:08 schrieb Francois ten Krooden > : > > > > Greetings > > > > We have a vested interest in high-speed IPsec VPN on FreeBSD. We have > started with the porting

RE: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-10 Thread Francois ten Krooden
On 2021/05/10 15:39, Luigi Rizzo wrote: > -Original Message- > From: Luigi Rizzo [mailto:ri...@iet.unipi.it] > Sent: Monday, 10 May 2021 16:39 > To: Rainer Duffner > Cc: Francois ten Krooden ; freebsd-net@freebsd.org > Subject: Re: Vector Packet Processing (VPP) port

Re: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-10 Thread Luigi Rizzo
[repost since it appears to be blocked] On Mon, May 10, 2021 at 2:42 PM Rainer Duffner wrote: > > > > > Am 10.05.2021 um 13:08 schrieb Francois ten Krooden : > > > > Greetings > > > > We have a vested interest in high-speed IPsec VPN on FreeBSD. We have > > started with the porting of VPP (https

Re: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-10 Thread Luigi Rizzo
On Monday, May 10, 2021, Rainer Duffner wrote: > > > > Am 10.05.2021 um 13:08 schrieb Francois ten Krooden : > > > > Greetings > > > > We have a vested interest in high-speed IPsec VPN on FreeBSD. We have > started with the porting of VPP (https://fd.io/) to FreeBSD. > > > > Currently we have VPP

Re: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-10 Thread Konstantin Belousov
On Mon, May 10, 2021 at 11:08:18AM +, Francois ten Krooden wrote: > Greetings > > We have a vested interest in high-speed IPsec VPN on FreeBSD. We have started > with the porting of VPP (https://fd.io/) to FreeBSD. > > Currently we have VPP compiled and running with netmap. The speeds we mea

Re: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-10 Thread Jacques Fourie
On Mon, May 10, 2021 at 8:42 AM Rainer Duffner wrote: > > > > Am 10.05.2021 um 13:08 schrieb Francois ten Krooden : > > > > Greetings > > > > We have a vested interest in high-speed IPsec VPN on FreeBSD. We have > started with the porting of VPP (https://fd.io/) to FreeBSD. > > > > Currently we h

Re: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-10 Thread Rainer Duffner
> Am 10.05.2021 um 13:08 schrieb Francois ten Krooden : > > Greetings > > We have a vested interest in high-speed IPsec VPN on FreeBSD. We have started > with the porting of VPP (https://fd.io/) to FreeBSD. > > Currently we have VPP compiled and running with netmap. The speeds we measure > a

Vector Packet Processing (VPP) portability on FreeBSD

2021-05-10 Thread Francois ten Krooden
Greetings We have a vested interest in high-speed IPsec VPN on FreeBSD. We have started with the porting of VPP (https://fd.io/) to FreeBSD. Currently we have VPP compiled and running with netmap. The speeds we measure are nowhere near the performance of a 10Gbps link, at around 350kpps for 150