From: "Stephane Charette" <scharette@packeteer.com>
To: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: performance impact of using noapic
Date: Tue, 02 Jul 2002 12:22:34 -0700 [thread overview]
Message-ID: <20020702192006Z316884-686+254@vger.kernel.org> (raw)
I was reading through "FreeBSD Versus Linux Revisited" by Moshe Bar at "http://www.byte.com/documents/s=1794/byt20011107s0001/1112_moshe.html".
One paragraph in particular caught my eye:
On the Linux side, I attached all interrupts coming
from the network adaptor to one CPU. With the new
TCP/IP stack in the 2.4 kernels this really becomes
necessary. Otherwise, you might find the incoming
packets arranged out of order, because later interrupts
are serviced (on another CPU) before earlier ones, thus
requiring a reordering further down the handling layers.
Is this a widely-known issue? Or is this simply theory? I'd never heard this mentionned until I read the article.
I ran some web-based performance tests with the 2.4.19-pre9-SMP kernel on a dual-CPU Athlon 1600MHz box, and found that running with "noapic" actually improved network performance. (Negligable -- only 1% improvement in the small webstone-based test I ran.)
As I wrote in another post concerning performance from earlier today, the actual values of my performance tests are not important -- the trend is what I wish to higlight.
My questions are:
1) am I right in thinking that "noapic" will force all interrupts to be handled by 1 CPU?
2) how would you force all interrupts from only 1 hardware device (and not all devices) to be handled by 1 processor, as hinted in the paragraph quoted above?
Thanks,
Stephane Charette
next reply other threads:[~2002-07-02 19:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-02 19:22 Stephane Charette [this message]
2002-07-03 12:31 ` performance impact of using noapic Mark Hounschell
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=20020702192006Z316884-686+254@vger.kernel.org \
--to=scharette@packeteer.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