Thread (10 messages) flat view 10 messages, 6 authors, 2021-04-02

Re: Packet gets stuck in NOLOCK pfifo_fast qdisc

From: Cong Wang <hidden>
Date: 2020-09-03 17:43:54
Also in: lkml

Possibly related (same subject, not in this thread)

On Thu, Sep 3, 2020 at 1:40 AM Paolo Abeni [off-list ref] wrote:
On Wed, 2020-09-02 at 22:01 -0700, Cong Wang wrote:
quoted
Can you test the attached one-line fix? I think we are overthinking,
probably all
we need here is a busy wait.
I think that will solve, but I also think that will kill NOLOCK
performances due to really increased contention.
Yeah, we somehow end up with more locks (seqlock, skb array lock)
for lockless qdisc. What an irony... ;)
At this point I fear we could consider reverting the NOLOCK stuff.
I personally would hate doing so, but it looks like NOLOCK benefits are
outweighed by its issues.
I agree, NOLOCK brings more pains than gains. There are many race
conditions hidden in generic qdisc layer, another one is enqueue vs.
reset which is being discussed in another thread.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help