Originally posted by starshipeleven
View Post
Announcement
Collapse
No announcement yet.
ZFS On Linux Lands TRIM Support Ahead Of ZOL 0.8
Collapse
X
-
Originally posted by Raka555 View Post
Systemd's claim to fame was that it will make bootup faster ...
Originally posted by Raka555 View PostNow doing another thing it should not be doing.
Comment
-
Comment
-
Me personally, I enabled the fstrim timer on my system and it never interferred with my system's performance.
- Likes 1
Comment
-
Originally posted by ypnos View Post
The person I quoted was trying to smear systemd with this "issue". The package you are refering to in your quote needs the user/admin to explicitely enable the functionality (like all arch packages). If other distros like Ubuntu ship this and enable it by default, it is an issue of Ubuntu, and Ubuntu alone, and not Systemd. This is what I tried to communicate.
Me personally, I enabled the fstrim timer on my system and it never interferred with my system's performance.
You know, I can't say that I'd blame Ubuntu for having a hardcore setup by default if that actually is the case here. I'd rather have a noob level distro enable safeguards by default versus relying on the end user to even know about said safeguards to enable them.
Comment
-
Originally posted by kobblestown View PostI am sorry, but if you think fragmentation is not a problem with ZFS then you have no clue. Every write operation causes fragmentation in a COW filesystem and the tendency is for them to become heavily fragmented. Now, that may not be too much of a problem with SSDs but it is still at least a bit of a problem because SSDs also perform better with bigger sequential transactions, not random 4k IO. I consider the online defragmentation in Btrfs a major feature and it's too bad it's missing in ZFS*.
BUT fragmentation is not an actual problem for ZFS(note i use ZFS since the shinny Solaris 10 days) because ZFS allocation algorithms assume as a fact that data is always fragmented as well as metadata as well as checksum(this is where BTRFS is inferior to ZFS in my eyes and do need defrag) even if the underlying disk is actually completely sequential in practice.
Why because ZFS was never designed to run on single disks but on multiple disks on a myriad of buses and even if you get identical hard drives is extremely hard to have sequential allocation because in practice all drivers have different errors on blocks(aka in practice not 2 drives are 100% equal).
Also ZFS is extremely efficient reusing blocks instead of just keep filling empty blocks and is also really efficient locating data on parallel on RAIDs(if your data block a and b are too far away on drive 0, ZFS will simply get block a from disk 0 while getting block b from drive N) also you have several tiers of caches that can emulate sequential ism on hot data, dedup, compression.
Also remember ZFS can switch block and dnode sizes on the FLY for pools/volumes/snapshots independently which would make any non-fragmentation algorithm aware go haywire and make your I/O crawl and beg forgiveness
Sure i don't deny that in some niche cases fragmentation could be quantified on ZFS but for most cases in practice fragmentation have no real effect on ZFS that at the very least i have noticed through the years.
Caveat: 1 case i could be wrong and be in fact affected is single disk pools with copies=1 since there is no alternative drives/copies to do parallel anything and depending how old your drive is, it could be nasty.
Comment
-
Originally posted by Rallos Zek View Post
LOL not even! ZFS doesnt even have a fsck, defrag or encryption.Code:-o encryption=aes-256-gcm
- Likes 1
Comment
-
Originally posted by kobblestown View PostI am sorry, but if you think fragmentation is not a problem with ZFS then you have no clue. Every write operation causes fragmentation in a COW filesystem and the tendency is for them to become heavily fragmented. Now, that may not be too much of a problem with SSDs but it is still at least a bit of a problem because SSDs also perform better with bigger sequential transactions, not random 4k IO. I consider the online defragmentation in Btrfs a major feature and it's too bad it's missing in ZFS*.
- Likes 1
Comment
Comment