linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Nicholas Geovanis <nickgeovanis@gmail.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] swap on thin-provisioning
Date: Sun, 29 Nov 2020 10:19:40 -0600	[thread overview]
Message-ID: <CAJmb-Y=7djEwLUHO--ecLi0wenE9TznM4g+201XaOuH=g9tWrQ@mail.gmail.com> (raw)
In-Reply-To: <608365664c2a18db4e756f524c0e76da@assyoma.it>


[-- Attachment #1.1: Type: text/plain, Size: 1185 bytes --]

IIRC at VMWare vSphere 5 and before, swap could not be located on their
type of thin logical volume. Nor could it swap to a linux LVM volume on top
of that.
It just couldnt perform well. That later changed.

On Sun, Nov 29, 2020, 6:53 AM Gionatan Danti <g.danti@assyoma.it> wrote:

> Il 2020-11-29 01:18 Chris Murphy ha scritto:
> > What about a swapfile (on ext4 or XFS) onr a thin volume? In this
> > case, I'd expect fallocate would set the LE to PE mapping, and it
> > should work. But does it work for both paging and hibernation files?
>
> If things did not change, fallocate does *not* allocate PE space (ie:
> they are not passed down to the underlying thin pool).
>
> Moreover, I expect for a memory-starved machine to page out pool
> metadata (right?) so I would not use a thin volume for swap.
>
> Regards.
>
> --
> Danti Gionatan
> Supporto Tecnico
> Assyoma S.r.l. - www.assyoma.it
> email: g.danti@assyoma.it - info@assyoma.it
> GPG public key ID: FF5F32A8
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
>

[-- Attachment #1.2: Type: text/html, Size: 2063 bytes --]

[-- Attachment #2: Type: text/plain, Size: 197 bytes --]

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

      parent reply	other threads:[~2020-11-30  7:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-29  0:18 [linux-lvm] swap on thin-provisioning Chris Murphy
2020-11-29 12:52 ` Gionatan Danti
2020-11-29 15:12   ` Sreyan Chakravarty
2020-11-30  8:39     ` Gionatan Danti
2020-11-29 16:19   ` Nicholas Geovanis [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJmb-Y=7djEwLUHO--ecLi0wenE9TznM4g+201XaOuH=g9tWrQ@mail.gmail.com' \
    --to=nickgeovanis@gmail.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).