Re: [vpp-dev] #vpp loadbalancer #vpp

2019-06-27 Thread Pierre Pfister (ppfister) via Lists.Fd.Io
Hello, The VPP LB is pretty much an implementation of Maglev (https://ai.google/research/pubs/pub44824). Maglev is the consistent hashing algorithm used to generate the ’new_flow_table’. That table is used when a packet for a flow that is not known by the LB is forwarded. When that happens, th

Re: [vpp-dev] question about load balance

2018-01-10 Thread Pierre Pfister (ppfister)
Hello, You will not be able to get an exact match on 1/3 - 2/3 traffic sharing since 3 is not a power of two. If you want to get something closer, you may try to increase the values to get a better approximation. For instance, 43 and 85 have a sum of 128 with 43/128 = 0.3359375, which is close

Re: [vpp-dev] user mode TCP stack..

2017-12-20 Thread Pierre Pfister (ppfister)
Hello, VPP's user-space TCP stack is called VCL (VPP Communication Library). https://wiki.fd.io/view/VPP/VPPCommunicationsLibrary - Pierre Le 21 déc. 2017 à 07:19, satish karunanithi mailto:satish.f...@gmail.com>> a écrit : Hi, I see there is a tcp module under vnet which does all the tcp st

Re: [vpp-dev] gerrit http authentication

2017-11-21 Thread Pierre Pfister (ppfister)
for me for the past weeks... --a On 21 Nov 2017, at 09:31, Pierre Pfister (ppfister) mailto:ppfis...@cisco.com>> wrote: Hello all, Heads up on this one since it still does not work for me. I was using https auth on servers that are shared between multiple people (any ssh private key left

Re: [vpp-dev] gerrit http authentication

2017-11-21 Thread Pierre Pfister (ppfister)
Hello all, Heads up on this one since it still does not work for me. I was using https auth on servers that are shared between multiple people (any ssh private key left there could be accessed by other root users). It seems safer to rely on copy/pasting a password for every push than multiplyin

Re: [vpp-dev] Load balancer plugin for VPP

2017-10-19 Thread Pierre Pfister (ppfister)
I just configured VIP on the dummy device on the backend servers. Can you give me instructions on how to configure gre tunnel? I saw some write-up, but not sure if they are applicable to VPP LB. John On Thu, Oct 19, 2017 at 11:27 PM, Pierre Pfister (ppfister) mailto:ppfis...@cisco.com>> wrote

Re: [vpp-dev] Load balancer plugin for VPP

2017-10-19 Thread Pierre Pfister (ppfister)
I wonder why VPP LB is not doing the forwarding from request coming from the outside the node? John On Wed, Oct 18, 2017 at 11:40 PM, Pierre Pfister (ppfister) mailto:ppfis...@cisco.com>> wrote: Hello ! Great that you managed to answer your prior questions. Did you see this little

Re: [vpp-dev] Load balancer plugin for VPP

2017-10-18 Thread Pierre Pfister (ppfister)
how to do know that VPP lb plugin is loaded - I still cant find the "lb" command. I guess it is really not a command. But, where I need to add these "lb" configuration and what is the syntax? - In the monitoring section, it mentioned "show lb, show lv vips, ..&qu

Re: [vpp-dev] Multiple VRFs in 1609

2017-10-10 Thread Pierre Pfister (ppfister)
ler to not pass ~0. In this case the ~0 is coming from the packet VLIB_RX interface. So best to find and fix the input node that should have set this correctly. /neale From: Michael Borokhovich mailto:michael...@gmail.com>> Date: Friday, 6 October 2017 at 15:49 To: "Shaw,

Re: [vpp-dev] Multiple VRFs in 1609

2017-10-10 Thread Pierre Pfister (ppfister)
Thanks a ton Jeff. I merged 8717, 8718 and proposed a different fix to 8716 (https://gerrit.fd.io/r/#/c/8729/). I also noticed netlink plugin does not compile on 1710 and master due to a change in VPP (Mostly renaming which happened here https://gerrit.fd.io/r/#/c/8366/2). I have a patch ready

Re: [vpp-dev] Multiple VRFs in 1609

2017-10-06 Thread Pierre Pfister (ppfister)
?? () #11 0x77964c24 in vlib_unix_main (argc=25, argv=0x6f6840) at /root/vpp/build-data/../src/vlib/unix/main.c:577 #12 0x004079ea in main (argc=25, argv=0x6f6840) at /root/vpp/build-data/../src/vpp/vnet/main.c:202 From: Michael Borokhovich [mailto:michael...@gmail.com] Sent: T

Re: [vpp-dev] Multiple VRFs in 1609

2017-10-05 Thread Pierre Pfister (ppfister)
Hello Michael, Can you be more specific about what doesn't work ? Jeff, do you have some time to look at the router plugin ? Thanks, - Pierre Le 5 oct. 2017 à 05:22, Michael Borokhovich mailto:michael...@gmail.com>> a écrit : Hi Florin, Thank you for the response. The reason I stick to 160

Re: [vpp-dev] Load balancer plugin for VPP

2017-10-03 Thread Pierre Pfister (ppfister)
vpp on linux https://wiki.fd.io/view/VPP/Pulling,_Building,_Running,_Hacking_and_Pushing_VPP_Code#Linux I found "lb" in the plugins directory. But, how to bring up vpp with lb plugin? I hoping to see some instructions that I can follow to try this VPP lb. John On Sun, Oct 1, 2017 a

Re: [vpp-dev] Load balancer plugin for VPP

2017-10-01 Thread Pierre Pfister (ppfister)
Hello John, The LB plugin comes with VPP by default (no need for additional download, sources are in src/plugins/lb). As far as instructions are concerned, I am afraid the link you pointed to is all there is for now. But please ask if you feel like something in particular is missing. - Pierre

Re: [vpp-dev] Build vpp on openwrt

2017-09-11 Thread Pierre Pfister (ppfister)
Hello. I didn't try it. But the hardest is probably not to build VPP in an OpenWrt system. I'd dare say it would be easy if OpenWrt is compiled for x86 target. The real question is what platform do you want to compile OpenWrt for ? - Pierre Le 9 sept. 2017 à 03:18, yug...@telincn.com

Re: [vpp-dev] Load Balancer like HAProxy or AWS ELB?

2017-07-24 Thread Pierre Pfister (ppfister)
Hello Choonho, MagLev is a layer 4 load-balancer. It load balances TCP connexions to a set of targets. This is done by simply forwarding packets on a per-5-tuple basis with a flow table to remember decisions. Since the destination address of packets is not modified, a tunnel is necessary. HAPro

Re: [vpp-dev] Requirement on Load Balancer plugin for VPP

2017-04-25 Thread Pierre Pfister (ppfister)
uld do ---> client-facing-iface --> SNAT --> LB(DNAT) --> AS-facing-iface The AS->client traffic, in VPP, would do ---> AS-facing-iface --> LB(Stateless SNAT) --> SNAT Plugin (doing DNAT-back) --> client-facing-iface Now the choice is all yours. But I will have warned

Re: [vpp-dev] Requirement on Load Balancer plugin for VPP

2017-04-25 Thread Pierre Pfister (ppfister)
Hello all, As mentioned by Ed, introducing return traffic would dramatically reduce the performance of the solution. -> Return traffic typically consists of data packets, whereas forward traffic mostly consists of ACKs. So you will have to have significantly more LB boxes if you want to support

Re: [vpp-dev] Tap IF Names

2017-03-28 Thread Pierre Pfister (ppfister)
12:15, Kinsella, Ray > mailto:ray.kinse...@intel.com>> wrote: > > +1 to Jon's comments. > > > On 24/03/2017 14:07, Pierre Pfister (ppfister) wrote: >> Hello Jon, >> >> No strong opinion on my side, but I'd just like to notice that there might >

Re: [vpp-dev] Building router plugin

2017-03-27 Thread Pierre Pfister (ppfister)
You basically have two options: 1. Teach your routing protocol daemon to directly talk to VPP for configuring the FIB. 2. Do not modify the routing daemon and let VPP map routes written in the kernel. For 1, you will need the router plugin, but for packet punting only. For 2., you will need bot

Re: [vpp-dev] Building router plugin

2017-03-26 Thread Pierre Pfister (ppfister)
Hello Lukasz, I am sorry I won't be able to look in details into your problem this week, but I can still quickly dump some information. netlink and router plugin are really maintained. It is not surprising that they do not compile without at bit of effort. Commits are very welcome though, as I

Re: [vpp-dev] Tap IF Names

2017-03-24 Thread Pierre Pfister (ppfister)
Hello Jon, No strong opinion on my side, but I'd just like to notice that there might be cases where multiple interfaces, in linux, have the same name, if they are in different network namespaces. VPP could literally control the back-end of thousands of containers' interfaces, all called eth0.

Re: [vpp-dev] classify and redirect to tap

2017-02-08 Thread Pierre Pfister (ppfister)
Hello John, IIRC tap inject is in VPP Sandbox "router" sub-project. It is an experimental plugin allowing for doing what you are looking for. It was intended to provide a way to run a routing protocol in linux and reflect the result into VPP. I don't know if it still compiles, but it definitely

Re: [vpp-dev] how to setup topology to test lb plugin?

2017-01-12 Thread Pierre Pfister (ppfister)
ean, the syntax seams incorrect. Plus the GRE tunnels are only configured on the hosts, so if I understood correctly, you got the local/remote backward. Cheers, - Pierre 在 2017-01-11 21:45:33,"Pierre Pfister (ppfister)" mailto:ppfis...@cisco.com>> 写道: Le 11 janv. 2017 à 14

Re: [vpp-dev] how to setup topology to test lb plugin?

2017-01-11 Thread Pierre Pfister (ppfister)
rre 发自网易邮箱手机版 在2017年01月11日 20:16 ,Pierre Pfister (ppfister)<mailto:ppfis...@cisco.com>写道: Hello, Are you familiar with MagLev ? Did you take a look at https://git.fd.io/vpp/tree/src/plugins/lb/lb_plugin_doc.md ? Cheers, - Pierre Le 11 janv. 2017 à 12:52, 黄登辉 mailto:denghuihu...@

Re: [vpp-dev] how to setup topology to test lb plugin?

2017-01-11 Thread Pierre Pfister (ppfister)
Hello, Are you familiar with MagLev ? Did you take a look at https://git.fd.io/vpp/tree/src/plugins/lb/lb_plugin_doc.md ? Cheers, - Pierre Le 11 janv. 2017 à 12:52, 黄登辉 mailto:denghuihu...@163.com>> a écrit : Hi all There is lb plugin available in vpp. I want to test it, could you plea

Re: [vpp-dev] vHost user test scenarios for CSIT - TWS meeting

2016-12-12 Thread Pierre Pfister (ppfister)
: All, At last week's CSIT meeting, Maciek (mkons...@cisco.com<mailto:mkons...@cisco.com>) offered to compile a summary suggestions on this mailing list. On 11/22/2016 11:34 AM, Pierre Pfister (ppfister) wrote: Hello Thomas, Sorry I haven't reached out faster, I was travell

Re: [vpp-dev] vHost user test scenarios for CSIT

2016-12-01 Thread Pierre Pfister (ppfister)
offered to compile a summary suggestions on this mailing list. On 11/22/2016 11:34 AM, Pierre Pfister (ppfister) wrote: Hello Thomas, Sorry I haven't reached out faster, I was travelling. Please have a look at vppsb/vhost-test It includes a standalone script which provides VPP and VM co

Re: [vpp-dev] vHost user test scenarios for CSIT

2016-11-22 Thread Pierre Pfister (ppfister)
Hello Thomas, Sorry I haven't reached out faster, I was travelling. Please have a look at vppsb/vhost-test It includes a standalone script which provides VPP and VM configuration for PVP tests. - Runs testpmd in the VM - Supports various CPU configuration for VPP - Can run with or without gdb, d

Re: [vpp-dev] Creating vpp-test-verify job ... - it's time I think !

2016-11-08 Thread Pierre Pfister (ppfister)
l see failures, even a vpp crash. > > Please see the attached diff and let me know if I need to do something > else. > > Attached also the output of the test case.. > > Thanks, > Klement > > On Tue, Nov 08, 2016 at 04:16:18PM +, Pierre Pfister (ppfister) wrote: >

Re: [vpp-dev] Creating vpp-test-verify job ... - it's time I think !

2016-11-08 Thread Pierre Pfister (ppfister)
/test_lb.py > > -Maciek > >> On 8 Nov 2016, at 15:23, Pierre Pfister (ppfister) >> wrote: >> >> Hello Maciek, >> >> Do you know what is going wrong with the LB test case ? >> Nobody bothered to tell me the test was failing. >> It woul

Re: [vpp-dev] Creating vpp-test-verify job ... - it's time I think !

2016-11-08 Thread Pierre Pfister (ppfister)
Hello Maciek, Do you know what is going wrong with the LB test case ? Nobody bothered to tell me the test was failing. It would be cool to have a chance to fix it rather than just disabling it. Thanks, - Pierre > Le 8 nov. 2016 à 15:57, Maciek Konstantynowicz (mkonstan) > a écrit : > > Hi,

Re: [vpp-dev] [csit-dev] vhost multi-queue patch - verify job failing

2016-10-28 Thread Pierre Pfister (ppfister)
h oper-161017 not oper-161024. + CSIT_BRANCH=oper-161017 + git clone https://gerrit.fd.io/r/csit --branch oper-161017 Can you please use the latest one (code rebase)? Thanks. Peter Mikus Engineer – Software Cisco Systems Limited Planned absence: 28.10., 1.11., 17.11., 9.12., 19.-31.12. From: Pie

Re: [vpp-dev] [csit-dev] vhost multi-queue patch - verify job failing

2016-10-28 Thread Pierre Pfister (ppfister)
er-161017 + git clone https://gerrit.fd.io/r/csit --branch oper-161017 Can you please use the latest one (code rebase)? Thanks. Peter Mikus Engineer – Software Cisco Systems Limited Planned absence: 28.10., 1.11., 17.11., 9.12., 19.-31.12. From: Pierre Pfister (ppfister) Sent: Wednesday, October

Re: [vpp-dev] [csit-dev] vhost multi-queue patch - verify job failing

2016-10-27 Thread Pierre Pfister (ppfister)
I just want to take that back. In my setup, the VM is not even booting with qemu 2.5. But this may be completely unrelated with virtio. So the investigation is still going... Le 27 oct. 2016 à 17:00, Pierre Pfister (ppfister) mailto:ppfis...@cisco.com>> a écrit : I do agree. I actuall

Re: [vpp-dev] [csit-dev] vhost multi-queue patch - verify job failing

2016-10-27 Thread Pierre Pfister (ppfister)
lto:csit-dev-boun...@lists.fd.io] On Behalf Of Pierre Pfister (ppfister) Sent: Thursday, October 27, 2016 7:49 AM To: Damjan Marion (damarion) mailto:damar...@cisco.com>> Cc: csit-...@lists.fd.io<mailto:csit-...@lists.fd.io>; vpp-dev mailto:vpp-dev@lists.fd.io>> Subject: Re: [csit-de

Re: [vpp-dev] [csit-dev] vhost multi-queue patch - verify job failing

2016-10-27 Thread Pierre Pfister (ppfister)
Well... Apparently the fix didn't work. Test failed in the same way again. Le 27 oct. 2016 à 13:49, Pierre Pfister (ppfister) mailto:ppfis...@cisco.com>> a écrit : I think I have a fix. I mean... I re-interprated some text from vhost-user.txt... Reverse engineered DPDK'

Re: [vpp-dev] [csit-dev] vhost multi-queue patch - verify job failing

2016-10-27 Thread Pierre Pfister (ppfister)
e some disclaimer should be made or what about backward compatibility? Peter Mikus Engineer – Software Cisco Systems Limited Planned absence: 28.10., 1.11., 17.11., 9.12., 19.-31.12. From: Pierre Pfister (ppfister) Sent: Thursday, October 27, 2016 9:27 AM To: Peter Mikus -X (pmikus - PANTHEON TECHN

Re: [vpp-dev] [csit-dev] vhost multi-queue patch - verify job failing

2016-10-27 Thread Pierre Pfister (ppfister)
nowicz (mkonstan) mailto:mkons...@cisco.com>> Cc: Peter Mikus -X (pmikus - PANTHEON TECHNOLOGIES at Cisco) mailto:pmi...@cisco.com>>; Pierre Pfister (ppfister) mailto:ppfis...@cisco.com>>; csit-...@lists.fd.io<mailto:csit-...@lists.fd.io>; Damjan Marion (damarion) mailto

Re: [vpp-dev] updated ovs vs. vpp results for 0.002% and 0% loss

2016-10-26 Thread Pierre Pfister (ppfister)
-31.12. From: vpp-dev-boun...@lists.fd.io<mailto:vpp-dev-boun...@lists.fd.io> [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Thomas F Herbert Sent: Tuesday, October 25, 2016 5:57 PM To: Edward Warnicke mailto:hagb...@gmail.com>>; Pierre Pfister (ppfister) mailto:ppfis...@cisc

Re: [vpp-dev] updated ovs vs. vpp results for 0.002% and 0% loss

2016-10-26 Thread Pierre Pfister (ppfister)
Le 25 oct. 2016 à 15:03, Thomas F Herbert mailto:therb...@redhat.com>> a écrit : Pierre, Thanks. On 10/25/2016 03:14 AM, Pierre Pfister (ppfister) wrote: Hello, For now the multi-queue patch is still stuck in gerrit because jenkin's qemu is using an old buggy version... Is this t

Re: [vpp-dev] updated ovs vs. vpp results for 0.002% and 0% loss

2016-10-25 Thread Pierre Pfister (ppfister)
on your working processes. This improves scheduling real-time properties. Thanks, - Pierre Le 25 oct. 2016 à 06:36, Jerome Tollet (jtollet) mailto:jtol...@cisco.com>> a écrit : + Pierre Pfister (ppfister) who ran a lot of benchmarks for VPP/vhostuser De : mailto:vpp-dev-boun...@list