lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 12 Sep 2007 09:47:46 -0700
From:	"Mandeep Baines" <mandeep.baines@...il.com>
To:	"Stephen Hemminger" <shemminger@...ux-foundation.org>
Cc:	"James Chapman" <jchapman@...alix.com>, hadi@...erus.ca,
	"Bill Fink" <billfink@...dspring.com>, netdev@...r.kernel.org,
	davem@...emloft.net, jeff@...zik.org, ossthema@...ibm.com
Subject: Re: RFC: possible NAPI improvements to reduce interrupt rates for low traffic rates

On 9/12/07, Stephen Hemminger <shemminger@...ux-foundation.org> wrote:
> But if you compare this to non-NAPI driver the same softirq
> overhead happens. The problem is that for many older devices disabling IRQ's
> require an expensive non-cached PCI access. Smarter, newer devices
> all use MSI which is pure edge triggered and with proper register
> usage, NAPI should be no worse than non-NAPI.

Why would disabling IRQ's be expensive on non-MSI PCI devices?
Wouldn't it just require a single MMIO write to clear the interrupt
mask of the device. These are write-buffered so the latency should be
minimal. As mentioned in Jamal's UKUUG paper, any MMIO reading could
be avoided by caching the interrupt mask.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists