Re: inw/outw performance

From: Jonathan Lundell (linux@lundell-bros.com)
Date: Sun Mar 30 2003 - 15:32:06 EST


At 7:23pm +0200 3/30/03, Pavel Machek wrote:
> > And actually what I have found that on my development P3/1GHz system
>> every inw() takes more that 3us. I wasn't measuring outw() yet - but
>> I do not expect its timing to be better.
>
>inw/outw *is* slow. Memory map your
>registers to speed it up.

Shouldn't be *that* slow, though, especially over PCI, unless the
device in question is taking that long to respond--in which case
memory mapping won't help.

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



This archive was generated by hypermail 2b29 : Mon Mar 31 2003 - 22:00:35 EST