From: Eduardo Magaña Lizarrondo <eduardo.magana@unavarra.es>
To: linux-kernel@vger.kernel.org
Subject: Linux Socket Filter sudden CPU use increase
Date: Tue, 27 Feb 2001 21:42:25 +0100 [thread overview]
Message-ID: <3A9C1131.7ABD6867@unavarra.es> (raw)
I have been testing Linux Socket Filters (LSF) these weeks (kernels
2.2.12,
2.2.14, 2.2.18, 2.4.1) with libpcap (0.4 - 0.6.2) and I have observed
something curious. I make a program that increase number of simultaneous
LSF filters (5, 10, 15..) and when this number is between 15 and 50,
suddenly
CPU consumed by kernel increases suddenly. Any idea?
(you can see a figure of CPU vs. number of LSF filter in
http://www.tlm.unavarra.es/~eduardo/varios/lsf.gif)
I do not see anything stranger. Only, using Linux Trace Toolkit with
some
modifications when there are few filters, I observe that of timer Bottom
Half
follows IRQ 0. And when there are more filters, IRQ 0 takes place when
the
network Bottom Half is taking place, so the timer Bottom Half is delayed
to
the end of the network Bottom Half. Can it be related?
To measure kernel CPU I have used the trick of running another CPU with
low
priority. According to the time this second process is delayed an
aproximate
%CPU is obtained.
I do not understand what is happening. Any help would be very useful.
Eduardo
--
Eduardo Magaña Lizarrondo
http://www.tlm.unavarra.es/~eduardo
reply other threads:[~2001-02-27 20:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=3A9C1131.7ABD6867@unavarra.es \
--to=eduardo.magana@unavarra.es \
--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®