Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752508AbaLLWpT (ORCPT ); Fri, 12 Dec 2014 17:45:19 -0500 Received: from cantor2.suse.de ([195.135.220.15]:58569 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751779AbaLLWpS (ORCPT ); Fri, 12 Dec 2014 17:45:18 -0500 Date: Fri, 12 Dec 2014 23:45:15 +0100 From: "Luis R. Rodriguez" To: Vinson Lee Cc: Andrew Morton , "Paul E. McKenney" , Michal Hocko , Josh Triplett , Johannes Weiner , Geert Uytterhoeven , Fabian Frederick , Bertrand Jacquin , Andy Lutomirski , Pranith Kumar , Peter Foley , Clark Williams , Mel Gorman , linux-kernel@vger.kernel.org, Nate Stahl , Vinson Lee Subject: Re: [PATCH] Increase maximum size of dmesg buffer to 16MB. Message-ID: <20141212224515.GU25677@wotan.suse.de> References: <1418423906-5461-1-git-send-email-vlee@twopensource.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1418423906-5461-1-git-send-email-vlee@twopensource.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 12, 2014 at 02:38:26PM -0800, Vinson Lee wrote: > From: Nate Stahl > > A full task stack dump of all tasks on a machine can generate more than > 4MB of output to dmesg. Dumping this data to the serial console causes > the machine to hang for a number of minutes (an unacceptable impact), > but dumping the same data to memory is feasible if the dmesg buffer is > sized large enough to hold the output. Set to 16MB which will hopefully > be large enough to handle a dump from any of our servers at this time. > > Signed-off-by: Nate Stahl > Signed-off-by: Vinson Lee Isn't this the perpetual issue of having large number of CPUs? If so consider use of LOG_CPU_MAX_BUF_SHIFT instead, otherwise clarifying how this would be a different issue would be good. LOG_CPU_MAX_BUF_SHIFT should scale nicely but you can increase it as well, is it being used? Luis -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/