From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Performance on NFS Date: Wed, 07 Jun 2017 14:25:15 +0200 Message-ID: <8760g856j8.fsf_-_@gnu.org> References: <20170527105641.9426-1-mail@cbaines.net> <20170527123113.1ca668e7@cbaines.net> <87tw424cap.fsf@gnu.org> <87fufhkw85.fsf@gnu.org> <871sr0ok2h.fsf@gnu.org> <8760gbh2th.fsf@gnu.org> <87efuym57c.fsf@gnu.org> <878tl4f4d4.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36336) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIa1i-0001P2-EK for guix-devel@gnu.org; Wed, 07 Jun 2017 08:25:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dIa1f-0002Sk-68 for guix-devel@gnu.org; Wed, 07 Jun 2017 08:25:30 -0400 In-Reply-To: <878tl4f4d4.fsf@elephly.net> (Ricardo Wurmus's message of "Wed, 07 Jun 2017 13:01:59 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: guix-devel@gnu.org, 27097@debbugs.gnu.org Ricardo Wurmus skribis: > Roel Janssen writes: [...] >> The reason we have /gnu NFS-mounted on the build node is that we can >> then very easily replace the node when it would have a hardware failure, >> without even losing the ability to run programs that were already >> installed. > > That=E2=80=99s the same reason I have for keeping /gnu on NFS. I have be= en > experimenting with lsync (writing to local disks and then pushing > changes asynchronously from local-gnu to remote-gnu), but I wasn=E2=80=99t > convinced it would be reliable. > > I=E2=80=99m not sure if this would help, though, when the nodes keep moun= ting > /gnu over NFS. The nodes don=E2=80=99t do as much I/O the store as the daemon, so I think = it makes sense to use a local store for the node that runs guix-daemon. In general, Guix aside, building software on NFS is unavoidably slow. > Is there a way to put /gnu on a Samba share instead? I=E2=80=99d like to= give > that a try, but I=E2=80=99m not sure about what would happen to ownership= and > permissions (I don=E2=80=99t worry about hardlinks because I disabled > deduplication). I=E2=80=99m not sure if SMB is faster than NFS, is it? 9p (which Linux supports) might work well. Thanks, Ludo=E2=80=99.