From nobody Sun Mar 13 17:45: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 2711C1A19CC2 for ; Sun, 13 Mar 2022 17:45:54 +0000 (UTC) (envelope-from grembo@freebsd.org) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.3 with cipher TLS_CHACHA20_POLY1305_SHA256 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.evolve.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KGnC46LBjz3wPC; Sun, 13 Mar 2022 17:45:52 +0000 (UTC) (envelope-from grembo@freebsd.org) Received: by mail.evolve.de (OpenSMTPD) with ESMTP id 0ae2bbcf; Sun, 13 Mar 2022 17:45:49 +0000 (UTC) Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id 61d008f0 (TLSv1.3:AEAD-CHACHA20-POLY1305-SHA256:256:NO); Sun, 13 Mar 2022 17:45:45 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 (1.0) Subject: Re: epair and vnet jail loose connection. From: Michael Gmelin In-Reply-To: <797A280E-5DF2-4276-BB72-E4E1053A19FA@lists.zabbadoz.net> Date: Sun, 13 Mar 2022 18:45:44 +0100 Cc: Johan Hendriks , Kristof Provost , "Patrick M. Hausen" , freeBSD-net Message-Id: <6086BA6D-3D54-4851-B636-3B32FACB35E9@freebsd.org> References: <797A280E-5DF2-4276-BB72-E4E1053A19FA@lists.zabbadoz.net> To: "Bjoern A. Zeeb" X-Mailer: iPhone Mail (19D52) X-Rspamd-Queue-Id: 4KGnC46LBjz3wPC X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=softfail (mx1.freebsd.org: 213.239.217.29 is neither permitted nor denied by domain of grembo@freebsd.org) smtp.mailfrom=grembo@freebsd.org X-Spamd-Result: default: False [0.73 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEFALL_USER(0.00)[grembo]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; RCVD_TLS_ALL(0.00)[]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; R_SPF_SOFTFAIL(0.00)[~all:c]; RCPT_COUNT_FIVE(0.00)[5]; NEURAL_HAM_LONG(-0.02)[-0.024]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.98)[-0.977]; MID_RHS_MATCH_FROM(0.00)[]; NEURAL_HAM_MEDIUM(-0.17)[-0.173]; 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:213.239.192.0/18, country:DE]; FREEMAIL_CC(0.00)[gmail.com,freebsd.org,punkt.de]; SUSPICIOUS_RECIPS(1.50)[] X-ThisMailContainsUnwantedMimeParts: N > On 13. Mar 2022, at 18:16, Bjoern A. Zeeb = wrote: >=20 > =EF=BB=BFOn 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=3D=3D1 nothing gets stuck. >>=20 >> This perfectly fits into the picture, since, as pointed out by Johan, >> the first commit that is affected[0] is about multicore support. >=20 > Ignore my ignorance, what is the default of net.isr.maxthreads and net.isr= .bindthreads (in stable/13) these days? >=20 My tests were on CURRENT and I=E2=80=99m afk, but according to cgit[0][1], m= ax is 1 and bind is 0. Would it make sense to repeat the test with max=3D-1? 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=3Dstable%2F13#n280=