From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: /gnu/store/.links/ Date: Fri, 09 Feb 2018 13:11:23 +0100 Message-ID: <87d11e747o.fsf@elephly.net> References: <20180209112214.GA5316@thebird.nl> 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]:55009) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ek7Wg-00018m-AZ for guix-devel@gnu.org; Fri, 09 Feb 2018 07:11:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ek7Wb-0002J3-B7 for guix-devel@gnu.org; Fri, 09 Feb 2018 07:11:34 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21131) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ek7Wb-0002Io-3c for guix-devel@gnu.org; Fri, 09 Feb 2018 07:11:29 -0500 In-reply-to: <20180209112214.GA5316@thebird.nl> 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: Pjotr Prins Cc: Guix-devel Hi Pjotr, > What is > > ls -1 /gnu/store/.links/|wc -l > 495938 > > Never saw it before. Does this scale? It=E2=80=99s used for optional file deduplication. It is enabled by defaul= t, but you can disable it with a daemon option on file systems that deduplicate data at the block level. I don=E2=80=99t know about scalability. This number is still well below th= e 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 browser caches). I don=E2=80=99t think it=E2=80=99s necessary, though. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net