From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Westphal Subject: Re: net: cleanup_net is slow Date: Mon, 24 Apr 2017 14:08:35 +0200 Message-ID: <20170424120835.GA20444@breakpoint.cc> References: <20170421192729.GA8853@breakpoint.cc> <20170421194515.GB8853@breakpoint.cc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Florian Westphal , Eric Dumazet , Cong Wang , netdev , LKML , Dmitry Vyukov , Kostya Serebryany , syzkaller To: Andrey Konovalov Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Andrey Konovalov wrote: > On Fri, Apr 21, 2017 at 9:45 PM, Florian Westphal wrote: > > Florian Westphal wrote: > >> Indeed. Setting net.netfilter.nf_conntrack_default_on=0 cuts time > >> cleanup time by 2/3 ... > >> > >> nf unregister is way too happy to issue synchronize_net(), I'll work on > >> a fix. > > > > I'll test this patch as a start. Maybe we can also leverage exit_batch > > more on netfilter side. > > Hi Florian, > > Your patch improves fuzzing speed at least twice, which is a great start! Great. I'll try to push the patches i have to nf-next ASAP.