From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 27120 invoked from network); 16 Mar 1999 18:23:00 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 16 Mar 1999 18:23:00 -0000 Received: from mail13.digital.com (mail13.digital.com [192.208.46.30]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id NAA30190 for ; Tue, 16 Mar 1999 13:13:20 -0500 Received: from us1rmc.bb.dec.com (us1rmc.bb.dec.com [16.57.16.6]) by mail13.digital.com (8.9.2/8.9.2/WV2.0e) with SMTP id NAA31163 for ; Tue, 16 Mar 1999 13:13:18 -0500 (EST) Received: from linux03.hlo.dec.com by us1rmc.bb.dec.com (5.65/rmc-17Jan97) id AA29798; Tue, 16 Mar 99 13:08:47 -0500 Received: from linux03.hlo.dec.com (jestabro@localhost [127.0.0.1]) by linux03.hlo.dec.com (8.8.7/8.8.7) with ESMTP id NAA00585 for ; Tue, 16 Mar 1999 13:08:33 -0500 Message-Id: <199903161808.NAA00585@linux03.hlo.dec.com> X-Mailer: exmh version 2.0.2 X-Exmh-Isig-Comptype: repl X-Exmh-Isig-Folder: axp-list To: axp-list@redhat.com From: Jay.Estabrook@digital.com Subject: Re: > 1GB on alpha. Patch to 1TB? In-Reply-To: Your message of Tue, 16 Mar 1999 08:09:22 -0500. <199903161309.IAA04803@adder.cs.Virginia.EDU> Mime-Version: 1.0 Content-Type: text/plain Date: Tue, 16 Mar 1999 13:08:33 -0500 Sender: jestabro@linux03.hlo.dec.com >>> Greg Lindahl said: > > This is not how the current SCSI system does it > (linux/drivers/scsi/sd.c). Sorry for the misinformation, I didn't look at the details... :-\ > For writes from an un-DMAable buffer, it > allocates in low memory, copies, and then writes. If I'm reading the > code correctly, for reads, the code simply allocates a buffer in > DMAable memory. No copy, no use of high memory. This has the bad > side-effect of limiting your disk buffers to that area in memory, and > increases pressure on that memory. Indeed; not as bad pressure as on the low 16Mb on an ISA machine, but pressure none the less. > But it doesn't waste any time > copying. It would be fairly simple to extend this code to use a bounce > buffer if the system was running low on DMAable memory. But it still doesn't handle direct read to a user-defined buffer in non-DMAable space, does it? --Jay++ ----------------------------------------------------------------------------- American Non Sequitur Society: we don't make sense, but we do like pizza... Jay A Estabrook Alpha Motherboards - LINUX Project Compaq Computer Corp. (508) 841-3241 or (DTN) 237-3241 334 South Street, Shrewsbury, MA 01545 Jay.Estabrook@digital.com -----------------------------------------------------------------------------