Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp811162pxx; Thu, 29 Oct 2020 15:17:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQ4OiNObgzjcGTQigIy/4dMV3NXFBvji3CCbnAa+lVqPGzt/LJf7nff7OmYfpole4mzvjs X-Received: by 2002:a50:e08e:: with SMTP id f14mr6178829edl.374.1604009840600; Thu, 29 Oct 2020 15:17:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604009840; cv=none; d=google.com; s=arc-20160816; b=WQBeoOcz7C5rUfyG+9kzejM6Lo4L6tfut3JcWLMdj7laoumSXAcS4zkpHJiCC0Cr8u U8hbxcT2GmUT69XiSYDIBc+DN8D+BDdWoKtawH3WB25rRJxKSMdeFuJnqrIzctPf5xq9 3sjzIAHXzsVmMFetqhjt65RA7Cs6Lkb7nJ4D4bacbfV00+/nYIvS18dXDtO17VplCZYW Ivt9na7eLM+oVsmD5zhzjnO79V3DLBdDP29qBURFSkdrnko6ftlbbwQGk75QKgbAQAR8 BOfE257LVt5XaMv73aRF/00ucBYEbjJXQ9qKOzKqJXhssr7atOMeU94wGowqq+pN1YLu 1NLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=SJIIK0V3/3/0J8WflznhMrs4joVtjW1YVZWs2K3o18c=; b=gyrFylOXB5zi0Z55Z2q2sjDqXSicdTwx9oS+Omyp05vPCmI65VpHguQa/0V8wqZckN j4juIjn4Rvs0Ggt6cmM/n/atrw/eNMh0BOYGEKgJ0rxDoZUyD3rjIkk061iKO8YfolDY DA/F3821USFsH8dgUkmFYKMaNAeFJkY3V3Iq+EPpTm/R2d5/6eFm2uU0k1AlzYSwwl73 skFd4CkO2YH37UjsnHw6uoJ5+y8DkCu/Sp/UDqeLGJvXqsmIEzH2xzD4zjJC7kqI0NIY m6L/GPwBaI/P3aGwQakNDh3E3GrxMtLFtv3SQLgSiIS8b/XBQ/hkwfq4L0+JiICzpMic ZmNg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-embedded-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-embedded-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o18si2736164ejx.472.2020.10.29.15.16.43; Thu, 29 Oct 2020 15:17:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-embedded-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-embedded-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-embedded-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725826AbgJ2WQF (ORCPT + 99 others); Thu, 29 Oct 2020 18:16:05 -0400 Received: from mx3.molgen.mpg.de ([141.14.17.11]:37275 "EHLO mx1.molgen.mpg.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725780AbgJ2WQF (ORCPT ); Thu, 29 Oct 2020 18:16:05 -0400 Received: from [192.168.0.2] (ip5f5af462.dynamic.kabel-deutschland.de [95.90.244.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id 33E6A20646219; Thu, 29 Oct 2020 23:16:02 +0100 (CET) Subject: Re: [PATCH v2 2/2] init/Kconfig: Increase default log buffer size from 128 KB to 512 KB To: Petr Mladek Cc: Sergey Senozhatsky , linux-kernel@vger.kernel.org, John Ogness , Linus Torvalds , Steven Rostedt , Andy Shevchenko , Greg Kroah-Hartman , linux-embedded@vger.kernel.org References: <20200811092924.6256-1-pmenzel@molgen.mpg.de> <20200811092924.6256-2-pmenzel@molgen.mpg.de> <20200811105352.GG6215@alley> From: Paul Menzel Message-ID: <92a13465-d133-0b39-f64b-7074dbbb3fcc@molgen.mpg.de> Date: Thu, 29 Oct 2020 23:16:01 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <20200811105352.GG6215@alley> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-embedded@vger.kernel.org Dear Petr, Am 11.08.20 um 12:53 schrieb Petr Mladek: > On Tue 2020-08-11 11:29:24, Paul Menzel wrote: >> Commit f17a32e97e (let LOG_BUF_SHIFT default to 17) from 2008 was the >> last time, the the default log buffer size bump was increased. >> >> Machines have evolved, and on current hardware, enough memory is >> present, and some devices have over 200 PCI devices, like a two socket >> Skylake-E server, resulting a lot of lines. >> >> Therefore, increase the default from 128 KB to 512 KB. Anyone, with >> limited memory, can still lower it. >> >> --- a/init/Kconfig >> +++ b/init/Kconfig >> @@ -681,9 +681,9 @@ config IKHEADERS >> kheaders.ko is built which can be loaded on-demand to get access to headers. >> >> config LOG_BUF_SHIFT >> - int "Kernel log buffer size (16 => 64KB, 17 => 128KB)" >> + int "Kernel log buffer size (17 => 128KB, 19 => 512KB)" >> range 12 25 >> - default 17 >> + default 19 >> depends on PRINTK >> help >> Select the minimal kernel log buffer size as a power of 2. > > Honestly, I do not have experience with changing the defaults. People > hacking small devices might complain. Well, this can be solved > by increasing the default only when BASE_FULL is set. > > I am personally fine with increasing the default when BASE_FULL > is set. The amount of messages is growing over time because of > increasing complexity of both the hardware and software. > Fortunately also the amount of available memory is growing. > > Well, this should get discussed in wider audience. Adding some > people into CC. > > JFYI, it started with report of lost messages, see > https://lore.kernel.org/lkml/264bfbae-122d-9c41-59ea-6413f91bd866@molgen.mpg.de/ As there was no objection, is it possible to apply the two patches, and maybe even get them into Linux 5.10? Kind regards, Paul