From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Using a shared Guix store (was RE: [Bio-packaging] testing out guix) Date: Wed, 8 Jul 2015 21:43:55 +0200 Message-ID: <87r3oiigec.fsf@mdc-berlin.de> References: <877fr0i0kl.fsf@mdc-berlin.de> <87616k0vvo.fsf@gnu.org> <1436383208498.32759@stowers.org> 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]:57493) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCvGM-0004rf-9S for guix-devel@gnu.org; Wed, 08 Jul 2015 15:44:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZCvGH-00062h-Ax for guix-devel@gnu.org; Wed, 08 Jul 2015 15:44:10 -0400 In-Reply-To: <1436383208498.32759@stowers.org> 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: "Cook, Malcolm" Cc: Guix-devel , 'Pjotr Prins' , "'bio-packaging@mailman.open-bio.org'" Cook, Malcolm writes: > Certainly per-user profiles must be network readable , since they wind > up on PATH. Perhaps within /gnu/guix/profiles/per-user? I have configured guix such that the $localstatedir is /gnu/var, so I only have to export /gnu. > However, if `guix` command is enabled (using ssh/pipe/??) to run in > networked environment with build and other work continuing to be > coordinated by guix-daemon, then updates to per-user profiles > similarly would need to be coordinated. For example, if a user wants > to `guix package --install somePkg-someVersion` then that package must > be protected against any "simultaneous" garbage collection. Running > the --install through the network daemon is the guix way of protecting > against such a race condition. Correct. With a shared store there must be a shared daemon. An alternative setup would be to have completely separate stores and reduce build work by using =E2=80=98guix publish=E2=80=99. Unfortunately, I have not yet been able to test a setup where the local =E2=80=98guix=E2=80=99 command talks via SSH/socat to a central guix-daem= on. (I=E2=80=99ve been trying to improve the performance in our situation where the store is located on a central file server and the daemon operates on the NFS share. This is rather slow here and could only partially be improved by disabling deduplication.) ~~ Ricardo