From: "william fitzgerald" <william.fitzgerald3@beer.com>
To: linux-kernel@vger.kernel.org
Subject: printk performance logging without syslogd for router
Date: Wed, 14 Nov 2001 12:07:19 +2400 [thread overview]
Message-ID: <6169641FA9FA29E43946AEB269F1EA2E@william.fitzgerald3.beer.com> (raw)
hi all,
(perforamnce logging of network stack through a
linux router)
the main question:
is there a way i can buffer or record the printk
statements and print them to disk after my
packets have gone through the router?
my understanding of printk is that each time it
is encountered it is written to disk by syslogd
as i have been told by Erik .so for a lot of
packets there will be alot of writes,therefore
slowing the system and producing false results.
so lets cut out syslogd and just use the -f
option on klogd.
does this decrease the huge slow down of
writting printk's?
basically is there a way i can buffer or record
the printk statements and print them to disk
after my packets have gone through the router?
do i edit the printk.c file and change the
line:
static char buf[1024];
and increase the size of the array?
or do i edit the klogd.c program and change
something in there?
i'm still at a loose end!
many thanks in advance,
will.
Beer Mail, brought to you by your friends at beer.com.
next reply other threads:[~2001-11-13 12:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-13 12:07 william fitzgerald [this message]
2001-11-13 12:15 ` Peter Wächtler
2001-11-13 12:33 william fitzgerald
2001-11-13 12:35 ` Peter Wächtler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6169641FA9FA29E43946AEB269F1EA2E@william.fitzgerald3.beer.com \
--to=william.fitzgerald3@beer.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®