[Nix-dev] Please test Nix store auto-optimise

Wout Mertens wout.mertens at gmail.com
Fri Feb 13 15:49:05 CET 2015


On Fri Feb 13 2015 at 3:27:19 PM Vladimír Čunát <vcunat at gmail.com> wrote:

> On 02/13/2015 12:10 PM, Wout Mertens wrote:
> > So it's hard to say what the effect is generally, but the disk space
> > saving is definitely there. If you are worried about seek times, you
> > might want to turn on filesystem compression and run some sort of
> > defragmentation if available.
>
> I don't think compression should decrease *seek* nontrivially (but it is
> another way to save space).
>

Yeah, I was more trying to make a point about I/O in general, but if the
overall footprint is smaller and the fs has defragging it will eventually
require somewhat less seeks to read the same working set. Trivial indeed.


> Once I wondered if using reflinks instead of hardlinks might be better
> from some point of view, but it probably won't be a big difference.
>

Well, in this specific case where the entire store is Write-Once, there is
no practical difference methinks...

Wout.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150213/84d65e5b/attachment.html 


More information about the nix-dev mailing list