Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 120C6CD5BA0 for ; Tue, 19 Sep 2023 12:10:54 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.604649.942125 (Exim 4.92) (envelope-from ) id 1qiZYj-000457-L9; Tue, 19 Sep 2023 12:10:29 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 604649.942125; Tue, 19 Sep 2023 12:10:29 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qiZYj-000450-Ih; Tue, 19 Sep 2023 12:10:29 +0000 Received: by outflank-mailman (input) for mailman id 604649; Tue, 19 Sep 2023 12:10:28 +0000 Received: from mail.xenproject.org ([104.130.215.37]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qiZYi-00044p-6M for xen-devel@lists.xenproject.org; Tue, 19 Sep 2023 12:10:28 +0000 Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qiZYf-0001dk-GP; Tue, 19 Sep 2023 12:10:25 +0000 Received: from [15.248.3.4] (helo=[10.24.67.44]) by xenbits.xenproject.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qiZYf-0000qY-BE; Tue, 19 Sep 2023 12:10:25 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xen.org; s=20200302mail; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID; bh=OWfa1Hl24jQsCwOo7yz4/pEzmWrUxo8qXxtYCTzH08o=; b=KcTpeWvSsFyyJJSqIy5st3OLdP z2DVOeDiqzRNXfIYAWAxXbmRjnkVVNGT7DsS5hXE+LkVJ9PC7eQkuYsTpQOpUqqTqmnLXWd9R3kZV StqX2bVPLUg5kBumz9pKuRB4JEivXpyb3K+hBPt3wVvO5OfZxn2J8/u1oLgiSgGO9JAM=; Message-ID: <41a2cdf9-8fd1-418d-abc9-1fe4f3fd8b5e@xen.org> Date: Tue, 19 Sep 2023 13:10:23 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: xl dmesg buffer too small for Xen 4.18? Content-Language: en-GB To: =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= Cc: Chuck Zmudzinski , "xen-devel@lists.xenproject.org" References: <9baf6bec-49c6-474b-a5e3-5f0473aaffc7@netscape.net> <640f5a9d-913e-494b-b2c6-c9b3694f7cd3@xen.org> From: Julien Grall In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi Roger, On 19/09/2023 08:02, Roger Pau Monné wrote: > On Mon, Sep 18, 2023 at 07:49:26PM +0100, Julien Grall wrote: >> (+Roger and moving to xen-devel) >> >> Hi, >> >> On 18/09/2023 19:17, Chuck Zmudzinski wrote: >>> On 9/18/2023 9:00 AM, Chuck Zmudzinski wrote: >>>> Hello, >>>> >>>> I tested Xen 4.18~rc0 on Alma Linux 9 and my first tests indicate it works fine for starting the guests I manage but I notice that immediately after boot and with only dom0 running on the system, I get: >>>> >>>> [user@Malmalinux ~]$ sudo xl dmesg >>>> 00bee72000-00000bee72fff type=7 attr=000000000000000f >>>> (XEN) 00000bee73000-00000bef49fff type=4 attr=000000000000000f >>>> (XEN) 00000bef4a000-00000bef4bfff type=7 attr=000000000000000f >>>> (XEN) 00000bef4c000-00000befbafff type=4 attr=000000000000000f >>>> (XEN) 00000befbb000-00000befbbfff type=7 attr=000000000000000f >>>> ... >>>> >>>> I have noticed the buffer fills up quickly on earlier Xen versions, but never have I seen it fill up during boot and with only dom0 running. >>>> >>>> Can increasing the buffer fix this? How would one do that? >>>> >>>> Thanks >>>> >>> >>> I see the setting is the command line option conring_size: >>> >>> https://xenbits.xen.org/docs/unstable/misc/xen-command-line.html#conring_size >>> >>> The default is 16k, I tried 48k and that was big enough to capture all the messages at boot for 4.18 rc0. This is probably not an issue if the release candidate is being more verbose than the actual release will be. But if the release is still this verbose, maybe the default of 16k should be increased. >> >> Thanks for the report. This remind me the series [1] from Roger which tries >> to increase the default size to 32K. @Roger, I am wondering if we should >> revive it? > > I think the relevant patch (2/2) will still apply as-is, it's just a > Kconfig one line change. I'm however thinking it might be better to > bump it even further, to 128K. From a system point of view it's still > a very small amount of memory. I don't have a strong opinion about 128K vs 32K. > > I'm happy to repost with an increased buffer size, but only if there's > someone willing to Ack it, otherwise it's not worth spending time on > it. Sorry that patch fell through the cracks. I would be happy to ack the patch. Cheers, -- Julien Grall