From nobody Mon Feb 10 09:41:01 2025 X-Original-To: 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 4Ys02N6P7cz5nf2X for ; Mon, 10 Feb 2025 09:41:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ys02N5Bjbz3y0p for ; Mon, 10 Feb 2025 09:41:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739180476; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qVhTzlq8stkAJRdM77GQGBMypqS9nyIayA6tDOA66VM=; b=tbgA09ZFzTfDjfkotAdJRXDpVoi+6ic91m0AocuoOYhgHQnP5GrSyCEqI3nB+SEI10PxnA kYE2CsnO4UytylT7Mhm+Ur4Gz9ckAYqJC3Hi+wzd1l838O8ML2tjsQH7HOVV+9T9POchWF vED6tIw0CtycswFGrn+n4tfTPzyeG1ldrcHbUP+DSM4qJlf1coL6gD93EUi11GMc7MaVTT oA3Dpxwqb7JrM7lenrI3c+h5Eys+f10tWG5/Sl+9J1fDff9cRhcSwty9agnWm/JF5mzRce btnuy9FDtqLtUBYgGp2jV+wuT7ffTwOmjoRlm4HE+ku+hm4mAKa1yddAFwu+ZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739180476; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qVhTzlq8stkAJRdM77GQGBMypqS9nyIayA6tDOA66VM=; b=nzvyTxvQZ53VtRjBhiww8CquOqDQKgHaar9tS233/mgRWCDQTYBsz6zhm6NlN0vYFzXuuB xaChdh9ygq5pI2lXkry+/hbL+hmeOxDRSS3S0oQ49Dn54izX9KdOVtUN2jw4LnnYgAuxOa 0ipVpnCaA9HrI1wbFCOdhnveiJE/esui37nILEplJBfK+nf0btoLFSrD0J3g8pFyQQi6p/ 6mW+ddC7etWVCJpNMhGoXJcTpOYsDiBEANdJWsqGi4qvoB2xEx4IfTummuT27DcXk74yPq 9EfwazyC7XoB296z0lFRV1fqBgB9XML8eXIcIhIMBY5Xe4nTMPbRNC+WzkNO6w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739180476; a=rsa-sha256; cv=none; b=UKo0tx4XcGw2uNmPkWbLGAfXz/zs2+ntN/N2CgtbtQ0QYLYYmF/ZovB/nmNaM7ajKHMBX/ Q/47D8rJF8HtHgoDQBS3MoQ8w/ge8OjKl/HMS7dVNFpo3J3BM1slNvfUkgWysoKueNnlCy 40kdPxaFGM6NM9CizKA0opITluqoYTv8bm7DsKBJGfmPekeRtht2mU2W/2gIkDvh/PDoGX XLKxN9VYqUWemCTLCxJqQcQsTK3GowOB+p4CF5YXak44u9jT+9TfM/DIO9Po6IeBoSlc5+ LYK4r0a8QExDSwciZN27cbGwun+qQc3ZcPNDsVLGUZ+9W2gjU3HK5MdaCI9mjg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Ys02N4lMgz65x for ; Mon, 10 Feb 2025 09:41:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 51A9fGaL085129 for ; Mon, 10 Feb 2025 09:41:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 51A9fGdx085128 for net@FreeBSD.org; Mon, 10 Feb 2025 09:41:16 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 165059] vtnet(4): Networking breaks with a router using virtio net driver on KVM host Date: Mon, 10 Feb 2025 09:41:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 9.0-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: thj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D165059 --- Comment #40 from Tom Jones --- Some extra info from demido via irc https://termbin.com/et91 is my wireguard setup that works (but has tiny throughput down to wg client) including iperf tests from wg client to wg se= rver over tunnel, wg client to wg server over inet, and wg server to wg client o= ver tunnel. https://termbin.com/07dl is networking info on wg client. FIXED: i isolated the 'solution' to being adding 'hw.vtnet.csum_disable=3D"1"' to /boot/loader.conf. nothing else needed, and download speed of freebsd (and debian) install isos from wg client became nearly as fast as wg server. this seems related but separate from similar suggestions of disabling tso and lr= o as i /only/ needed to disable csum. keywords: nat, checksum, vtnet. related bugs:=20 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235607,=20 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263229,=20 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D165059, https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259249,=20 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D170081=20 other links:=20 https://lists.freebsd.org/pipermail/freebsd-questions/2021-January/292565.h= tml, https://forums.freebsd.org/threads/wireguard-vpn-slow-speed.73490/page-2#po= st-584231, https://sourceopen.com/index.php/howto-fix-slow-networking-with-a-wireguard= -server-in-a-freebsd-jail-on-a-vps-and-slow-downloads-in-a-jail-on-a-vps/,= =20 https://forums.freebsd.org/threads/nat-low-speed-outside-of-local-subnet.49= 498/,=20 https://serverfault.com/questions/817664/slow-network-fixed-adding-hw-vtnet= -csum-disable-1-what-are-the-posible-side-effe,=20 https://imil.net/blog/posts/2019/freebsd-networking-issues-disable-offloadi= ng-and-checksum/, https://www.mail-archive.com/freebsd-jail@freebsd.org/msg03651.html, more https://search.brave.com/search?q=3Dfreebsd+nat+vtnet+disable+checksum --=20 You are receiving this mail because: You are on the CC list for the bug.=