meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:fs:zfs:compression [2021/03/25 16:27] niziaklinux:fs:zfs:compression [2026/02/11 10:29] (current) niziak
Line 33: Line 33:
 cannot set property for 'rpool/data': pool and or dataset must be upgraded to set this property or value cannot set property for 'rpool/data': pool and or dataset must be upgraded to set this property or value
 </code> </code>
 +
 +OpenZFS ZSTD compression level is 3 (available range is 1-19). To change it to 9:
 +<code bash>
 +zfs set compression=zstd-9 rpool/data
 +</code>
 +
 +===== ZSTD cpu usage =====
 +
 +NOTE: it significantly increase CPU usage when writing huge amount of data (RAW movies). The best results for RAW movies is ''off'' or ''lz4''.
 +
 +For example: Yocto build LXC achieves (# 849, 865, 858, 866, 867):
 +  * ''zstd'' compressratio  1.75x / 1.99x / 1.54x / 1.41x / 1.65x)
 +  * ''lz4'' ?
 +