From nobody Thu Jun 19 11:26:30 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 4bNJGH16Sfz5yYh2 for ; Thu, 19 Jun 2025 11:26:31 +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 4bNJGG5Zldz3lHL for ; Thu, 19 Jun 2025 11:26:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1750332390; 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=I5EtSWgdDbGGzOQMM2NUuLusikamrXdYJhTJizugMSs=; b=oFwGL4RChSUZs+ggxVI3VJR/deJQmRbo0049YPHIRg/OLRhi5wN8dX36UI052oVnL5eO1h Iygd/aRvHgQh3dNzWQa5Rzp9wSZ6VGg+xKKlR1bwbB1ETJx6NKGlz9eDSKDkOhin0+LR/a xJZNoaxj/6r8bKJMvX9GZxH1b7Kg7vjduvH19cag+T0j9VV4NNXo/mHimJagFzsOCP9q3E maioBV8dGfS1RMwsd2fjPkznSuvMYKhQE5WS3uoZtOmcjv7er5hORHFtiMVygoUQRgXFXt P+Fp/pGWCEdkrGjGpPvo5c34s7lW5mOy2gDrnpvGRI5HLmXQP3kUF7zuaon4pQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1750332390; 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=I5EtSWgdDbGGzOQMM2NUuLusikamrXdYJhTJizugMSs=; b=T9yuix2iXjGWO5bX/VJpl2thKCaVIgsHgv7JXWNK3SfWj1YRbIhu2BRcSGiy+MkMGvrR5O zcGVAdpdGmYPyLIttzW2cQzFiKyH7VAiuDi3J5KNDjUgD7O0QkfRVA4z8ViA1h7MH2uZVo oUbdkD1Mke47L9rxYdlc01ySo98sgZTsrvwFchiKRCsezlEp4yBmRChCK5VdkFKPA5ydRm XwyU6ek5IIbPJ6bER6ZJ0KLHoajbe3/dp49a53GdHXxQZFcdQG83JtE7ph4E3xb+of6Dg5 VPJGTXDAECWMxsTVrP2DnhAxpZhkYHMB1lVw/M35V6BLKxGI5Fxcvn0tAQwdjQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1750332390; a=rsa-sha256; cv=none; b=X6xT2fYjvMSNhpwo/5RkcZKxHJSehA9I2opwJ0tJ8MEqrQ+adMTtm2zO/Yiz1y+nQQsi08 hVRCLGxdEhWCBTpvI6XPElsfJCbHGnaHDzn7KDUEyDgd94M6MJvVmxHt/mm9QaMneohazK gUx8pIjP9Myr4EfBY/cNqyhwpoqGjwGYFZyBj19mWu8vKb8FMh7hSQ4stDK90fXreT9RRP AHg1L0h76SiAh34DhHB2rPOVphodV2ghCDqFSum+5q2iBEEBicFh7CQMafCXQNDL+E7IAs 7uUvsou6ylIfOdWqn9AMBMUc21R5Y6SWPtxi9woLhM4wbecib4/xCWmLju0kRQ== 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 4bNJGG4lwfz1Bxc for ; Thu, 19 Jun 2025 11:26:30 +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 55JBQUIX067264 for ; Thu, 19 Jun 2025 11:26:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 55JBQUqR067263 for net@FreeBSD.org; Thu, 19 Jun 2025 11:26:30 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 287229] IP reassembly issue in FreeBSD 14.1 Date: Thu, 19 Jun 2025 11:26:30 +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: 14.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: lucas.aubard@irisa.fr X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tuexen@freebsd.org X-Bugzilla-Flags: 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=3D287229 --- Comment #15 from Lucas Aubard --- Sorry for the late reply; I was running more tests based on the information= you provided. @Timo=20 Thanks for the FreeBSD operating description when processing fragments.=20 I confirm that by commenting vm.kmem_size and vm.kmem_size_max in box bento/freebsd-14.1, the net.inet.ip.maxfragbucketsize value is now set to 7 after a reboot.=20 I also confirm observing the same reassembly across the runs for all our te= st cases. Thanks a lot for pointing out these kernel parameters. @Michael=20 Actually, I did not modify nor check the default VM settings since I observ= ed this behavior with different FreeBSD boxes. For example, the official (?) FreeBSD box freebsd/FreeBSD-14.1-STABLE has o= nly one parameter specified in /boot/loader.conf: autoboot_delay=3D"-1". I am a= lso able to observe a net.inet.ip.maxfragbucketsize value of 1 with this box (t= hat has thus not the vm.kmem_size and vm.kmem_size_max specified) in the case I= run multiple VMs in parallel. From @Rodney's comment, I guess the memory dynamically allocated to the FreeBSD VM is low because multiple VMs are running, leading to a net.inet.ip.maxfragbucketsize value of 1.=20 With the freebsd/FreeBSD-14.1-STABLE box, by manually allocating memory to = the Vagrantfile: - 512Mb gives net.inet.ip.maxfragbucketsize =3D 1. For 40 test cases tested= in parallel, I observed many reassembly inconsistencies. - 1024Mb gives net.inet.ip.maxfragbucketsize =3D 3. For 40 test cases teste= d in parallel, I observed 1 test case reassembly inconsistency (out of the 10,362 test cases). - 2048Mb gives net.inet.ip.maxfragbucketsize =3D 7. For 40 test cases teste= d in parallel, I did not observe any reassembly inconsistency. So, I should force the allocated memory to the FreeBSD box to 2048Mb when running my tests in parallel to avoid observing reassembly inconsistencies. --=20 You are receiving this mail because: You are on the CC list for the bug.=