Originally posted by waxhead
View Post
Announcement
Collapse
No announcement yet.
Btrfs Sees Minor Performance Optimizations With Linux 6.12
Collapse
X
-
- Likes 2
-
Originally posted by gotar View Post
Surprisingly, method #4 cannot change compression level.
The current behavior is actually not that bad and far from insane , but it is not the behavior people expect.
- Likes 1
Leave a comment:
-
Originally posted by waxhead View Post
Actually BTRFS has 4 ways of setting compression
1. in fstab with the compress=zstd:level|lzo|zlib
2. with btrfs filesystem defrag -czstd object
3. with chattr +c object
4. with btrfs property set object compression zstd
That is way too many if you ask me, and I honesty think that only number 4 is the correct way of setting, changing or clearing the desired compression setting.
- Likes 1
Leave a comment:
-
Originally posted by cynic View Post
AFICT this is not actively worked on since years, unfortunately.
Also, this is not really that simple: you have to take in consideration when you have different profiles (RAID0, 1, C3, C4, 10) on mixed devices.
Moreover, there aren't only HDD and SDD in the storage world.
Afaict there have been 3 different attempts, that got shot down. And then an excuse that it would be attempted via the VFS layer. A layered approach that lacks efficiency.
- Likes 1
Leave a comment:
-
Originally posted by ferry View PostI'd really like to see btrfs finally implement the originally promised hybrid (SSD+HDD) hot relocate feature. How hard could it be? The driver on a multi-disk FS has to decide where to place a new file anyway (on the SSD), while files of low interest (no recent read/writes) could be moved away to the HDD.
Also, this is not really that simple: you have to take in consideration when you have different profiles (RAID0, 1, C3, C4, 10) on mixed devices.
Moreover, there aren't only HDD and SDD in the storage world.
Last edited by cynic; 19 September 2024, 04:21 AM.
- Likes 1
Leave a comment:
-
Originally posted by browseria View Post
Fedora switched to BTRFS by default in Fedora 33, which was in 2020 - that's 4 years now.
OpenSUSE did it even earlier than that - in January 2018 - that's 6 years ago.
I don't know what you are talking about.
ref. https://fedoramagazine.org/btrfs-coming-to-fedora-33/
- Likes 4
Leave a comment:
-
Originally posted by waxhead View Post
Actually BTRFS has 4 ways of setting compression
1. in fstab with the compress=zstd:level|lzo|zlib
2. with btrfs filesystem defrag -czstd object
3. with chattr +c object
4. with btrfs property set object compression zstd
That is way too many if you ask me, and I honesty think that only number 4 is the correct way of setting, changing or clearing the desired compression setting.
(And yes, I know that simply setting the property is not enough and you have to read/write to apply the compression)
You can actually set different compression algorithms on different objects such as /home /var/ /usr /here /there etc...
And I think you are incorrect that using option 3 disables COW on the file. +C disables COW , +c enables compression.
The good news is that the mechanisms are there (even more, the mechanisms are better than what ZFS has). Someone just needs to invent some actually good APIs and tooling to manipulate those mechanisms instead of the existing "made by Predators for Aliens" crap. I actually have some private patches to that end, but nobody will accept them in their current form, so they stay private (until I get some free time and energy on my hands). Perhaps I should start a Patreon page...Last edited by intelfx; 18 September 2024, 08:46 PM.
- Likes 4
Leave a comment:
-
Originally posted by skeevy420 View PostIt has piss poor compression compared to OpenZFS....
1. in fstab with the compress=zstd:level|lzo|zlib
2. with btrfs filesystem defrag -czstd object
3. with chattr +c object
4. with btrfs property set object compression zstd
That is way too many if you ask me, and I honesty think that only number 4 is the correct way of setting, changing or clearing the desired compression setting.
(And yes, I know that simply setting the property is not enough and you have to read/write to apply the compression)
You can actually set different compression algorithms on different objects such as /home /var/ /usr /here /there etc...
And I think you are incorrect that using option 3 disables COW on the file. +C disables COW , +c enables compression.
- Likes 5
Leave a comment:
-
Originally posted by Gryffus View Post<rant>
CoW filesystems are wrong
</rant>
Though personally I've never used one and continue to do so.
My FS history is quite stupid really:
FAT32 -> NTFS
ext2 -> ext3 -> dabbling with XFS for a short while, it was crap in the early 00s -> back to ext4.
- Likes 3
Leave a comment:
-
I'd really like to see btrfs finally implement the originally promised hybrid (SSD+HDD) hot relocate feature. How hard could it be? The driver on a multi-disk FS has to decide where to place a new file anyway (on the SSD), while files of low interest (no recent read/writes) could be moved away to the HDD.
- Likes 1
Leave a comment:
Leave a comment: