[gpfsug-discuss] Compression question

Cregan, Bob b.cregan at imperial.ac.uk
Thu Nov 28 10:05:23 GMT 2019


Just to clarify this is SS compression, so

mmchattr --compression yes <filename>

or an ILM equivalent

So not a regular modification.

Bob



Bob Cregan
HPC Systems Analyst

Information & Communication Technologies

Imperial College London,
South Kensington Campus London, SW7 2AZ
T: 07712388129
E: b.cregan at imperial.ac.uk

W: www.imperial.ac.uk/ict/rcs<http://www.imperial.ac.uk/ict/rcs>

[1505984389175_twitter.png] @imperialRCS @imperialRSE

[1505983882959_Imperial-RCS.png]


________________________________
From: Cregan, Bob
Sent: 28 November 2019 09:43
To: gpfsug main discussion list <gpfsug-discuss at spectrumscale.org>
Subject: Compression question

Hi All,
           Can someone answer the following question on compression in a snapshot context? We have tried various experiments and they are inconclusive - too tedious to go into the detail.

What happens to the snapshot when a file is compressed in SS? The logic as I see it is

####### In a non compressed situation ###############

1) create a file,
2) create a snapshot.
3) modify a file in a normal way - the blocks on disk are changed and the old blocks are then written to the snap.


######In a compressed situation ############


1) create a file,
2) create a snapshot.
3) Compress the file. Now IBM says the blocks are rewritten when the file is compressed. So do the old uncompressed blocks go into the snap? If so we now have 2 copies of the file and unless the compression > 50%  we have used more space until the snap is deleted.

You get the space back in the end, but if you are in a tight situation then potentially compression might not work for you in the short term.

Thanks

Bob


Bob Cregan
HPC Systems Analyst

Information & Communication Technologies

Imperial College London,
South Kensington Campus London, SW7 2AZ
T: 07712388129
E: b.cregan at imperial.ac.uk

W: www.imperial.ac.uk/ict/rcs<http://www.imperial.ac.uk/ict/rcs>

[1505984389175_twitter.png] @imperialRCS @imperialRSE

[1505983882959_Imperial-RCS.png]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20191128/1e7a94cc/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-1505984389.png
Type: image/png
Size: 1641 bytes
Desc: Outlook-1505984389.png
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20191128/1e7a94cc/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-1505983882.png
Type: image/png
Size: 17519 bytes
Desc: Outlook-1505983882.png
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20191128/1e7a94cc/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-1505984389.png
Type: image/png
Size: 1641 bytes
Desc: Outlook-1505984389.png
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20191128/1e7a94cc/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-1505983882.png
Type: image/png
Size: 17519 bytes
Desc: Outlook-1505983882.png
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20191128/1e7a94cc/attachment-0011.png>


More information about the gpfsug-discuss mailing list