From nobody Thu Oct 7 02:16:43 2021 X-Original-To: freebsd-current@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 5233412D4258 for ; Thu, 7 Oct 2021 02:16:53 +0000 (UTC) (envelope-from felix@palmen-it.de) Received: from stef.palmen-it.de (stef.palmen-it.de [IPv6:2001:470:1f0b:bbb:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4HPw1c4DJKz4h3F for ; Thu, 7 Oct 2021 02:16:52 +0000 (UTC) (envelope-from felix@palmen-it.de) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=palmen-it.de; s=20200414; h=Content-Type:MIME-Version:Message-ID:Subject:To :From:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=XjGBawym3GFWmNI5HDEjRFek3FXZ+ROjdiLgoaA4qbE=; b=dYH7kIrATZ3FilftTsSDx7vphS uXQgL+pHSMYGUj8YlVT6eE5P+ejvz4+KX2EmYH6HZolKP3xN9SR9O/2QP9OKnEXhDYHcQhZseeiCn tiTq5APo+58f1AEfj9HRh9Wex+Y/TG59HjP7ths3sJqLX7pTZNmV1YIw0tUTX9+6RJkln29Iw1YV5 MWMoNcfCqeSymGV+ST+AIgnAQLwiCLeWv37IkDDJ4nP5fw+zCtwuDs3EVvwzJAYfavB31vSNbaIcB KQ3rt0TZTN83+o5rV49LgzVG2EFBV5Kb+ROOaaw5jdfsY//FQRM9dOAWWno+mIi/6U3xL1qZI9PoO qhybqhBQ==; Received: from [192.168.71.101] (helo=mail.home.palmen-it.de) by stef.palmen-it.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mYIxh-002XSB-D9 for freebsd-current@freebsd.org; Thu, 07 Oct 2021 04:16:45 +0200 Received: from nexus.home.palmen-it.de ([192.168.99.2]) by mail.home.palmen-it.de with esmtpsa (TLS1.3) tls TLS_CHACHA20_POLY1305_SHA256 (Exim 4.94.2 (FreeBSD)) (envelope-from ) id 1mYIxh-000J7s-0Z for freebsd-current@freebsd.org; Thu, 07 Oct 2021 02:16:45 +0000 Date: Thu, 7 Oct 2021 04:16:43 +0200 From: Felix Palmen To: freebsd-current@freebsd.org Subject: Writing large build logs to NFS extremely slow? Message-ID: <20211007021643.bwglyvrswk2nm3fl@nexus.home.palmen-it.de> Mail-Followup-To: freebsd-current@freebsd.org X-Face: /1K@t"h.}e~pR@]c7HorQ!T`F^RJCa'BCr#e>IKA{>C/9OTGB4|xh"y2{?1Z5M i2w"AH^pN_LlHR^{+f',_Np~;.B;!M/bL}*qk]p5*r7F5vW};{:@4u5S?T&f0$7BJ-71Q5SV]:v$`5 A0[DZ:=?S52x8HJ~5@^P_\T@MsjG{R( Organization: palmen-it.de List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="6cllmsfym7gt7d4d" Content-Disposition: inline User-Agent: NeoMutt/20210205 X-Rspamd-Queue-Id: 4HPw1c4DJKz4h3F X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=palmen-it.de header.s=20200414 header.b=dYH7kIrA; dmarc=pass (policy=none) header.from=palmen-it.de; spf=pass (mx1.freebsd.org: domain of felix@palmen-it.de designates 2001:470:1f0b:bbb:1::1 as permitted sender) smtp.mailfrom=felix@palmen-it.de X-Spamd-Result: default: False [-6.20 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[palmen-it.de:s=20200414]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:1f0b:bbb:1::1]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MID_RHS_MATCH_FROMTLD(0.00)[]; DWL_DNSWL_LOW(-1.00)[palmen-it.de:dkim]; DKIM_TRACE(0.00)[palmen-it.de:+]; DMARC_POLICY_ALLOW(-0.50)[palmen-it.de,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_TLS_ALL(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[2001:470:1f0b:bbb:1::1:from] X-ThisMailContainsUnwantedMimeParts: N --6cllmsfym7gt7d4d Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi all, I use a -CURRENT bhyve vm for testing port builds with poudriere. As this vm is only running when needed, but I want to always have access to the build logs, I use NFS to mount /usr/local/poudriere/data/logs from the host. I noticed some few ports take ridiculously long to build while barely using any CPU time at all. On a closer look, that's all ports producing a lot of compiler (warning) output, e.g. gcc, gnutls, gtk2, =E2=80=A6 So I assume appending to a large file via NFS gets slower and slower. Is there any mount option I could try to fix this? Right now I only have `nolockd`, I also tried `noncontigwr` which didn't change anything. Thinking about alternatives to NFS, are there any news for client-side 9p virtfs? I found which still builds with a few minor adaptions, but trying to mount a 9p share freezes the machine. Would you suggest a different mailing list to ask? BR, Felix --=20 Dipl.-Inform. Felix Palmen ,.//.......... {web} http://palmen-it.de {jabber} [see email] ,//palmen-it.de {pgp public key} http://palmen-it.de/pub.txt // """"""""""" {pgp fingerprint} A891 3D55 5F2E 3A74 3965 B997 3EF2 8B0A BC02 DA2A --6cllmsfym7gt7d4d Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEqJE9VV8uOnQ5ZbmXPvKLCrwC2ioFAmFeWHQACgkQPvKLCrwC 2ipEiggAoQD5nkmj/aRlDAZGE5zhFH7jQajcsCnalr6UZZ43ioogVTVkc8K2B+Zh ZsO1SUjxFdbsWLWJbjYQUh4+XxVtkUbP1aUw3+jYgkBqk8Ftap6UDEQZPjNzvmSf yxun9k6ywOwfuCzIZtqWUDe9ZgpNQAIG9XZLu3A0cqIzVSLdHjuLDZ5B8iIMFyts E78NMiMM3Dm/Cahl/YaJFJlum/JGz5niDJtoudYl/qcfzNi1L7eOUejcuwRJu9hp JCiXh2Ni6zcyasznzKQ4kcPFMH0+a3Bj5TQiKdLO2uuU4mBiFCRf/i4RY/bJJsOm 90CrCEDWaisJ6iygHJivPMuwDb041g== =ZLQ3 -----END PGP SIGNATURE----- --6cllmsfym7gt7d4d--