WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] LVM Snapshot Troubles

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] LVM Snapshot Troubles
From: Michael Vrable <mvrable@xxxxxxxxxxx>
Date: Thu, 30 Sep 2004 14:02:23 -0700
Delivery-date: Fri, 01 Oct 2004 01:32:08 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: <E1CCPRl-00032u-00@xxxxxxxxxxxxxxxxx>; from Ian.Pratt@xxxxxxxxxxxx on Tue, Sep 28, 2004 at 10:23:41PM +0100
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Mail-followup-to: xen-devel@xxxxxxxxxxxxxxxxxxxxx
References: <20040928135204.A16031@xxxxxxxxxxx> <E1CCPRl-00032u-00@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.2.5.1i
I've been looking into the LVM snapshot/memory allocation troubles and
will try to come up with a fix.

FYI: In doing more searching for information about the problem, I did
come across this:
    http://www.redhat.com/archives/dm-devel/2004-January/msg00068.html

    "The problem seems to be that dm-ioctl-v4.c sets the PF_MEMALLOC
    flag for the current process.

    Lookaing at the memory allocator (__alloc_page) this means that the
    VM will think the memory allocation is already running (and this is
    a recursion) so it will not try to free pages / rebalance page or
    whatever." ...

I'm looking into sharing memory between the snapshots instead of giving
each snapshot its own private allocation of pages for I/O.  (As I'd like
to scale to a large number of snapshots, and don't want to need >1 MB of
kernel memory per snapshot.)

--Michael Vrable


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-devel] LVM Snapshot Troubles, Michael Vrable <=