public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* Maybe we can set default zstd compression level to 1 when SSD detected?
@ 2025-04-13  4:07 Integral
  2025-04-16 10:06 ` David Sterba
  0 siblings, 1 reply; 3+ messages in thread
From: Integral @ 2025-04-13  4:07 UTC (permalink / raw)
  To: Chris Mason, Josef Bacik, David Sterba; +Cc: linux-btrfs, linux-kernel

Hi,


When SSD is detected, maybe we can set default zstd compression level to 1.


Current default compression level for zstd is 3, which is not optimal 
for SSDs.

This GitHub Gist [1] can serve as a reference.


An example is Fedora Workstation [2], which uses `zstd:1` as default

compression option.


[1] Link: 
https://gist.github.com/braindevices/fde49c6a8f6b9aaf563fb977562aafec

[2] Link: https://fedoraproject.org/wiki/Changes/BtrfsTransparentCompression


Sincerely,

Integral


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-04-20  6:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-13  4:07 Maybe we can set default zstd compression level to 1 when SSD detected? Integral
2025-04-16 10:06 ` David Sterba
2025-04-20  6:01   ` Neal Gompa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox