All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Increase maximum size of dmesg buffer to 16MB.
@ 2014-12-12 22:38 Vinson Lee
  2014-12-12 22:45 ` Luis R. Rodriguez
  0 siblings, 1 reply; 4+ messages in thread
From: Vinson Lee @ 2014-12-12 22:38 UTC (permalink / raw)
  To: Andrew Morton, Paul E. McKenney, Michal Hocko, Josh Triplett,
	Johannes Weiner, Geert Uytterhoeven, Fabian Frederick,
	Bertrand Jacquin, Luis R. Rodriguez, Andy Lutomirski,
	Pranith Kumar, Peter Foley, Clark Williams, Mel Gorman
  Cc: linux-kernel, Nate Stahl, Vinson Lee

From: Nate Stahl <stahl@twitter.com>

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 <stahl@twitter.com>
Signed-off-by: Vinson Lee <vlee@twitter.com>
---
 init/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/init/Kconfig b/init/Kconfig
index 903505e..266a3e8 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -812,7 +812,7 @@ config IKCONFIG_PROC
 
 config LOG_BUF_SHIFT
 	int "Kernel log buffer size (16 => 64KB, 17 => 128KB)"
-	range 12 21
+	range 12 24
 	default 17
 	depends on PRINTK
 	help
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-12-12 23:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-12 22:38 [PATCH] Increase maximum size of dmesg buffer to 16MB Vinson Lee
2014-12-12 22:45 ` Luis R. Rodriguez
2014-12-12 23:07   ` Vinson Lee
2014-12-12 23:29     ` Luis R. Rodriguez

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.