Re: [linux-lvm] LVM performance vs direct dm-thin

2022-01-30 Thread Gionatan Danti
Il 2022-01-30 22:17 Demi Marie Obenour ha scritto: On Xen, the paravirtualised block backend driver (blkback) requires a block device, so file-based virtual disks are implemented with a loop device managed by the toolstack. Suggestions for improving this less-than-satisfactory situation are welc

Re: [linux-lvm] LVM performance vs direct dm-thin

2022-01-30 Thread Gionatan Danti
Il 2022-01-30 22:39 Stuart D. Gathman ha scritto: I use LVM as flexible partitions (i.e. only classic LVs, no thin pool). Classic LVs perform like partitions, literally using the same driver (device mapper) with a small number of extents, and are if anything more recoverable than partition tables

Re: [linux-lvm] LVM performance vs direct dm-thin

2022-01-30 Thread Demi Marie Obenour
On Sun, Jan 30, 2022 at 04:39:30PM -0500, Stuart D. Gathman wrote: > On Sun, 2022-01-30 at 11:45 -0500, Demi Marie Obenour wrote: > > On Sun, Jan 30, 2022 at 11:52:52AM +0100, Zdenek Kabelac wrote: > > > > > > > > Since you mentioned ZFS - you might want focus on using 'ZFS-only' > > > solution.

Re: [linux-lvm] LVM performance vs direct dm-thin

2022-01-30 Thread Stuart D. Gathman
On Sun, 2022-01-30 at 11:45 -0500, Demi Marie Obenour wrote: > On Sun, Jan 30, 2022 at 11:52:52AM +0100, Zdenek Kabelac wrote: > > > > > Since you mentioned ZFS - you might want focus on using 'ZFS-only' > > solution. > > Combining  ZFS or Btrfs with lvm2 is always going to be a painful > > way a

Re: [linux-lvm] LVM performance vs direct dm-thin

2022-01-30 Thread Demi Marie Obenour
On Sun, Jan 30, 2022 at 09:27:56PM +0100, Gionatan Danti wrote: > Il 2022-01-30 18:43 Zdenek Kabelac ha scritto: > > Chain filesystem->block_layer->filesystem->block_layer is something > > you most likely do not want to use for any well performing solution... > > But it's ok for testing... > > I s

Re: [linux-lvm] Running thin_trim before activating a thin pool

2022-01-30 Thread Gionatan Danti
Il 2022-01-30 12:18 Zdenek Kabelac ha scritto: > Thin is more oriented towards extreme speed. VDO is more about 'compression & deduplication' - so space efficiency. Combining both together is kind of harming their advantages. Unfortunately, it is the only (current) solution to have snapshotti

Re: [linux-lvm] LVM performance vs direct dm-thin

2022-01-30 Thread Gionatan Danti
Il 2022-01-30 18:43 Zdenek Kabelac ha scritto: Chain filesystem->block_layer->filesystem->block_layer is something you most likely do not want to use for any well performing solution... But it's ok for testing... I second that. Demi Marie - just a question: are you sure do you really needs a b

Re: [linux-lvm] Running thin_trim before activating a thin pool

2022-01-30 Thread Zdenek Kabelac
Dne 30. 01. 22 v 19:01 Demi Marie Obenour napsal(a): On Sun, Jan 30, 2022 at 06:56:43PM +0100, Zdenek Kabelac wrote: Dne 30. 01. 22 v 18:30 Demi Marie Obenour napsal(a): On Sun, Jan 30, 2022 at 12:18:32PM +0100, Zdenek Kabelac wrote: Then are always landing in upstream kernel once they are all

Re: [linux-lvm] Running thin_trim before activating a thin pool

2022-01-30 Thread Demi Marie Obenour
On Sun, Jan 30, 2022 at 06:56:43PM +0100, Zdenek Kabelac wrote: > Dne 30. 01. 22 v 18:30 Demi Marie Obenour napsal(a): > > On Sun, Jan 30, 2022 at 12:18:32PM +0100, Zdenek Kabelac wrote: > > > Discard of thins itself is AFAIC pretty fast - unless you have massively > > > sized thin devices with man

Re: [linux-lvm] Running thin_trim before activating a thin pool

2022-01-30 Thread Zdenek Kabelac
Dne 30. 01. 22 v 18:30 Demi Marie Obenour napsal(a): On Sun, Jan 30, 2022 at 12:18:32PM +0100, Zdenek Kabelac wrote: Dne 30. 01. 22 v 2:20 Demi Marie Obenour napsal(a): On Sat, Jan 29, 2022 at 10:40:34PM +0100, Zdenek Kabelac wrote: Dne 29. 01. 22 v 21:09 Demi Marie Obenour napsal(a): On Sat,

Re: [linux-lvm] LVM performance vs direct dm-thin

2022-01-30 Thread Zdenek Kabelac
Dne 30. 01. 22 v 17:45 Demi Marie Obenour napsal(a): On Sun, Jan 30, 2022 at 11:52:52AM +0100, Zdenek Kabelac wrote: Dne 30. 01. 22 v 1:32 Demi Marie Obenour napsal(a): On Sat, Jan 29, 2022 at 10:32:52PM +0100, Zdenek Kabelac wrote: Dne 29. 01. 22 v 21:34 Demi Marie Obenour napsal(a): How muc

Re: [linux-lvm] Running thin_trim before activating a thin pool

2022-01-30 Thread Demi Marie Obenour
On Sun, Jan 30, 2022 at 12:18:32PM +0100, Zdenek Kabelac wrote: > Dne 30. 01. 22 v 2:20 Demi Marie Obenour napsal(a): > > On Sat, Jan 29, 2022 at 10:40:34PM +0100, Zdenek Kabelac wrote: > > > Dne 29. 01. 22 v 21:09 Demi Marie Obenour napsal(a): > > > > On Sat, Jan 29, 2022 at 08:42:21PM +0100, Zden

Re: [linux-lvm] LVM performance vs direct dm-thin

2022-01-30 Thread Demi Marie Obenour
On Sun, Jan 30, 2022 at 11:52:52AM +0100, Zdenek Kabelac wrote: > Dne 30. 01. 22 v 1:32 Demi Marie Obenour napsal(a): > > On Sat, Jan 29, 2022 at 10:32:52PM +0100, Zdenek Kabelac wrote: > > > Dne 29. 01. 22 v 21:34 Demi Marie Obenour napsal(a): > > > > How much slower are operations on an LVM2 thin

Re: [linux-lvm] Running thin_trim before activating a thin pool

2022-01-30 Thread Zdenek Kabelac
Dne 30. 01. 22 v 2:20 Demi Marie Obenour napsal(a): On Sat, Jan 29, 2022 at 10:40:34PM +0100, Zdenek Kabelac wrote: Dne 29. 01. 22 v 21:09 Demi Marie Obenour napsal(a): On Sat, Jan 29, 2022 at 08:42:21PM +0100, Zdenek Kabelac wrote: Dne 29. 01. 22 v 19:52 Demi Marie Obenour napsal(a): Is it p

Re: [linux-lvm] LVM performance vs direct dm-thin

2022-01-30 Thread Zdenek Kabelac
Dne 30. 01. 22 v 1:32 Demi Marie Obenour napsal(a): On Sat, Jan 29, 2022 at 10:32:52PM +0100, Zdenek Kabelac wrote: Dne 29. 01. 22 v 21:34 Demi Marie Obenour napsal(a): How much slower are operations on an LVM2 thin pool compared to manually managing a dm-thin target via ioctls? I am mostly co