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: Michael Vrable <mvrable@xxxxxxxxxxx>
Subject: Re: [Xen-devel] LVM Snapshot Troubles
From: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Date: Tue, 28 Sep 2004 21:06:59 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx, Ian.Pratt@xxxxxxxxxxxx
Delivery-date: Tue, 28 Sep 2004 21:17:57 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Tue, 28 Sep 2004 11:09:05 PDT." <20040928110905.A18973@xxxxxxxxxxx>
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>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> On Tue, Sep 28, 2004 at 04:43:25PM +0100, Ian Pratt wrote:
> > There's nothing in slabinfo that looks crazy. I wander where all
> > your memory is gone? BTW: how big is your dom0? 
> > 
> > It's possible that dm-io or kcopyd is chewing up pages (which
> > won't show up in the slab allocator). I'm surprised they're not
> > just transient, though.
> 
> When I've run into memory trouble with snapshots, I've always seen a
> stack backtrace that points me at kcopyd_client_create.  Following the
> code: when creating a snapshot, a new kcopyd client is created with 256
> (SNAPSHOT_PAGES in dm-snap.c) pages (= 1 MB) dedicated to that snapshot.
> I think I managed to dig up the logs from one of the failures I've seen;
> I've attached them to this message.

It might be worth adding "| __GFP_REPEAT" to the alloc_page in 
drivers/md/kcopyd.c

If this fixes things, we could probably get the patch accepted
into mainline Linux.

(Of course, GFP_REPEAT may be a nop under Linux's VM...)

Ian



-------------------------------------------------------
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