Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1169645AbdDXMKH (ORCPT ); Mon, 24 Apr 2017 08:10:07 -0400 Received: from Chamillionaire.breakpoint.cc ([146.0.238.67]:60714 "EHLO Chamillionaire.breakpoint.cc" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1169626AbdDXMJ7 (ORCPT ); Mon, 24 Apr 2017 08:09:59 -0400 Date: Mon, 24 Apr 2017 14:08:35 +0200 From: Florian Westphal To: Andrey Konovalov Cc: Florian Westphal , Eric Dumazet , Cong Wang , netdev , LKML , Dmitry Vyukov , Kostya Serebryany , syzkaller Subject: Re: net: cleanup_net is slow 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 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 626 Lines: 17 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.