From nobody Fri Sep 13 12:08:02 2024 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 4X4tPD02PNz5WrDL for ; Fri, 13 Sep 2024 12:08:16 +0000 (UTC) (envelope-from nonesuch@longcount.org) Received: from mail-qt1-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X4tPC1MGbz4D5l for ; Fri, 13 Sep 2024 12:08:15 +0000 (UTC) (envelope-from nonesuch@longcount.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=longcount.org header.s=google header.b=KrEA2MEy; dmarc=none; spf=pass (mx1.freebsd.org: domain of nonesuch@longcount.org designates 2607:f8b0:4864:20::82f as permitted sender) smtp.mailfrom=nonesuch@longcount.org Received: by mail-qt1-x82f.google.com with SMTP id d75a77b69052e-4581d2b0fbaso6228231cf.1 for ; Fri, 13 Sep 2024 05:08:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=longcount.org; s=google; t=1726229294; x=1726834094; darn=freebsd.org; h=to:in-reply-to:references:message-id:date:subject:mime-version:from :content-transfer-encoding:from:to:cc:subject:date:message-id :reply-to; bh=2LuxSWi2eKVAZcSMN37vYz+JPnq4HUfOQeZyR7whpGA=; b=KrEA2MEy5mWSpI7omnqYWJW53zK99gI240BAr15/Ph4oNjnK+820sWHD1y1OO/MB3R ZMUSgw5kNG5kV9E5Pu6rPz5ObLdclpy/N+zLC12MW5HCk/AhYDauuDs+ygmJXP4GhZgo /NC4LVRAJQDBU4NmyvKmxkN8sqnX7/moXvYGqAmGzCukVc3C/mtPwgAUFq6yY/4wm5lo ImDA1sdWNnB+xjFcxgJUCfKpgEkpJo60gGDweiDgcDS6Kq+QTL/kP+J8YeOOvEt/xwgh 7J5KyAGiv4XotbGZ8YamBtrDH9u+Ur9+d56HE02TSXLxdSTEZ/HGx7L+FBdynXkhbhNC gY8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726229294; x=1726834094; h=to:in-reply-to:references:message-id:date:subject:mime-version:from :content-transfer-encoding:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=2LuxSWi2eKVAZcSMN37vYz+JPnq4HUfOQeZyR7whpGA=; b=wevYnjDxCVrC4QqYMP+2OVzfQXZj76J3HLdtTTgaIBvzWIe+E5mNSuQfJFGe9UXJbW G55ImGKtfPe6a9qSMVyXfBtwc435NKRHqbzO2Ym5H4J1rZ4gdSYvyQiQH5Pw6vtv2vCt jFkmgv0zhQ/ftFK9Qzc1RvxBB8/N4sxqUl1pL0xxE72rqE0sIVSJTroTPcj6v6yXF+ch 72U6QS2gD4zsS6dbslzysepYonJxxRnqibHbEOwb8J9MbQbxphNgADccyLklGsFWO1Os B62Lq9GoFMgMTV3/GxeDgkuwDJYokq8wbU560uYb/A1dYNBYFqh19Qn+AASmnLLka1ll qUQg== X-Gm-Message-State: AOJu0YzvoxrYnsGF/bzVxsdrSuQj3rFqUbwF17QhsG/tKhJeDQrC3D9E fKGQvxqo0+vhumcIdZGkUmYqHStouEsoDNGS71fN6jXmZ89Cgu86WKsP1lTt69afi/NiRu6PPnm M3nk= X-Google-Smtp-Source: AGHT+IF51dBG2Zx0ZAojvSCmvFeNicXYzYC8c8PQ/8CvlqdBfb9IcY8ifvM1k2Sze/KzRHgRCaiEKQ== X-Received: by 2002:a05:6214:3912:b0:6c3:5f65:f9d7 with SMTP id 6a1803df08f44-6c57e11c553mr39685686d6.36.1726229293513; Fri, 13 Sep 2024 05:08:13 -0700 (PDT) Received: from smtpclient.apple (pool-68-161-195-36.nycmny.fios.verizon.net. [68.161.195.36]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6c53474d904sm65252676d6.76.2024.09.13.05.08.13 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 13 Sep 2024 05:08:13 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Mark Saad 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: Performance issues with vnet jails + epair + bridge Date: Fri, 13 Sep 2024 08:08:02 -0400 Message-Id: <39B2C95D-1E4F-4133-8923-AD305DFA9435@longcount.org> References: <20240913100938.3eac55c9fbd976fa72d58bb5@gmail.com> In-Reply-To: <20240913100938.3eac55c9fbd976fa72d58bb5@gmail.com> To: freebsd-net@freebsd.org X-Mailer: iPhone Mail (20H350) X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; R_DKIM_ALLOW(-0.20)[longcount.org:s=google]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[text/plain]; DKIM_TRACE(0.00)[longcount.org:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[longcount.org]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; APPLE_IOS_MAILER_COMMON(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TO_DN_NONE(0.00)[]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::82f:from] X-Rspamd-Queue-Id: 4X4tPC1MGbz4D5l >=20 > On Sep 13, 2024, at 5:09 AM, Sad Clouds wrot= e: >=20 > =EF=BB=BFTried both, kernel built with "options RSS" and the following > in /boot/loader.conf >=20 > net.isr.maxthreads=3D-1 > net.isr.bindthreads=3D1 > net.isr.dispatch=3Ddeferred >=20 > Not sure if there are race conditions with these implementations, but > after a few short tests, the epair_task_0 got stuck 100% on CPU and > stayed there in this state indefinitely, until I rebooted. >=20 > PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND > 0 root -64 - 0B 672K CPU0 0 6:24 100.00% kernel{e= pair_task_0} >=20 > Is RSS considered too experimental, hence not enabled by default? Sad Can you go back a bit you mentioned there is a RPi in the mix ? Some of t= he raspberries have their nic usb attached under the covers . Which will kil= l the total speed of things.=20 =20 Can you cobble together a diagram of what you have on either end ? --- Mark Saad | nonesuch@longcount.org=