From: Pjotr Prins <pjotr.public12@thebird.nl>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: /gnu/store/.links/
Date: Fri, 9 Feb 2018 15:24:00 +0100 [thread overview]
Message-ID: <20180209142400.GA6348@thebird.nl> (raw)
In-Reply-To: <87d11e747o.fsf@elephly.net>
On Fri, Feb 09, 2018 at 01:11:23PM +0100, Ricardo Wurmus wrote:
>
> Hi Pjotr,
>
> > What is
> >
> > ls -1 /gnu/store/.links/|wc -l
> > 495938
> >
> > Never saw it before. Does this scale?
>
> It’s used for optional file deduplication. It is enabled by default,
> but you can disable it with a daemon option on file systems that
> deduplicate data at the block level.
Hmmm. I think this is better handled at the file system level if
people want deduplication. These systems will be more common.
> I don’t know about scalability. This number is still well below 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’s done for browser
> caches). I don’t think it’s necessary, though.
For ext4 it is going to be an issue. Anyway, we'll see what happens.
Thanks for explaining.
Pj.
next prev parent reply other threads:[~2018-02-09 14:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-09 11:22 /gnu/store/.links/ Pjotr Prins
2018-02-09 12:11 ` /gnu/store/.links/ Ricardo Wurmus
2018-02-09 14:24 ` Pjotr Prins [this message]
2018-02-09 17:00 ` /gnu/store/.links/ Ludovic Courtès
2018-02-09 17:56 ` /gnu/store/.links/ Pjotr Prins
2018-02-09 18:08 ` /gnu/store/.links/ Mark H Weaver
2018-02-09 18:23 ` /gnu/store/.links/ Leo Famulari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180209142400.GA6348@thebird.nl \
--to=pjotr.public12@thebird.nl \
--cc=guix-devel@gnu.org \
--cc=rekado@elephly.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).