Re: [vpp-dev] [presentation] VPP as a OSPF/BGP router - talk at VirtualNOG

2022-07-06 Thread Pim van Pelt
Hoi Denis,

This setup will fundamentally not work. The only packets Linux sees through
the LCP interface pair, are those which are destined to IP addresses on the
router itself, not through the dataplane. While you may be able to
construct a TAP with a bridge on the Linux side and a bridge-domain on the
VPP side, the throughput in this case will be the same, or slightly worse,
than Linux natively.

groet,
Pim

On Thu, Jul 7, 2022 at 7:37 AM Denis Lotarev via lists.fd.io  wrote:

> Hi there!
> I want to know is it improve perfomance if i create two LCP interfaces
> (in/out) and use this with iptables NAT vs using iptables NAT together with
> kernel network stack?
> Thanks!
> 
>
>

-- 
Pim van Pelt 
PBVP1-RIPE - http://www.ipng.nl/

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21619): https://lists.fd.io/g/vpp-dev/message/21619
Mute This Topic: https://lists.fd.io/mt/91997835/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] [presentation] VPP as a OSPF/BGP router - talk at VirtualNOG

2022-07-06 Thread Denis Lotarev via lists.fd.io
Hi there!
I want to know is it improve perfomance if i create two LCP interfaces (in/out) 
and use this with iptables NAT vs using iptables NAT together with kernel 
network stack?
Thanks!

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21618): https://lists.fd.io/g/vpp-dev/message/21618
Mute This Topic: https://lists.fd.io/mt/91997835/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] [presentation] VPP as a OSPF/BGP router - talk at VirtualNOG

2022-07-05 Thread Xuo Guoto via lists.fd.io
Thanks for your reply, just trying to understand a bit more.

My understanding is that the show runtime shows the total clock cycles a node 
executed when the command was issued, to get the cycles/packet, we need to 
divide it by number of packets the node processed. How that information is 
derived from the show runtime output? Of course, I may be totally 
misinterpreting the output of show runtime :)

Thanks!

X.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21615): https://lists.fd.io/g/vpp-dev/message/21615
Mute This Topic: https://lists.fd.io/mt/91997835/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] [presentation] VPP as a OSPF/BGP router - talk at VirtualNOG

2022-07-05 Thread Pim van Pelt
Hoi,

Thanks for the kind words, Xuo (and Jerome!). The graph rendering is
nothing very scientific, just a bunch of data from 'show runtime' in a
Google sheet (source
)
which drew a graph for me ;)

groet,
Pim

On Tue, Jul 5, 2022 at 2:24 PM Xuo Guoto via lists.fd.io  wrote:

> Pim,
>
> Finally got some time to watch this excellent presentation. Thanks for the
> presentation and for sharing it here!
>
> If I may, I have a tangential question. How was the graph shown in "Demo 1
> - L2XC Performance" slide which shows Cycles/packet by node generated? That
> looks really cool and and very useful
>
> Thanks!
>
> X.
> 
>
>

-- 
Pim van Pelt 
PBVP1-RIPE - http://www.ipng.nl/

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21613): https://lists.fd.io/g/vpp-dev/message/21613
Mute This Topic: https://lists.fd.io/mt/91997835/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] [presentation] VPP as a OSPF/BGP router - talk at VirtualNOG

2022-07-05 Thread Xuo Guoto via lists.fd.io
Pim,

Finally got some time to watch this excellent presentation. Thanks for the 
presentation and for sharing it here!

If I may, I have a tangential question. How was the graph shown in "Demo 1 - 
L2XC Performance" slide which shows Cycles/packet by node generated? That looks 
really cool and and very useful

Thanks!

X.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21608): https://lists.fd.io/g/vpp-dev/message/21608
Mute This Topic: https://lists.fd.io/mt/91997835/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] [presentation] VPP as a OSPF/BGP router - talk at VirtualNOG

2022-06-27 Thread Jerome Tollet via lists.fd.io
Great presentation Pim. Thanks !

De : vpp-dev@lists.fd.io  de la part de Pim van Pelt 

Date : dimanche, 26 juin 2022 à 11:43
À : vpp-dev 
Objet : [vpp-dev] [presentation] VPP as a OSPF/BGP router - talk at VirtualNOG
Hoi folks,

I don't usually share my presentations about VPP with the developer community, 
but I was encouraged to share this one as it's of general interest both for the 
dataplane performance (with trex loadtests) as well as for configuration of 
lower level (vppcfg for the dataplane) and higher level (kees, ansible).
I spent 45 minutes with the VirtualNOG folks this Friday, and I thought I'd 
pass the recording along:

- https://virtualnog.net/posts/2022-06-24-vpp/ with the video on Youtube
- https://media.ccc.de/v/vnog-4170-bgpospf-with-100mpps-on-amd64 with the same 
video on CCC

Thanks to Maximilian Wilhelm for hosting me, to Andre Toonk for his talk last 
year, bringing visibility to VPP also, and for the vibrant community who showed 
pretty genuine interest for VPP.

groet,
Pim

--
Pim van Pelt mailto:p...@ipng.nl>>
PBVP1-RIPE - http://www.ipng.nl/

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21586): https://lists.fd.io/g/vpp-dev/message/21586
Mute This Topic: https://lists.fd.io/mt/91997835/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[vpp-dev] [presentation] VPP as a OSPF/BGP router - talk at VirtualNOG

2022-06-26 Thread Pim van Pelt
Hoi folks,

I don't usually share my presentations about VPP with the developer
community, but I was encouraged to share this one as it's of general
interest both for the dataplane performance (with trex loadtests) as well
as for configuration of lower level (vppcfg for the dataplane) and higher
level (kees, ansible).
I spent 45 minutes with the VirtualNOG folks this Friday, and I thought I'd
pass the recording along:

- https://virtualnog.net/posts/2022-06-24-vpp/ with the video on Youtube
- https://media.ccc.de/v/vnog-4170-bgpospf-with-100mpps-on-amd64 with the
same video on CCC

Thanks to Maximilian Wilhelm for hosting me, to Andre Toonk for his talk
last year, bringing visibility to VPP also, and for the vibrant community
who showed pretty genuine interest for VPP.

groet,
Pim

-- 
Pim van Pelt 
PBVP1-RIPE - http://www.ipng.nl/

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21585): https://lists.fd.io/g/vpp-dev/message/21585
Mute This Topic: https://lists.fd.io/mt/91997835/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-