On Sat, Dec 3, 2016 at 6:01 PM, Sergiusz Pawlowicz <sergi...@pawlowicz.name>
wrote:

> > You'd need to set arc to be as small as possible:
> > # cat /etc/modprobe.d/zfs-arc-max.conf
> > options zfs zfs_arc_max=67108865
>
> What is a sense of using ZFS if you don't use its cache? Non sense. it
>

- excellent integration with lxd
- data integrity verification using checksum
- thin-lvm-like space management
- send/receive
- compression
- much more mature compared to btrfs


> will work slower and less reliable than ext4.
>
>
I never said it was faster.

In general, zfs WILL be slower - to some extent - compared to ext4. Just
like ext4 (presumably with LVM and raid/mirror) will be slower compared to
writing to raw disk directly - especially if you also exclude any kind of
raid/mirror and volume manager.

To give more perspective to my particular use case, my EC2 zfsroot AMI only
use 1GB EBS thanks to lz4 compression. And that's with around 400 MB free
space. Thanks to zfs snapshot/clone, I can also use clones of my root as
containers (which is more efficient compared to LVM snapshots or overlay)

Is it a suitable solution for everyone? No.
Does it work for my use case? Yes. MUCH more so compared to ext4 or btrfs.
Will it work for Pierce's use case? I believe so.

-- 
Fajar
_______________________________________________
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to