Re: [PATCH/REQ] Increase kmsg buffer from 16K to 32K, kernel/printk.c

Ion Badulescu (ionut@moisil.cs.columbia.edu)
Sat, 27 Jan 2001 02:14:00 -0800


On Sat, 27 Jan 2001 08:01:14 +0000, David Ford <david@linux.com> wrote:
> Does Linus or anyone object to raising the ksmg buffer from 16K to 32K?
> 4/5 systems I have now overflow the buffer during boot before init is
> even launched.

Hmm, are you sure? man dmesg:
[...]
-sbufsize
use a buffer of bufsize to query the kernel ring
buffer. This is 8196 by default (this matches the
default kernel syslog buffer size in 2.0.33 and
2.1.103). If you have set the kernel buffer to
larger than the default then this option can be
used to view the entire buffer.

So try dmesg -s 16384. That's good enough for me on a 4-way SMP
box with lots of SCSI on-board (and trust me, SMP generates a *huge*
amount of kernel logging).

Ion

-- 
  It is better to keep your mouth shut and be thought a fool,
            than to open it and remove all doubt.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/