Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Greg Lindahl <lindahl@cs.virginia.edu>
To: axp-list@redhat.com
Subject: Re: > 1GB on alpha. Patch to 1TB?
Date: Tue, 16 Mar 1999 08:09:22 -0500 (EST)	[thread overview]
Message-ID: <199903161309.IAA04803@adder.cs.Virginia.EDU> (raw)
In-Reply-To: <199903160512.AAA03495@alpha1.estabrook.org> from "Jay.Estabrook@digital.com" at Mar 16, 99 00:12:19 am

> In a machine which has more
> than 16Mb of memory, a device driver could allocate a buffer in the low 16Mb
> of the address space, do the device DMA to that buffer, and then copy the
> data out of that buffer to a memory location above 16Mb, hence the name
> "bounce buffer".

This is not how the current SCSI system does it
(linux/drivers/scsi/sd.c).  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. 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. 

-- g


  reply	other threads:[~1999-03-16 13:18 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <199903132048.VAA11627@sunsite.mff.cuni.cz>
1999-03-13 21:17 ` > 1GB on alpha. Patch to 1TB? Matthew Jacob
1999-03-14 16:02 ` Jay.Estabrook
1999-03-15 19:14   ` James H. Cloos Jr.
1999-03-15 19:41     ` Michal Jaegermann
1999-03-15 21:46       ` Matti Aarnio
1999-03-16  1:42         ` Richard Henderson
1999-03-16  6:04         ` Mike
1999-03-16  6:25           ` UDB/Multia Info (sorry, prev. msg posted w/wrong subject) Mike
1999-03-16  8:58             ` Martin Ostermann
1999-03-16  6:25           ` > 1GB on alpha. Patch to 1TB? Ron Farrer
1999-03-16  6:28             ` Mike
1999-03-16 12:10               ` Multia install info Rich Payne
1999-03-17  4:47                 ` Mike
1999-03-16  0:34     ` > 1GB on alpha. Patch to 1TB? Bob McElrath
1999-03-16  5:12       ` Jay.Estabrook
1999-03-16 13:09         ` Greg Lindahl [this message]
1999-03-16 18:08           ` Jay.Estabrook
     [not found] <19990315002405.A2138@alpha.franken.de>
1999-03-15  0:54 ` Jay.Estabrook
1999-03-11 20:28 Anders Blicher Petersen
  -- strict thread matches above, loose matches on Subject: below --
1999-03-11  5:57 Bob McElrath
1999-03-11  6:13 ` Greg Lindahl
1999-03-11  7:14   ` Gerhard Schneider
1999-03-11 17:17     ` Maurice Hilarius
1999-03-11 20:03     ` Greg Lindahl
1999-03-11 16:50   ` Ron Farrer
1999-03-11 17:19     ` Maurice Hilarius
1999-03-11 17:39       ` Ron Farrer
1999-03-11 18:17         ` Maurice Hilarius
1999-03-11 18:31           ` Ron Farrer
1999-03-12  0:47   ` Steve Frampton
1999-03-12  1:01     ` Larry Snyder
1999-03-12  1:31       ` mgraffam
1999-03-12  4:51         ` Izaak Bozof
1999-03-13 18:45 ` Richard Henderson
1999-03-13 18:50   ` Matthew Jacob
1999-03-13 23:58     ` Stephen Williams
1999-03-14 21:04       ` Matthew Jacob
1999-03-13 19:16   ` Dave Gilbert
1999-03-13 23:57   ` Stephen Williams
1999-03-14  3:18     ` Matti Aarnio
1999-03-15 22:47       ` Greg Lindahl
1999-03-15 23:02         ` Matti Aarnio
1999-03-16  5:25           ` Jay.Estabrook
1999-03-14  3:21     ` Richard Henderson
1999-03-14  5:51       ` Stephen Williams
1999-03-14 17:59         ` Greg Lindahl
1999-03-14 20:45           ` Stephen Williams
1999-03-14 20:50             ` Greg Lindahl
1999-03-14 21:19               ` Stephen Williams
1999-03-14 21:44                 ` Greg Lindahl
1999-03-15  9:59                 ` Matti Aarnio
1999-03-15 16:52                   ` Stephen Williams
1999-03-15 17:03                     ` Matthew Jacob
1999-03-14 18:23       ` Greg Lindahl
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox