[vpp-dev] How to actively get stats with VPP API?

2018-02-28 Thread Hao Fu (haof)
Dear All, I try to collect stats for nics controlled by VPP and I can successfully receive some outcomes using want_stats() in Python binding. However, it seems the stats are passively retrieved every 10 secs through the monitoring event handler. How could I proactively query the stats with a cu

[vpp-dev] Dramatic dropping caused by VPP?

2018-03-02 Thread Hao Fu (haof)
Dear All, I created two vms with vpp installed and connected them with host-net. No drop was observed between the two vms with Iperf3. I then leverage tap to make the vms talk through vpp. In vm compute0: [host 123.0.1.1/24]—tap—[123.0.1.2/24, GigabitEthernet0/8/0 (up) 192.167.1.1/24 vpp] In vm

Re: [vpp-dev] Dramatic dropping caused by VPP?

2018-03-05 Thread Hao Fu (haof)
Solved by using iperf2 instead. From: on behalf of "Hao Fu (haof)" Date: Friday, March 2, 2018 at 11:23 AM To: "vpp-dev@lists.fd.io" Subject: [vpp-dev] Dramatic dropping caused by VPP? Dear All, I created two vms with vpp installed and connected them with host-net. N

Re: [vpp-dev] VPP As A Router Between Namespaces - 10ms latency

2018-03-06 Thread Hao Fu (haof)
I encountered the similar issue before. Try replacing iperf3 with iperf2. Hao On 3/6/18, 8:34 AM, "vpp-dev@lists.fd.io on behalf of Sara Gittlin" wrote: Also the throughput is very poor - iperf3 TCP ~ 2Mbps what is wrong here ? On Tue, Mar 6, 2018 at 6:20 PM, Sara Gittlin wr