[Bug 1629118] Re: lxd init should set compression=lz4 on ZFS

2016-10-03 Thread Richard Laager
I see that you're only setting compression=on as part of zpool create,
so this only applies when lxd creates the pool. I think that's a
reasonable decision (figuring that if the admin created the pool,
they've already made a policy decision on compression).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1629118

Title:
  lxd init should set compression=lz4 on ZFS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1629118/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1629118] Re: lxd init should set compression=lz4 on ZFS

2016-09-29 Thread Richard Laager
Right, because these are *containers*, so it's a filesystem tree, not a
single device. I'm so used to full VMs.

So this all sounds great and fixed. Sorry for the noise!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1629118

Title:
  lxd init should set compression=lz4 on ZFS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1629118/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1629118] Re: lxd init should set compression=lz4 on ZFS

2016-09-29 Thread Stéphane Graber
LXD itself doesn't care about the atime, though we could potentially use
it to reduce overhead to figure out the last time some resource was used
(rather than track in our database).

But where it matters is for the container itself. Some workloads do care
about atime, such as file servers, file indexing services, some
databases, ... and we have no idea what the user is going to use the
container for, so just turning it off isn't really an option.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1629118

Title:
  lxd init should set compression=lz4 on ZFS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1629118/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1629118] Re: lxd init should set compression=lz4 on ZFS

2016-09-29 Thread Richard Laager
I'm not sure how the workload is a factor. Is there ever a case where
lxd needs the atime value for these files?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1629118

Title:
  lxd init should set compression=lz4 on ZFS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1629118/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1629118] Re: lxd init should set compression=lz4 on ZFS

2016-09-29 Thread Stéphane Graber
We did not disable atime. We'd rather people opt into that if they know
it's fine for their workloads.

It's really just a matter of them setting "zfs set atime=off " at
any point in time, whereas compression makes sense to do right from the
start.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1629118

Title:
  lxd init should set compression=lz4 on ZFS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1629118/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1629118] Re: lxd init should set compression=lz4 on ZFS

2016-09-29 Thread Richard Laager
Cool. You disabling atime too, or don't you want to?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1629118

Title:
  lxd init should set compression=lz4 on ZFS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1629118/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1629118] Re: lxd init should set compression=lz4 on ZFS

2016-09-29 Thread Stéphane Graber
As of LXD 2.3, we do enable compression.

** Changed in: lxd (Ubuntu)
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1629118

Title:
  lxd init should set compression=lz4 on ZFS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1629118/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs