lkml.org 
[lkml]   [1999]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Improving raw network performance [was Apache performance etc.]
On Tue, Jun 29, 1999, Jamie Lokier <lkd@tantalophile.demon.co.uk> wrote:

> You could only do this if the interrupt is not shared. But if your
>> network is normally being hammered then you probably didn't configure
>> your network card to be on the same interrupt as your hard disc.
>
>I don't see the problem with a shared interrupt.
>Can you explain?

I beleive he though about using the kernel to mask/unmask the irq line,
which can cause trouble with shared IRQs. Of course, the solution is to
mask them on-chip.

Note that masking/unmasking wiht the kernel's disable_irq/enable_irq from
within the IRQ handler will not work on some platforms (notably PPC,
except if things change since the last time I hacked in this piece of
code). The problem is that if you mask the irq from within the handler,
it will be unmasked by the kernel when going out of the handler.

--
Perso. e-mail: <mailto:bh40@calva.net>
Work e-mail: <mailto:benh@mipsys.com>
BenH. Web : <http://calvaweb.calvacom.fr/bh40/>




-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.040 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site