It sounds weird, have you commented "if((counter % 600.000.000) == 0)" ?mod
operation maybe expensive since 600,000,000 is a large number than
MAX_INT.
but it should do so much harm to throughput :-(
--
Best Regard
Joe
-- Original --
From: "Nguyễ
Hi Hiếu,
From your description, printf is the bottleneck of performance. you need
to understand what's going on behind "printf"。
printf involves I/O operation,I/O operation is really slow in computer,
when you calling printf, it will call a syscall in glibc and trap to kernel,
then call
Hey Paul,
Thanks very much, I got it, I have a misunderstanding about this API, for
this api return all the interface's info which include the param of name_filter.
Maybe it's a False patch. Thank you again:-??
---
Best Regards
Joe
-- --
?
Patch url: https://gerrit.fd.io/r/18273
-- Original --
From: "Joe Zhou";
Date: Thu, Mar 14, 2019 10:06 AM
To: "vpp-dev@lists.fd.io";
Subject: is sw_interface_dump api bug?
Dear VPP developers,
I used sw_interface_dump api to get sw interface info
Dear VPP developers,
I used sw_interface_dump api to get sw interface info, but found the result
is not right following these steps :
1) create a loop interface with instance 10, ie loop10
2) create a loop inteerface with instance 1, ie loop1
3) use sw_interface_dump to get
Dear vpp devs:
I met a bug while adding 802.1q subif interface into bridge domain via python
api. BVI interface must be the first number of bridge domain, but after I added
a subif into bd, subif took the first position of bd, and the l2 flooding
didn't run well:
here is the infomation