Originally posted by kobblestown
View Post
Announcement
Collapse
No announcement yet.
ZFS On Linux Lands TRIM Support Ahead Of ZOL 0.8
Collapse
X
-
- Likes 1
-
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
Leave a 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.
Leave a 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.
Leave a comment:
-
Me personally, I enabled the fstrim timer on my system and it never interferred with my system's performance.
- Likes 1
Leave a comment:
-
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.
Leave a comment:
-
Originally posted by starshipeleven View PostYeah you heard that right. https://www.phoronix.com/scan.php?pa...D-ZFS-On-Linux
They are moving to become a part of the ZoL codebase because apparently some of the big names behind ZFS on Illumos (aka the "common Unix thing", which is supposedly an upstream for ZoL too but in practice it isn't that much) have announced they are migrating to Linux and ZoL for their own products.
Leave a comment:
-
Originally posted by hreindl View Postdefrag is 1980s tech
encryption belongs to the LUKS layer
zfs has checksumming
you have no clue
In any case, I strongly disagree with the <feature> belongs to the <whatever> level. Btrfs and ZFS are the actual proof to the contrary - there is a lot to gain if you merge the levels judiciously. And I'd mush prefer native encryption rather than delegating it to a lower level. At the very least, I will save the CPU time for encrypting redundancy data.
Having said that, I am a huge fan of ZFS because I cannot trust the higher RAID levels in Btrfs. Also the SSD caching in ZFS (SLOG and L2ARC) is better than any generic lower-level caching (adding to the previous point). But it's OK to acknowledge the shortcomings of a system. Much better than to be blind about them.
* I read somewhere that defragmentation and filesystem shrinking were considered outside of the scope of an enterprise filesystem because if you value your data you'll have a backup and you can always recreate your filesystem with the size and disk configuration that you want and in an unfragmented state. I don't buy this kind of reasoning - Btrfs can do both and I've used both. It's amazing what Btrfs can do. And it has saved my data at least once. It's just not as good as ZFS for my current use case.
- Likes 2
Leave a comment:
-
Originally posted by eydee View Post[...] so welcome to the party of sitting 10 minutes at a black screen just to get a chance to log in [...]
I've never been able to sit in front of a blank screen for 10 minutes.. I'm average/desktop user (no programming) and if 2 minutes has passed and the computer doesn't boot I usually think ''ok something funny software wise must have happened" or "there must be too dust on the graphic card it must be a random error (it's a 2013 Dell laptop I bought on eBay) and do an hard shutdown.
I wonder why distro didn't find a way to let the user choose when trimming is due or at least communicate to him/her: listen mate at the next boot I'm going to take a bit longer because of this and that.Last edited by horizonbrave; 30 March 2019, 08:58 PM.
Leave a comment:
Leave a comment: