Date: 05 Aug 1999 10:49:52 +0200 From: Dag-Erling Smorgrav <des@flood.ping.uio.no> To: Peter Jeremy <jeremyp@gsmx07.alcatel.com.au> Cc: hackers@FreeBSD.ORG Subject: Re: Results of investigating optimizing calloc()... Message-ID: <xzpn1w6r4r2.fsf@flood.ping.uio.no> In-Reply-To: Peter Jeremy's message of "Thu, 5 Aug 1999 07:42:17 %2B1000" References: <99Aug5.072253est.40331@border.alcanet.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Peter Jeremy <jeremyp@gsmx07.alcatel.com.au> writes: > Dag-Erling Smorgrav <des@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 - des@flood.ping.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpn1w6r4r2.fsf>