[Bug 1127] running nft command creates lag for forwarded packets
bugzilla-daemon at netfilter.org
bugzilla-daemon at netfilter.org
Thu Mar 9 15:32:23 CET 2017
https://bugzilla.netfilter.org/show_bug.cgi?id=1127
Liping Zhang <zlpnobody at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |zlpnobody at gmail.com
--- Comment #8 from Liping Zhang <zlpnobody at gmail.com> ---
Created attachment 496
--> https://bugzilla.netfilter.org/attachment.cgi?id=496&action=edit
use rwlock for rbtree
Hi Pablo,
Based on your patch, I think we can convert spinlock to rwlock to improve the
scalability, since "listing sets" and "forwarding packets" are both readers.
So after using rwlock, they will not race to waiting lock anymore.
@Karel, I think the attached patch can help your situation, can you try it?
--
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20170309/3c41bb17/attachment.html>
More information about the netfilter-buglog
mailing list