Skip to contentSkip to conversation

size of ring buffer for kernel msgs

DISCUSSION Tim Strobell aka Griffy 1 participant 1 message Apr 3, 2001

lore
Share & tools
lore
#0 lore raw

Kernel gurus,

Since the boot process on some SMP machines can be rather verbose, it seems that the ring buffer for printk()s wraps before it can be snarfed by klogd/syslogd after boot.
This makes it difficult to troubleshoot messages printed early in the boot process (like BIOS RAM maps).

The default buffer size is 16k. (kernel/printk.c, line 26) Would it be reasonable to increase this to 32k (or more) on most machines?

The buffer size is set at compile-time, and may present a problem in limited-memory (embedded?) systems if grown too large.

Comments are most welcome.

Tim

--
Tim "Griffy" Strobell, [email protected], (301) 405-8175 Assistant Sysadmin and Server Janitor
Department of Mathematics, University of Maryland at College Park