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

From: Ion Badulescu (ionut@moisil.cs.columbia.edu)
Date: Sat Jan 27 2001 - 05:14:00 EST


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/



This archive was generated by hypermail 2b29 : Wed Jan 31 2001 - 21:00:27 EST