From owner-freebsd-hackers Wed Aug 4 13: 3:36 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from uni4nn.gn.iaf.nl (osmium.gn.iaf.nl [193.67.144.12]) by hub.freebsd.org (Postfix) with ESMTP id 658581523B for ; Wed, 4 Aug 1999 13:03:32 -0700 (PDT) (envelope-from wilko@yedi.iaf.nl) Received: from yedi.iaf.nl (uucp@localhost) by uni4nn.gn.iaf.nl (8.9.2/8.9.2) with UUCP id VAA28652; Wed, 4 Aug 1999 21:56:13 +0200 (MET DST) Received: (from wilko@localhost) by yedi.iaf.nl (8.9.3/8.9.3) id TAA00730; Wed, 4 Aug 1999 19:04:56 +0200 (CEST) (envelope-from wilko) From: Wilko Bulte Message-Id: <199908041704.TAA00730@yedi.iaf.nl> Subject: Re: Results of investigating optimizing calloc()... In-Reply-To: from Dag-Erling Smorgrav at "Aug 4, 1999 1:20:59 pm" To: des@flood.ping.uio.no (Dag-Erling Smorgrav) Date: Wed, 4 Aug 1999 19:04:56 +0200 (CEST) Cc: kbyanc@alcnet.com, freebsd-hackers@FreeBSD.ORG X-Organisation: Private FreeBSD site - Arnhem, The Netherlands X-pgp-info: PGP public key at 'finger wilko@freefall.freebsd.org' X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG As Dag-Erling Smorgrav wrote ... > "Kelly Yancey" writes: > > [...] > > Which reminds me - has anyone thought of using DMA for zeroing pages, > to avoid cache invalidation? The idea is to keep a chunk of zeroes on > disk and DMA it into memory instead of clearing pages "manually". This > assumes your disk supports DMA, of course. Wow.. I once saw this used, ages ago on a Uniflex machine running on a Motorola 6809 cpu. They used a slightly different approach by doing dma to a non-existent piece of hardware (memory is dim here...) that resulted in zeros being read from the databus. The fact that TSC (the makers of Uniflex) did this was discovered when Uniflex was ported over to a slightly different set of hardware that used inverting databuffers ;-) Wilko -- | / o / / _ Arnhem, The Netherlands - Powered by FreeBSD - |/|/ / / /( (_) Bulte WWW : http://www.tcja.nl http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message