From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: /gnu/store/.links/ Date: Fri, 09 Feb 2018 13:08:14 -0500 Message-ID: <87r2puc9yp.fsf@netris.org> References: <20180209112214.GA5316@thebird.nl> <87d11e747o.fsf@elephly.net> <20180209142400.GA6348@thebird.nl> <87372ayu7h.fsf@gnu.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]:33599) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekD6X-00033T-Tk for guix-devel@gnu.org; Fri, 09 Feb 2018 13:08:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekD6U-0001AM-K6 for guix-devel@gnu.org; Fri, 09 Feb 2018 13:08:57 -0500 In-Reply-To: <87372ayu7h.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 09 Feb 2018 18:00:02 +0100") 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: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: Guix-devel ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Pjotr Prins skribis: > >> On Fri, Feb 09, 2018 at 01:11:23PM +0100, Ricardo Wurmus wrote: > > [...] > >>> I don=E2=80=99t know about scalability. This number is still well belo= w the >>> limits of ext4 file systems, but accessing a big directory listing like >>> that can be slow. I would feel a little better about this if we split >>> it up into different prefix directories (like it=E2=80=99s done for bro= wser >>> caches). I don=E2=80=99t think it=E2=80=99s necessary, though. >> >> For ext4 it is going to be an issue. Anyway, we'll see what happens. > > In practice, when the maximum number of links is reached, we simply > transparently skip deduplication. Ideally, we should at some point change the daemon to break /gnu/store/.links up into several subdirectories, as is done for log files in /var/log/guix/drvs. The main complication is dealing with the transition between the old layout and the new. Mark