[Bug 1479] seqnum_to_json() is slow

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Fri Nov 20 20:19:59 CET 2020


https://bugzilla.netfilter.org/show_bug.cgi?id=1479

Phil Sutter <phil at nwl.cc> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |phil at nwl.cc

--- Comment #1 from Phil Sutter <phil at nwl.cc> ---
Hi Derek,

Thanks for your patch! I took it as an example and added a hash table to keep
the json-cmd-assocs in, using seqnum as key. Thanks to include/list.h, this is
pretty simple and doesn't require much code.

Please see for yourself:

https://lore.kernel.org/netfilter-devel/20201120191640.21243-1-phil@nwl.cc/

Please give it a test to see if it resolves the performance issues you're
experiencing.

Thanks, Phil

-- 
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/20201120/9925f91c/attachment.html>


More information about the netfilter-buglog mailing list