From nobody Tue Oct 15 09:51:20 2024 X-Original-To: freebsd-hackers@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 4XSTrX0CNhz5YgZ7 for ; Tue, 15 Oct 2024 09:51:24 +0000 (UTC) (envelope-from void@f-m.fm) Received: from fhigh-b2-smtp.messagingengine.com (fhigh-b2-smtp.messagingengine.com [202.12.124.153]) (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 4XSTrW365nz4MKX for ; Tue, 15 Oct 2024 09:51:23 +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=cFfYcsOi; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=F3xW0r5I; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 202.12.124.153 as permitted sender) smtp.mailfrom=void@f-m.fm; dmarc=pass (policy=none) header.from=f-m.fm Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfhigh.stl.internal (Postfix) with ESMTP id C6DAD25400B9 for ; Tue, 15 Oct 2024 05:51:22 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Tue, 15 Oct 2024 05:51: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=1728985882; x=1729072282; bh=T8AfddVHPi iFpcW7aBA5p9+R/fBvKVeluLV+hgbGhN4=; b=cFfYcsOi2CNVw4ck3dQEa56F7S 2cjRc1KZkubUJmMqMN1VpkfVWXiulIQaWfVoCFXEz6A9+GP7Kln6wYcWfBH526om 81lPxrKVFPJZdqvlB2C/Bg2TxCI0D0Kn/OygYGm2XwytmeUJCpglwbhnUVCJZsqU sSyjFHjYpKucGkPJiguZQ7eRU6PCHjydjWzpZysR7PptLi4FN7v3nFQS6Z1qols1 cwVcKmPfp16JCZ1sQn7LJ/1VE6DrsqMoSo7SQl/xjEQwjTuhxZ4Iss/IstHYlvwB j6AJPsPU8Phy5LIms6MDCtcrSYE9eFhwhe1ilRX6TZRxEEyHV3hVwYAI0OfA== 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=1728985882; x=1729072282; bh=T8AfddVHPiiFpcW7aBA5p9+R/fBv KVeluLV+hgbGhN4=; b=F3xW0r5IqCr0MQbTwIohE+cw+Q+p04OSKlbN0rOjmvKB EMS9DXer9a0hYwqRzYVxyLsQOirw78zyKGbR0H8ZrY0wcmlsCoR1iFfUB0rMoh80 XyjR2oQWQ+zSAKI8p0NhnByfW563adwn7uTLl9JjQFdgSdJ7wuj7V19wNO9a9Ve4 rGgXwpARB2SDN2GX5RynLlUxOU16TJC/jHzGdFadxSQfll3UUZ7ATq+sP8NXjUDX 56uRLncbpZDunEi3aOkQJqB92zChyVMYJqjcDmENJDRuJ8T1j1wWWazOSO4dB/xO OtcWF4/0O3aOD9YtmQXJuCmXS+H0QJlS0bmwb9UWOw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdegjedgvdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuf fkfhggtggujgesthdtredttddtvdenucfhrhhomhepvhhoihguuceovhhoihgusehfqdhm rdhfmheqnecuggftrfgrthhtvghrnheptdfhheeuteejudffkefhtdfhfeekgedtvdeite evgfejtdfgfeffhfeuieeltdeinecuffhomhgrihhnpehfrhgvvggsshgurdhorhhgnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepvhhoihguse hfqdhmrdhfmhdpnhgspghrtghpthhtohepuddpmhhouggvpehsmhhtphhouhhtpdhrtghp thhtohepfhhrvggvsghsugdqhhgrtghkvghrshesfhhrvggvsghsugdrohhrgh X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Tue, 15 Oct 2024 05:51:22 -0400 (EDT) Date: Tue, 15 Oct 2024 10:51:20 +0100 From: void To: freebsd-hackers@freebsd.org Subject: Re: polling interval Message-ID: Mail-Followup-To: freebsd-hackers@freebsd.org References: List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@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.49 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; NEURAL_HAM_MEDIUM(-0.99)[-0.993]; 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:202.12.124.128/27:c]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_THREE(0.00)[3]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; FREEMAIL_FROM(0.00)[f-m.fm]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; MISSING_XM_UA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[202.12.124.153:from] X-Rspamd-Queue-Id: 4XSTrW365nz4MKX X-Spamd-Bar: --- On Tue, Oct 15, 2024 at 07:57:07AM +0200, Stefan Bethke wrote: >But it's not the buggy acceleration that virtio-net tries? I've turned off all offloading on my interfaces, as I was getting strange connectivity problems when it was enabled. Disabled is the default for OPNsense and many other appliances. See for example https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=165059. Thanks for this. I ran a tcpdump on the iperf3 'server' and not until I had turned off all offloading completely - in vtnet0 in the vm, bge0 on the bhyve server, and em0 on the iperf3 target, only then did incorrect checksums disappear. The bandwidth as measured with iperf3 seems to have decreased though. But the effective bandwidth, I'd guess, has gone up because there's no more reported checksum errors as measured at the target. - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-60.06 sec 4.46 GBytes 637 Mbits/sec 1326 sender [ 5] 0.00-60.07 sec 4.45 GBytes 637 Mbits/sec receiver I'll next try setting kern.hz to -1 --