Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Oct 2021 04:16:43 +0200
From:      Felix Palmen <felix@palmen-it.de>
To:        freebsd-current@freebsd.org
Subject:   Writing large build logs to NFS extremely slow?
Message-ID:  <20211007021643.bwglyvrswk2nm3fl@nexus.home.palmen-it.de>

next in thread | raw e-mail | index | archive | help

--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 <https://github.com/swills/virtfs-9p-kmod>; 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  <felix@palmen-it.de>   ,.//..........
 {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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20211007021643.bwglyvrswk2nm3fl>