From nobody Sat Sep 16 17:51:48 2023 X-Original-To: fs@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 4RnzC90Qntz4spkk for ; Sat, 16 Sep 2023 17:51:49 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RnzC86Nkvz3T3B for ; Sat, 16 Sep 2023 17:51:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694886708; a=rsa-sha256; cv=none; b=hwcf5YxZlSzlB/azAbDYx9HEgvecBS8wyWY/HrkLgOSxw2ps1Kcebv5nxiBl571HSLccyg 9/XwSU9YB5Gi2O9k6SnEhT8xN/mgyh6IxHUqxonQ0NR6Tx6yBwJtO+hpPacpwy1nFY/0t3 IjzifIiG4FdqjsVDnz/y0Zzf7NFBAGfRJzK0NxLWZbKo7Lbouva3fEbHX8Rc1cLSW5w1xJ TH4M78yFH1MbJvnbXIkVIh9dYWTtQbEoKFO5IrKuqPbZPr0KUUUU/19P5DX7hTpOPT9boJ F+GpizLLRhuzn+8nZg0sJvrx5wFkAj8XFD6YlkL3veja0KLDGu2fxw18/p9+JA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694886708; 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=tX4UCB2UeTCGt7QIZumSw58RSsZ2MGxPPGkEYYAGxm4=; b=lbcNy1PJB0HCSl0Dlkfp9OI0gwJ+2NFIzSI9yJHIKpZBVtJCXaB8GmS8C/ynoM0MpEPJ7I TbDBTnAzcJVXmHGDqLfoNh9PAxNGZdih78HELF0B7kel5R1mzGfMitv5tI2PYuwjX2KARp JWUrWST5PVcGVLZucdOY3/mwR9C7/aCDOXHiDNNnmUEnyvKOTxtOkiTz0JeKJTzhCgoVir 8Qa+djksy+4Po/5F7CNCyDOFPv85paiMZDbGhbJGpPps5/z0FkCAfokQt1JipgjN7PABTs SZfz31Pj2rMNSOmmb7GOA2UdIN8tRG17Pk/f/LnB24pwtFm7RL1q36MTxjLaXg== 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 4RnzC85Sdvz1rp for ; Sat, 16 Sep 2023 17:51:48 +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 38GHpmmg075298 for ; Sat, 16 Sep 2023 17:51:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38GHpmQ4075297 for fs@FreeBSD.org; Sat, 16 Sep 2023 17:51:48 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: fs@FreeBSD.org Subject: [Bug 267631] slow nfs from FreeBSD guest/client to linux host/server Date: Sat, 16 Sep 2023 17:51:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: performance X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: vvd@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267631 --- Comment #3 from Vladimir Druzenko --- BTW, man page mount_nfs says that 4 is max value and 0 is allowed: readahead=3D=E2=9F=A8value=E2=9F=A9 Set the read-ahead count to the specified value. This may be in the range of 0 - 4, and determines how many blocks will be read ahead when a large file is being r= ead sequentially. Trying a value greater than 1 for this = is suggested for mounts with a large bandwidth * delay product. With value 0 mount_nfs print error message and exit. And max value is 16 no= w, not 4. IMHO, better to increase this value for at least 128 (or even 1024 to "cove= r" more than 10GE). I can't test patches to kernel often: I have 2 hosts with 10GE and both are= in production. One more question to fs@: is it possible to set default readahead on server side? P.S. This may be a topic for another PR, but maybe I'll create one later if someone from fs@ asks for it. --=20 You are receiving this mail because: You are the assignee for the bug.=