From nobody Sat Oct 9 23:11:41 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 CE6EF12D4153 for ; Sat, 9 Oct 2021 23:12:03 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HRgmz0wTRz3FGg for ; Sat, 9 Oct 2021 23:12:03 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: by mail-ed1-x52a.google.com with SMTP id t16so29086879eds.9 for ; Sat, 09 Oct 2021 16:12:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=49Ji+d3oha8QqoJi59xu/klzo0zimBiPCLzH/DKayis=; b=iFYagCa5C9TbwHWIufyMaS5q6lMUxsmheWVy+4h0xlyz/nK0eXUZSS7bd4IyHc467b gbWS9tbtcmsOgUCKp1v21Y3JxxHSuTZCnWJQJK6cgXUZVk/IBYZJVvNipSku70Ao7jt5 rRNCS8/o8WIXKVdSNd+FupMjcUmRdJivhAfvF0bXuemTYL1saUWvCZQ2TGxb3veWAX0H UjYBRhtVqVug4ZLcyeBCGBm7iRTBv4rKJcn2aNqFM5Ipw0Cv5O5hc81mzCmhqqn4d0uW fCvkfGNZIQ+iH/PJnV6S9GHAfx7S8oL5/M8S9heQn7E6XJPEmXjV2ZlT5PJGXSZUkdaz +8bA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=49Ji+d3oha8QqoJi59xu/klzo0zimBiPCLzH/DKayis=; b=J8yaaiusnwsg42VGupO1x8r3afES03Jq2uQtP5CkgofT/yzSUV1xcnzTE5C0DC8Hp5 zV9wAZk0SzQIOss/JT/O3yvIcUCL0VOexp595Y+Q/OjA5gEdCLXtxa8oGZrRzlAsAjvs zMyRSDBcUqnpqsQoC8gUavCArXBkT7U/9vEAPtS6jBQdf2AjJTgVfzhnJ2WvyPxHVTx0 ISz7fdAMNTLyM+PuLn2gF6as4OHEVPtKfRBojCT2VOELgIaRzEJbmRSuQmSeI0EOPbPn yr/x8ANh+3FaJTD9OcKWigGHSP0tMCKEu9DtHBRtq7LPrXg19yzejke2ORA3CasAQrnS i5AA== X-Gm-Message-State: AOAM530QWwGK5BEz4CQlBSfnR4R721mxkKEAyzY1FNV26ITz4Mc4nniz PHWNcAxkCY7ni8klwvF69yuZo/hxqcvlCFhE5G+6GKA= X-Google-Smtp-Source: ABdhPJxNqaJpnsIRno2XiXn5yJcFsfXcDwfkOSrCmvmAqqYTIbxxOcD0wNjhm5tI62581lwWoaSaE7RZaN5BnTkq/sQ= X-Received: by 2002:a05:6402:5c2:: with SMTP id n2mr27596122edx.239.1633821114860; Sat, 09 Oct 2021 16:11:54 -0700 (PDT) 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 References: <20211007021643.bwglyvrswk2nm3fl@nexus.home.palmen-it.de> In-Reply-To: <20211007021643.bwglyvrswk2nm3fl@nexus.home.palmen-it.de> From: Zaphod Beeblebrox Date: Sat, 9 Oct 2021 19:11:41 -0400 Message-ID: Subject: Re: Writing large build logs to NFS extremely slow? To: freebsd-current Content-Type: multipart/alternative; boundary="0000000000002d878e05cdf39f94" X-Rspamd-Queue-Id: 4HRgmz0wTRz3FGg X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=iFYagCa5; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of zbeeble@gmail.com designates 2a00:1450:4864:20::52a as permitted sender) smtp.mailfrom=zbeeble@gmail.com X-Spamd-Result: default: False [-1.71 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; URI_COUNT_ODD(1.00)[1]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.88)[-0.884]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.83)[-0.826]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::52a:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: Y --0000000000002d878e05cdf39f94 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Is the NFS mounted filesystem NFS? I've found NFS mounted ZFS has several pathologies like this when there is no SSD cache and/or log vdevs attached. On Wed, Oct 6, 2021 at 10:18 PM Felix Palmen wrote: > 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 > > -- > 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 > --0000000000002d878e05cdf39f94--