[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: /gnu/store/.links/
From: |
Ricardo Wurmus |
Subject: |
Re: /gnu/store/.links/ |
Date: |
Fri, 09 Feb 2018 13:11:23 +0100 |
User-agent: |
mu4e 0.9.18; emacs 25.3.1 |
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.
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.
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net