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] xen: increase static dmesg buffer to 64K

To: Jan Beulich <JBeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] xen: increase static dmesg buffer to 64K
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Mon, 18 Jul 2011 10:16:28 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 18 Jul 2011 01:17:36 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1310976994; l=1011; s=domk; d=aepfle.de; h=In-Reply-To:Content-Type:MIME-Version:References:Subject:Cc:To:From: Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=xJH111HrKUnlbPYl5BMghmSUQcY=; b=yxj0fK/EccTH1HaQ8iBkL2ZgLRTpKnBEy6YbirnU+D1JrWrphLwvKaemsWBl/F/fCWu v07REowoA1KUAdtDeV44XxAm4GqqTFP5EAhH8BUb7j9JZ2QgtxJdXgQ7mdH+I/M89/RuF Vs8uVuIXi4o8JAxJUTpOOWjmfDtPox1/VGs=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4E23FD1B020000780004DD02@xxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <c6cade90d47f32e19f52.1310917403@xxxxxxxxxxxx> <4E23FD1B020000780004DD02@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.21.rev5535 (2011-07-01)
On Mon, Jul 18, Jan Beulich wrote:

> >>> On 17.07.11 at 17:43, Olaf Hering <olaf@xxxxxxxxx> wrote:
> > # HG changeset patch
> > # User Olaf Hering <olaf@xxxxxxxxx>
> > # Date 1310917380 -7200
> > # Node ID c6cade90d47f32e19f529930ba9f9acfa69f065f
> > # Parent  31dd84463eece20bd01c7aee22b52a0c06c67545
> > xen: increase static dmesg buffer to 64K
> > 
> > On large systems the static dmesg buffer will overflow the 16K buffer, early
> > messages are lost. Increase the size to 64K to capture all lines on systems
> > without serial console.
> 
> Please don't - on small systems it's a waste, and on even larger
> systems it still won't help. If anything, the dynamic allocation may
> need to happen earlier. As you probably saw, console_init_postirq()
> already sizes the buffer dependent on the number of CPUs in the
> system.

I think conring_size= should be evaluated very early. Is there a way to
allocate a range of mfns very early which can then be used for the dmesg
buffer?

Olaf

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