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] [PATCH] Dump flush write performance

To: Ben Guthro <bguthro@xxxxxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Dump flush write performance
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Thu, 25 Oct 2007 15:32:59 +0100
Cc: Daniel Li <dli@xxxxxxxxxxxxxxx>
Delivery-date: Thu, 25 Oct 2007 07:33:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <471FB4BF.6030008@xxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcgXE/CwLyVFMIMHEdyb3gAX8io7RQ==
Thread-topic: [Xen-devel] [PATCH] Dump flush write performance
User-agent: Microsoft-Entourage/11.3.6.070618
On 24/10/07 22:10, "Ben Guthro" <bguthro@xxxxxxxxxxxxxxx> wrote:

> Two changes to avoid disk driver using up kernel memory and triggering
> oom-killer
> while creating guest dump to a disk file:
> 
> 1) Decreased write chunks from 16MB to 2MB;
> 2) Flush (fsync) after each 2MB write.

I don't think we've had any reports of core dumping causing oom killer to
kick in. It seems a bit unlikely after all, unless you're really running
dom0 close to the wire. A user process write()ing a big file shouldn't be
able to trigger oom killer imo.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>