From nobody Sun Mar 13 17:53:44 2022 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B7C241A1B2A8 for ; Sun, 13 Mar 2022 17:53:55 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (cross.sbone.de [195.201.62.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KGnNL5Db8z4RrP; Sun, 13 Mar 2022 17:53:54 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 227208D4A217; Sun, 13 Mar 2022 17:53:47 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id AA53BE70873; Sun, 13 Mar 2022 17:53:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id PNkmDxl6ISw5; Sun, 13 Mar 2022 17:53:45 +0000 (UTC) Received: from [192.168.2.110] (unknown [IPv6:fde9:577b:c1a9:31:e8ee:61e:3688:41f3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 5F4EBE70871; Sun, 13 Mar 2022 17:53:45 +0000 (UTC) From: "Bjoern A. Zeeb" To: "Michael Gmelin" Cc: "Johan Hendriks" , "Kristof Provost" , "Patrick M. Hausen" , freeBSD-net Subject: Re: epair and vnet jail loose connection. Date: Sun, 13 Mar 2022 17:53:44 +0000 X-Mailer: MailMate (2.0BETAr6151) Message-ID: <3B5E2D6F-5444-4448-B7C3-704E294368C3@lists.zabbadoz.net> In-Reply-To: <6086BA6D-3D54-4851-B636-3B32FACB35E9@freebsd.org> References: <797A280E-5DF2-4276-BB72-E4E1053A19FA@lists.zabbadoz.net> <6086BA6D-3D54-4851-B636-3B32FACB35E9@freebsd.org> List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4KGnNL5Db8z4RrP X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of bzeeb-lists@lists.zabbadoz.net designates 195.201.62.131 as permitted sender) smtp.mailfrom=bzeeb-lists@lists.zabbadoz.net X-Spamd-Result: default: False [-2.26 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:195.201.62.131:c]; NEURAL_HAM_LONG(-0.99)[-0.994]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zabbadoz.net]; RCPT_COUNT_FIVE(0.00)[5]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.09)[-0.090]; NEURAL_HAM_MEDIUM(-0.88)[-0.878]; MLMMJ_DEST(0.00)[freebsd-net]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:195.201.0.0/16, country:DE]; FREEMAIL_CC(0.00)[gmail.com,freebsd.org,punkt.de]; RCVD_TLS_LAST(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 13 Mar 2022, at 17:45, Michael Gmelin wrote: >> On 13. Mar 2022, at 18:16, Bjoern A. Zeeb >> wrote: >> >> On 13 Mar 2022, at 16:33, Michael Gmelin wrote: >>> It's important to point out that this only happens with kern.ncpu>1. >>> With kern.ncpu==1 nothing gets stuck. >>> >>> This perfectly fits into the picture, since, as pointed out by >>> Johan, >>> the first commit that is affected[0] is about multicore support. >> >> Ignore my ignorance, what is the default of net.isr.maxthreads and >> net.isr.bindthreads (in stable/13) these days? >> > > My tests were on CURRENT and I’m afk, but according to cgit[0][1], > max is 1 and bind is 0. > > Would it make sense to repeat the test with max=-1? I’d say yes, I’d also bind, but that’s just me. I would almost assume Kristof running with -1 by default (but he can chime in on that). > Best > Michael > > [0] https://cgit.freebsd.org/src/tree/sys/net/netisr.c#n280 > [1] > https://cgit.freebsd.org/src/tree/sys/net/netisr.c?h=stable%2F13#n280