From nobody Tue Oct 15 03:12:20 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 4XSK0700hXz5Nlg7 for ; Tue, 15 Oct 2024 03:12:23 +0000 (UTC) (envelope-from void@f-m.fm) Received: from fout-a4-smtp.messagingengine.com (fout-a4-smtp.messagingengine.com [103.168.172.147]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4XSK063Jzxz4WWs for ; Tue, 15 Oct 2024 03:12:22 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm2 header.b=QG19xLz6; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=pe5PVqiR; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 103.168.172.147 as permitted sender) smtp.mailfrom=void@f-m.fm; dmarc=pass (policy=none) header.from=f-m.fm Received: from phl-compute-03.internal (phl-compute-03.phl.internal [10.202.2.43]) by mailfout.phl.internal (Postfix) with ESMTP id 51974138069A for ; Mon, 14 Oct 2024 23:12:22 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-03.internal (MEProxy); Mon, 14 Oct 2024 23:12:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1728961942; x=1729048342; bh=5AOOYWq/Py Zkp1tcBPCEhrZhASCfFINJ2Pnm2SVSm3A=; b=QG19xLz6Peb3JOEH3sAxOgBflE kS0Pcymz8QhMhcfvbnME0ZrBfsqhhvafYalEm2+90Gj2BviWW/oT+prJ1xEQa/E6 RZXyM6BtHy5nlyKJ/Fhztj86+52lkbzhfVrlSwlfhXQvdo0ncQAYGSpJUrhJ4GBx qbmu/K83uACxXTedZFQ/OdDfezbjTIWFFaw148Ajpke9y3T8Ft8ZdEMbWLTGSX/5 sxcyRXLwx7o9TVKV2OZXWCu38NGht2Ms7pavIy7BqtKnGR9iFEX/NcrHv4zQ2Qzc ePk2ENoQhLLxHWtSPe2sussCgyFc1iRta6/vp4jP5N2g28upib07YiygMxEw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1728961942; x=1729048342; bh=5AOOYWq/PyZkp1tcBPCEhrZhASCf FINJ2Pnm2SVSm3A=; b=pe5PVqiRZc/9Kc+yolVH1DaM45nKRo2QFZngL2TYaX7u Xqlohsykh7VIJSPhPNWD3LcVy20UCl33CS9qIKxGCAR3FhtiD5d+NTyTwC28ZL37 UJM82DcfKemZB3vJxQOXPc3BEkv86Ujk7h4FZXJn0lOihv08yNWKc78Rx3syOkER llzlaMsgVSw9+rVTiFrRdKkf8PPNcZjWRxGahvmlVH3RISxRXHQCWrdjxCU++YoU nlYlKENyY9fsLrxOqJBnkxo4ACPiUlisFJEYcnyBjTzfyO4St/rKEQfKsAZ/gsb4 Mm4rGTnPSV2SxOitgH8aDx0yFa6AYKbnAe3ekYf3Xg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdegiedgieelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuf fkfhggtggujgesthdtredttddtvdenucfhrhhomhepvhhoihguuceovhhoihgusehfqdhm rdhfmheqnecuggftrfgrthhtvghrnhepkeeluddvlefhieelfefggffhffektdehleelgf dugfdvgeekjeejuddtheehgfeunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghm pehmrghilhhfrhhomhepvhhoihgusehfqdhmrdhfmhdpnhgspghrtghpthhtohepuddpmh houggvpehsmhhtphhouhhtpdhrtghpthhtohepfhhrvggvsghsugdqnhgvthesfhhrvggv sghsugdrohhrgh X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 14 Oct 2024 23:12:21 -0400 (EDT) Date: Tue, 15 Oct 2024 04:12:20 +0100 From: void To: freebsd-net@freebsd.org Subject: Re: Performance issues with vnet jails + epair + bridge Message-ID: References: <20240912181618.7895d10ad5ff2ebae9883192@gmail.com> 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=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-3.60 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; MID_RHS_NOT_FQDN(0.50)[]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm2,messagingengine.com:s=fm2]; R_SPF_ALLOW(-0.20)[+ip4:103.168.172.128/27:c]; RCVD_IN_DNSWL_LOW(-0.10)[103.168.172.147:from]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[f-m.fm]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[103.168.172.147:from]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:209242, ipnet:103.168.172.0/24, country:US]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim] X-Rspamd-Queue-Id: 4XSK063Jzxz4WWs X-Spamd-Bar: --- On Tue, Oct 15, 2024 at 03:48:56AM +0100, void wrote: (snip) main-n272915-c87b3f0006be GENERIC-NODEBUG with tcp_rack_load="YES" in /boot/loader.conf and in /etc/sysctl.conf: # # network net.inet.tcp.functions_default=rack net.pf.request_maxcount=400000 net.local.stream.recvspace=65536 net.local.stream.sendspace=65536 kern.ipc.somaxconn=8192 kern.ipc.maxsockbuf=4737024 # gets [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-60.08 sec 5.06 GBytes 724 Mbits/sec 428 sender [ 5] 0.00-60.08 sec 5.06 GBytes 724 Mbits/sec receiver in iperf3 testing (iperf3 --time 60) which is nearly 77% of the bitrate result on hardware. --