[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v5 2/6] xen/console: make console buffer size configurable


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: dmukhin@xxxxxxxx
  • Date: Thu, 5 Feb 2026 17:52:47 -0800
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 148.163.138.245) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=ford.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=ford.com; dkim=pass (signature was verified) header.d=saarlouis.ford.com; dkim=pass (signature was verified) header.d=ford.com; arc=none (0)
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=GFGYOdl8QcukzBk9v4iKbvwzVW5OV4QMdJBYJu7/rRA=; b=bqOA9+03PyMbnpiL0jqNbGa0shFEolnp1bd1GjoMq7isp1jQ/3wR16ATbjjANF/5ZOa6Q+wMju8rR/iWQyDUsrsP3krx+S+Fm/ejssh1TglrESB3KhsA8TEGljmT0eneIYKFIjF0Yh1vbS9/UKmd75vHYNKxoLVP7Lj/mSXGRcujVDXM3WKXa9kK00gQb9GpNXP3SJw1qKZagnp1/QpT00zsy7C/DrZdUD5RZdtc08KJ5IoXvzZ5SPaq65YDx69ZznGNFYrgJHhr7Wvsw2o2vIQokw4dhEELiNEsiIZpT/KWDUNAB07bQMO2nUvPvJo9LNpibHbT8fyNftjRFCXjRg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=s1K+e6Xtk395KtgTGYRJcNrIUEVH7boT8+VLc/UL5iyDXp2LDfxGIq7E/le2WJhp6r+ms0xFbbFBdlOG9NMDj4oqfwuRHL/XHQp9dUo/OZncLdrmOsEn+yFl9swY+0oEBsaZ2TaOgWfiqVYoqFRZ5Re4177pl+JjwmItInIjGI/j6wnYt8RQhjf1SI6MQ8uwV78FX5J/4O82ukmKVct25ixANCVelUdL21wkgRwnyxrqxSg7e2fyr5p9Xbcc8KZA8RB9UcAAuycsbs3QYUsBFgNoJv863YAfL5xhWTOgWTMOUXraN8leAzD9tsCz6WAbndq4yuQR0p7I48tueqiVHg==
  • Cc: andrew.cooper3@xxxxxxxxxx, anthony.perard@xxxxxxxxxx, julien@xxxxxxx, michal.orzel@xxxxxxx, roger.pau@xxxxxxxxxx, sstabellini@xxxxxxxxxx, dmukhin@xxxxxxxx, Jason Andryuk <jason.andryuk@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 06 Feb 2026 01:53:03 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Pser-m365-app: SER-APP

On Thu, Feb 05, 2026 at 09:43:31AM +0100, Jan Beulich wrote:
> On 05.02.2026 02:36, dmukhin@xxxxxxx wrote:
> > --- a/xen/drivers/char/Kconfig
> > +++ b/xen/drivers/char/Kconfig
> > @@ -95,6 +95,30 @@ config SERIAL_TX_BUFSIZE
> >  
> >       Default value is 32768 (32KiB).
> >  
> > +config CONRING_SHIFT
> > +   int "Console ring buffer size (power of 2)"
> > +   range 14 27
> > +   default 15
> > +   help
> > +     Select the boot console ring buffer size as a power of 2.
> > +     Run-time console ring buffer size is the same as the boot console ring
> > +     buffer size, unless overridden via 'conring_size=' boot parameter.
> > +
> > +       27 => 128 MiB
> > +       26 =>  64 MiB
> > +       25 =>  32 MiB
> > +       24 =>  16 MiB
> > +       23 =>   8 MiB
> > +       22 =>   4 MiB
> > +       21 =>   2 MiB
> > +       20 =>   1 MiB
> > +       19 => 512 KiB
> > +       18 => 256 KiB
> > +       17 => 128 KiB
> > +       16 =>  64 KiB
> > +       15 =>  32 KiB (default)
> > +       14 =>  16 KiB
> 
> As I think I had indicated before - imo an exhaustive table goes too far here.
> E.g.
> 
>           27 => 128 MiB
>           26 =>  64 MiB
>           ...
>           15 =>  32 KiB (default)
>           14 =>  16 KiB
> 
> would do (if such is needed / wanted at all).

OK, will adjust as suggested.
Thanks!

> 
> Jan



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.