Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Feb 2006 10:11:15 -0800
From:      Sam Leffler <sam@errno.com>
To:        nielsen@memberwebs.com
Cc:        "freebsd-net@FreeBSD.org" <freebsd-net@freebsd.org>
Subject:   Re: Polling for ath driver
Message-ID:  <43E63FC3.2030409@errno.com>
In-Reply-To: <20060205011931.E5F08DCA99E@mail.npubs.com>
References:  <20060205011931.E5F08DCA99E@mail.npubs.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Nate Nielsen wrote:
> I've been working on polling for the FreeBSD ath wireless driver.
> 
> On slow CPU's polling helps prevent (by supressing certain interrupts)
> livelock and increases throughput. This is true of Atheros cards on
> Soekris and other embedded hardware.
> 
> Just thought I'd post something here in case anyone is interested in
> helping with insight, code or testing. I've got a rough (and mostly
> working) patch. There are some locking issues to contend with...

You might try explaining why you think polling helps your performance. 
Unless you've significantly restructured the interrupt handling in the 
driver most work is deferred to a non-interrupt context.  Also the 
driver in 6.0 and later does tx interrupt mitigation and rx interrupt 
coalescing so I wouldn't expect interrupt handling to be a performance 
limitation.  There are other issues that can affect performance but you 
haven't mentioned them...

	Sam



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43E63FC3.2030409>