News for hackers. Stuff that matters.
Re:New tricks for XFS: support for subvolumes by vetinari on Friday March 02, 2018 @06:35AM (#16500686)
The general mix has some potential for compression.

Looking at one machine available:

* / has 2.08 compression ratio,

* /var/cache 2.15

* /var/tmp 1.0

* /home 1.02

* /srv 1.10 (few web apps, pgsql instance for these web apps, svn repo, samba shares, local prometheus store).

If your server uses spinning rust, you can also increase the I/O by using compression. You are trading the CPU time for I/O bandwidth. Depending on your workload, it may be a sensible trade-off.

Re:New tricks for XFS: support for subvolumes by fh973 on Friday March 02, 2018 @09:32AM (#16501569)
I was thinking more in terms of application data, thank you for giving me this perspective.

But still wondering: does the amount of this data really warrant compression? I mean the smallest sensible size of an SSD is around 100GB and it has lots of performance.

Re:New tricks for XFS: support for subvolumes by vetinari on Friday March 02, 2018 @10:53AM (#16502482)
In this case, the svn repos and samba shares are way over 100GB and even with classic HDDs, the machine can saturate the network and still be basically idling. No need for SSDs, classic drives were more cost effective.

The compression was just something nice to have. Lz4 in filesystem is basically for free.