hi there,

i am quite new to VPP,  just follow up the wiki guidance, and setup a VPP
instance, and connect two docker container to the VPP instance and
configure a bridge in VPP instance for these two docker container,

then i run iperf on the docker container and see

root@94bf13822d8e:/# iperf -c 10.10.10.3 -t 600 -i 10
------------------------------------------------------------
Client connecting to 10.10.10.3, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[  3] local 10.10.10.2 port 40628 connected with 10.10.10.3 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  8.25 MBytes  6.92 Mbits/sec
[  3] 10.0-20.0 sec  9.00 MBytes  7.55 Mbits/sec
[  3] 20.0-30.0 sec  8.75 MBytes  7.34 Mbits/sec


the way, i connect the container and vpp is through veth pair.

vpp# show inte
              Name               Idx    State  MTU (L3/IP4/IP6/MPLS)
Counter          Count
host-veth1000                     4      up          9000/0/0/0     rx
packets                517153
                                                                    rx
bytes               900265110
                                                                    tx
packets                427351
                                                                    tx
bytes                30077622
                                                                    drops
                     104
host-veth2000                     3      up          9000/0/0/0     rx
packets                427351
                                                                    rx
bytes                30077622
                                                                    tx
packets                517049
                                                                    tx
bytes               900260742

tx-error                      62
local0                            0     down          0/0/0/0
vpp#

vpp# sh bridge-domain 2 detail
  BD-ID   Index   BSN  Age(min)  Learning  U-Forwrd   UU-Flood   Flooding
 ARP-Term  arp-ufwd   BVI-Intf
    2       2      0     off        on        on       flood        on
  off       off        N/A

           Interface           If-idx ISN  SHG  BVI  TxFlood
 VLAN-Tag-Rewrite
         host-veth1000           4     5    0    -      *
none
         host-veth2000           3     5    0    -      *
none
vpp#


if i connect the containers through other method, i see much much higher
throughput.  i don't know how to debug this, could anybody give some
guidance ?  i think i missed something fundamental.  more important, what's
the right way to connect containers through vpp ?   thanks

-- 
- jeffrey
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#15024): https://lists.fd.io/g/vpp-dev/message/15024
Mute This Topic: https://lists.fd.io/mt/69387845/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to