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] add printf_ratelimit

To: Steven Rostedt <srostedt@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] add printf_ratelimit
From: "Stephen C. Tweedie" <sct@xxxxxxxxxx>
Date: Mon, 02 Oct 2006 22:55:51 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 02 Oct 2006 14:56:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <452140B2.3060307@xxxxxxxxxx>
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>
References: <452140B2.3060307@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

On Mon, 2006-10-02 at 12:39 -0400, Steven Rostedt wrote:
> I sent this patch back on 9/19 and it never went anywhere.  I'm sending 
> it again, against the lastest unstable.

> If someone turns on verbose and/or debug the hypervisor slams the serial 
> pretty badly when starting a FV domain.  So I pulled the 
> printk_ratelimit from Linux and put it into the hypervisor.  Right now 
> the only user of it is the MEM_LOG in arch/x86/mm.c which can really 
> spit out a lot.

A *lot*.  With serial console, starting an HVM domain can take 30
seconds for me just because of these log messages.  Rate-limiting is
necessary for such cases.

--Stephen



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

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