Re: [ovs-dev] 10-25 packet drops every few (10-50) seconds TCP (iperf3)

2020-07-06 Thread Yanqin Wei
:i.maxim...@samsung.com>>; Lee Reed mailto:lee.r...@broadcom.com>>; Vinay Gupta mailto:vinay.gu...@broadcom.com>>; Alex Barba mailto:alex.ba...@broadcom.com>> Subject: Re: [ovs-dev] 10-25 packet drops every few (10-50) seconds TCP (iperf3) Thanks Yangin, What does this

Re: [ovs-dev] 10-25 packet drops every few (10-50) seconds TCP (iperf3)

2020-07-06 Thread Yanqin Wei
, 2020 12:23 PM To: Yanqin Wei Cc: Flavio Leitner ; ovs-dev@openvswitch.org; nd ; Ilya Maximets ; Lee Reed ; Vinay Gupta ; Alex Barba Subject: Re: [ovs-dev] 10-25 packet drops every few (10-50) seconds TCP (iperf3) Thanks Yangin, What does this define mean? Every 10 second some kind of book

Re: [ovs-dev] 10-25 packet drops every few (10-50) seconds TCP (iperf3)

2020-07-06 Thread Shahaji Bhosle via dev
gt; *Cc:* Flavio Leitner ; ovs-dev@openvswitch.org; nd < > n...@arm.com>; Ilya Maximets ; Lee Reed < > lee.r...@broadcom.com>; Vinay Gupta ; Alex > Barba > *Subject:* Re: [ovs-dev] 10-25 packet drops every few (10-50) seconds TCP > (iperf3) > > > > Hi Yanqin, &

Re: [ovs-dev] 10-25 packet drops every few (10-50) seconds TCP (iperf3)

2020-07-06 Thread Yanqin Wei
eed mailto:lee.r...@broadcom.com>>; Vinay Gupta mailto:vinay.gu...@broadcom.com>>; Alex Barba mailto:alex.ba...@broadcom.com>> Subject: Re: [ovs-dev] 10-25 packet drops every few (10-50) seconds TCP (iperf3) Thanks Yanqin, I am not seeing any context switches beyond 40usec in ou

Re: [ovs-dev] 10-25 packet drops every few (10-50) seconds TCP (iperf3)

2020-07-06 Thread Shahaji Bhosle via dev
020 9:27 PM > *To:* Yanqin Wei > *Cc:* Flavio Leitner ; ovs-dev@openvswitch.org; nd < > n...@arm.com>; Ilya Maximets ; Lee Reed < > lee.r...@broadcom.com>; Vinay Gupta ; Alex > Barba > *Subject:* Re: [ovs-dev] 10-25 packet drops every few (10-50) seconds TCP > (ip

Re: [ovs-dev] 10-25 packet drops every few (10-50) seconds TCP (iperf3)

2020-07-06 Thread Yanqin Wei
o:i.maxim...@samsung.com>>; Lee Reed mailto:lee.r...@broadcom.com>>; Vinay Gupta mailto:vinay.gu...@broadcom.com>>; Alex Barba mailto:alex.ba...@broadcom.com>> Subject: Re: [ovs-dev] 10-25 packet drops every few (10-50) seconds TCP (iperf3) Hi Yanqin, I added the patch you gav

Re: [ovs-dev] 10-25 packet drops every few (10-50) seconds TCP (iperf3)

2020-07-02 Thread Shahaji Bhosle via dev
t; Sent: Thursday, July 2, 2020 6:11 AM > To: Yanqin Wei > Cc: Flavio Leitner ; ovs-dev@openvswitch.org; nd < > n...@arm.com>; Ilya Maximets ; Lee Reed < > lee.r...@broadcom.com>; Vinay Gupta ; Alex > Barba > Subject: Re: [ovs-dev] 10-25 packet drops every few (10-50)

Re: [ovs-dev] 10-25 packet drops every few (10-50) seconds TCP (iperf3)

2020-07-02 Thread Yanqin Wei
:11 AM To: Yanqin Wei Cc: Flavio Leitner ; ovs-dev@openvswitch.org; nd ; Ilya Maximets ; Lee Reed ; Vinay Gupta ; Alex Barba Subject: Re: [ovs-dev] 10-25 packet drops every few (10-50) seconds TCP (iperf3) Hi Yanqin,  I added the patch you gave me to my script which runs a do nothing for loop

Re: [ovs-dev] 10-25 packet drops every few (10-50) seconds TCP (iperf3)

2020-07-01 Thread Yanqin Wei
m: dev On Behalf Of Shahaji Bhosle > via dev > Sent: Wednesday, July 1, 2020 6:05 AM > To: Flavio Leitner > Cc: ovs-dev@openvswitch.org; Ilya Maximets ; > Lee Reed ; Vinay Gupta > ; Alex Barba > Subject: Re: [ovs-dev] 10-25 packet drops every few (10-50) seconds TCP > (ip

Re: [ovs-dev] 10-25 packet drops every few (10-50) seconds TCP (iperf3)

2020-06-30 Thread Shahaji Bhosle via dev
Hi Flavio, I still see intermittent drops with rcu_nocbs. So I wrote that do_nothing() loop..to avoid all the other distractions to see if Linux is messing with the OVS loop just to see what is going on. The interesting thing I see the case *BOLD* below where I use an ISB() instruction my STD

Re: [ovs-dev] 10-25 packet drops every few (10-50) seconds TCP (iperf3)

2020-06-30 Thread Flavio Leitner
Hi Shahaji, Did it help with the rcu_nocbs? fbl On Tue, Jun 30, 2020 at 12:56:27PM -0400, Shahaji Bhosle wrote: > Thanks Flavio, > Are there any special requirements for RCU on ARM vs x86. > > I am following what the above document is saying...Do you think I need to > do something more

Re: [ovs-dev] 10-25 packet drops every few (10-50) seconds TCP (iperf3)

2020-06-30 Thread Shahaji Bhosle via dev
Thanks Flavio, Are there any special requirements for RCU on ARM vs x86. I am following what the above document is saying...Do you think I need to do something more than the below? Thanks again and appreciate the help. Shahaji 1. Isolate the CPU cores *isolcpus=1,2,3,4,5,6,7 nohz_full=1-7

Re: [ovs-dev] 10-25 packet drops every few (10-50) seconds TCP (iperf3)

2020-06-30 Thread Flavio Leitner
Right, you might want to review Documentation/timers/no_hz.rst from the kernel sources and look for RCU implications section where it explains how to move RCU callbacks. fbl On Tue, Jun 30, 2020 at 12:08:05PM -0400, Shahaji Bhosle wrote: > Hi Flavio, > I wrote a small program which has

Re: [ovs-dev] 10-25 packet drops every few (10-50) seconds TCP (iperf3)

2020-06-30 Thread Shahaji Bhosle via dev
Hi Flavio, I wrote a small program which has do_nothing for loop and I measure the timestamps across the do nothing loop. I am seeing 3% of the time around the 1 second mark when the arch_timer fires I get the timestamps to be off by 25% of the exprected value. I ran trace-cmd to see what is going

Re: [ovs-dev] 10-25 packet drops every few (10-50) seconds TCP (iperf3)

2020-06-30 Thread Flavio Leitner
On Tue, Jun 02, 2020 at 12:56:51PM -0700, Vinay Gupta wrote: > Hi Flavio, > > Thanks for your reply. > I have captured the suggested information but do not see anything that > could cause the packet drops. > Can you please take a look at the below data and see if you can find > something unusual

Re: [ovs-dev] 10-25 packet drops every few (10-50) seconds TCP (iperf3)

2020-06-02 Thread Vinay Gupta via dev
Hi Flavio, Thanks for your reply. I have captured the suggested information but do not see anything that could cause the packet drops. Can you please take a look at the below data and see if you can find something unusual ? The PMDs are running on CPU 1,2,3,4 and CPU 1-7 are isolated cores.

Re: [ovs-dev] 10-25 packet drops every few (10-50) seconds TCP (iperf3)

2020-06-02 Thread Flavio Leitner
On Mon, Jun 01, 2020 at 07:27:09PM -0400, Shahaji Bhosle via dev wrote: > Hi Ben/Ilya, > Hope you guys are doing well and staying safe. I have been chasing a weird > problem with small drops and I think that is causing lots of TCP > retransmission. > > Setup details > iPerf3(1k-5K >