Originally posted by starshipeleven
View Post
As for the "what interfaces the kernel provides", consider that btrfs is also pretty self-contained (does not rely on mdadm, lvm, and company), it asks only the most basic kernel interfaces.
This makes porting it in the same ballpark than porting ZFS on linux. Annoying but NOT ANYWHERE NEAR making something similar from scratch.
This makes porting it in the same ballpark than porting ZFS on linux. Annoying but NOT ANYWHERE NEAR making something similar from scratch.
IMHO, the massive layer violating nature of btrfs means that it has to tailor itself to linux-isms, rather than the well defined (even if not unchanging) system internal interfaces.
ZFS, aiui, was a very special case. It was written with a compatibility layer (http://open-zfs.org/wiki/Platform_co...0on.C2.A0Linux) for, at least, a large amount of its code. I THINK this is why zfs, on linux, doesn't have a reclaimable page cache.
A better example would be to look at the recent, partial, btrfs port to the window's environment. I haven't looked at that, at all, but how they managed that would be very demonstrative of the difficulties.
On FreeNAS forums the standard is "don't go lower than 8GB as it can be hazardous" (this on a Unix system), better if more. And this ram isn't cache. It's used by the filesystem. Also in the official site http://www.freenas.org/hardware-requirements/
Also, unless you have at least a 2-disk array you aren't using most of ZFS features (checksums can detect corruption but there isn't any redundancy to fix it), this is true also for btrfs, although with btrfs there is the "make a raid1 inside the same partition" option, which is a bit masochistic but would work.
Also, unless you have at least a 2-disk array you aren't using most of ZFS features (checksums can detect corruption but there isn't any redundancy to fix it), this is true also for btrfs, although with btrfs there is the "make a raid1 inside the same partition" option, which is a bit masochistic but would work.
As for making best use of zfs, I won't argue any of that. Btrfs, however, can save multiple copies of a data block on single device (using -d dup when making the fs).
Current CoW filesystems are not suited for anything that isn't a server, ok with that.
For "embedded" we need to make a difference, mobile devices are increasingly getting in collision with PC userbase (also for Apple, remember Cook saying their iPad Pro shoud replace PCs?), so in a near-ish future it might.
Although the trend I'm seeing is more Google-ish, "providing devices with low storage and offering large cloud storage services", which isn't even bad (if you have a decent Internet connection), as handling RAIDs, making backups, and doing other kinds of shit is beyond the average user's skill level anyway.
Data in the cloud is much less hard to lose from the common accidents that I see people lose data from (malware, hardware failure, idiots installing Linux wrong).
For "embedded" we need to make a difference, mobile devices are increasingly getting in collision with PC userbase (also for Apple, remember Cook saying their iPad Pro shoud replace PCs?), so in a near-ish future it might.
Although the trend I'm seeing is more Google-ish, "providing devices with low storage and offering large cloud storage services", which isn't even bad (if you have a decent Internet connection), as handling RAIDs, making backups, and doing other kinds of shit is beyond the average user's skill level anyway.
Data in the cloud is much less hard to lose from the common accidents that I see people lose data from (malware, hardware failure, idiots installing Linux wrong).
The ipad pro, and the various surface products, are good examples of convergent devices (the surface, though, is REALLY just a laptop with a detachable keyboard). I have to imagine that apfs (or whatever it's called) had something like the ipad pro in mind. Smaller devices, like phones, especially iphones, have relatively simple requirements, but once you start using heavy local apps with multitasking and large working sets, you start to need a more expansive set of features.
I also agree with your assessment of our cloud-based future. That's largely why I think that btrfs is simply here too late. The future,imho, are these clustering filesystems (ceph, iirc, has even expressed scalability concerns with the vfs/io interface) which store/distribute/checksum our data in the cloud, and scale across datacenters.
EDIT:
I just read your post above. I'm surprised they only started this in 2014, but zfs, with its far larger feature set, took only a year or two longer.
I suppose this shows that if you have a DEDICATED (only working on this on thing) group (some number between two and much more, but small enough that everyone knows what everyone else is doing) of developers, you can make something as subtle as a new, non-trivial, fs in pretty short order.
I still hope something comes of bcachefs

Leave a comment: