netdev
[Top] [All Lists]

Re: e1000 performance hack for ppc64 (Power4)

To: "David S. Miller" <davem@xxxxxxxxxx>
Subject: Re: e1000 performance hack for ppc64 (Power4)
From: Anton Blanchard <anton@xxxxxxxxx>
Date: Sat, 14 Jun 2003 10:55:34 +1000
Cc: scott.feldman@xxxxxxxxx, haveblue@xxxxxxxxxx, hdierks@xxxxxxxxxx, dwg@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, milliner@xxxxxxxxxx, ricardoz@xxxxxxxxxx, twichell@xxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20030613.165250.41635765.davem@xxxxxxxxxx>
References: <C6F5CF431189FA4CBAEC9E7DD5441E010107D93A@xxxxxxxxxxxxxxxxxxxxxx> <20030613.165250.41635765.davem@xxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.4i
 
> So Anton, when the PCI controller gets a set of sub-cacheline word
> reads from the device, it reads the value from memory once for every
> one of those words?  ROFL, if so...  I can't believe they wouldn't
> put caches on the PCI controller for this, at least a one-behind that
> snoops the bus :(

There is a cache in the host bridge and the PCI-PCI bridge. I dont
think we go back to memory for sub cacheline reads.

What I think is happening is that we arent tripping the prefetch logic.
We should take a latency hit for only the first cacheline at which point
the host bridge decides to start prefetching for us. If not then we take
take the latency hit on each transaction.

Anton

<Prev in Thread] Current Thread [Next in Thread>