From nobody Thu Oct 17 09:49:17 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 4XTjjX3Vw1z5YnKV for ; Thu, 17 Oct 2024 09:49:36 +0000 (UTC) (envelope-from void@f-m.fm) Received: from fout-a6-smtp.messagingengine.com (fout-a6-smtp.messagingengine.com [103.168.172.149]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4XTjjW5cvKz4QNG for ; Thu, 17 Oct 2024 09:49:35 +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=rxcRQpik; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=bxmotn7V; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 103.168.172.149 as permitted sender) smtp.mailfrom=void@f-m.fm; dmarc=pass (policy=none) header.from=f-m.fm Received: from phl-compute-12.internal (phl-compute-12.phl.internal [10.202.2.52]) by mailfout.phl.internal (Postfix) with ESMTP id 246471380368 for ; Thu, 17 Oct 2024 05:49:30 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-12.internal (MEProxy); Thu, 17 Oct 2024 05:49:30 -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=1729158570; x=1729244970; bh=SNJDRQSdbA 1Dbl+YgesGEkDgOk0lU45XlLboNvpDlnk=; b=rxcRQpika/cCjZSO2DXaoWTGl7 +0DwwB3p3JjTM9bAm/NtjG8qHRXF/NG7e/S4+3p/VL5yW882D4hnDaimJVcb3uXM 0mypFu8lRt5RDwDud2w+1Ie5tx+kckFMjXvSPCvS0bgWaBfDhEmLRDehsvTFhUFj FRTauSe2X99vFAedXBE0sVgBIRUTPoziTSc29wQpvRGxnGF8F9NOTTra9Alu+VSy 3tz5g6NAKGhdMZAAFcMQ61M3La797xSlLo3nZ05Psh9nDzj4AqbSOK1RHnN4PH0W rQtCRx15cRonn3PiN/0iaKo92O7Oqsp2kqZaXGWFFaT3qGBpV4OouMHvAwow== 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=1729158570; x=1729244970; bh=SNJDRQSdbA1Dbl+YgesGEkDgOk0l U45XlLboNvpDlnk=; b=bxmotn7VLFOzTiQFq+8Ha1AyxUHLnHQA9/EacTV7ddXA EA7f5vE42XeZm2zPr/Tetandywl2qzGjOiiDC+U2uInEBBuTqltMw2InqIKlHahU 9wLRBFPjoKmAwJLw0TXbOZ2rw2+D4AM+EHsE1e9U2JnquLjK8S2nJ/Qdydcc7tvs H3yvhJHNKeab0xSTsJGfbrScR1HS906MR/Y2L4bCmrWHEOXY7nfSiakw1XQOl5Ui M7qnFU1M5H61bawZqtgga9tqXk1Dy5U2JY+92JUigeTr490mAkBBQSrAnJuEn7NI Mp4z7f2lnuJH2B606rmigT/eEpDTY5L1LacMHcdN9w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdehuddgvddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuf fkfhggtggujgesthdtredttddtvdenucfhrhhomhepvhhoihguuceovhhoihgusehfqdhm rdhfmheqnecuggftrfgrthhtvghrnhepkeeluddvlefhieelfefggffhffektdehleelgf dugfdvgeekjeejuddtheehgfeunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghm pehmrghilhhfrhhomhepvhhoihgusehfqdhmrdhfmhdpnhgspghrtghpthhtohepuddpmh houggvpehsmhhtphhouhhtpdhrtghpthhtohepfhhrvggvsghsugdqnhgvthesfhhrvggv sghsugdrohhrgh X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Thu, 17 Oct 2024 05:49:29 -0400 (EDT) Date: Thu, 17 Oct 2024 10:49:17 +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_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; 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]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[103.168.172.149:from]; FREEMAIL_FROM(0.00)[f-m.fm]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_THREE(0.00)[3]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; 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]; MISSING_XM_UA(0.00)[]; RCVD_VIA_SMTP_AUTH(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: 4XTjjW5cvKz4QNG X-Spamd-Bar: --- On Thu, Oct 17, 2024 at 05:05:41AM -0400, Cheng Cui wrote: >My commit is inside the FreeBSD kernel, so you just rebuild the `kernel`, >and you don't need to rebuild the `world`. OK thanks. Would building it the same on the bhyve *host* have an effect? I'm asking because you earlier mentioned it's a vm-friendly change. I can test this if you like. I'm wondering if some changes on the host also change the vm throughput. The host is currently using rack but the kernel is older than your changes. The host has expected throughput for 1GiB ethernet right now. Everything in the tests apart from the test target had the default params for the ethernet interface, so things like TSO are enabled. How can I apply your commit into a local 14.1-p5 src tree? I think this is called 'cherry picking' but I don't really know much about git at all. It'd be interesting to test, i think. --