Peter Jeremy <jere...@gsmx07.alcatel.com.au> writes:
> Dag-Erling Smorgrav <d...@flood.ping.uio.no> wrote:
> > The idea is to keep a chunk of zeroes on disk and DMA it into memory
> Have you looked at disk latencies recently?  A modern CPU could zero-
> fill a decent fraction of its RAM in the time taken to fetch a page of
> zeroes from the platter.  And if it was accessed frequently enough to
> keep the zeroed page in disk cache, you've just moved the bottleneck
> into that disk controller (and you've reduced the effective size of the
> disk's cache by a page).

It still beats the hell out of invalidating your entire L1 and L2
caches.

DES
-- 
Dag-Erling Smorgrav - d...@flood.ping.uio.no


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to