From: Greg Lindahl <lindahl@cs.virginia.edu>
To: axp-list@redhat.com
Subject: Re: > 1GB on alpha. Patch to 1TB?
Date: Sun, 14 Mar 1999 13:23:43 -0500 (EST) [thread overview]
Message-ID: <199903141823.NAA00858@adder.cs.Virginia.EDU> (raw)
In-Reply-To: <19990313192105.A14626@twiddle.net> from "Richard Henderson" at Mar 13, 99 07:21:05 pm
> We do already prefer `dma-able' pages for dma tasks. There is a kmalloc
> flag just for that. No matter what you do though, at some point it will
> so happen that the data is required at some high physical address.
One trivial example would be a system with 8 gigs in which it makes
sense to have more than 4 gigs used for disk cache. Another example is
a driver that DMAs to user-allocated buffers. A third example is any
system which has more than 4 gigs of ram; although we prefer dma-able
pages for dma tasks, there's no way you can *guarantee* that you can get
a dma-able page when you want a buffer; you might have to copy a page
to high memory.
> Alternately, we can adjust the DMA window so that physical addresses
> 0x100000000 through 0x13FFFFFFF (4GB - 5GB) are visible at PCI addresses
> 0xC0000000 through 0xFFFFFFFF (3GB - 4GB). At which point we do not have
> to copy data around in kernel space, which is a real win.
Doesn't this require some driver modifications? We need to keep this
in mind, too, in our solution. This solution is probably the highest
performance. Another intermediate solution is to prefer dma-able pages
and have every driver know how to employ a bounce buffer if the
destination is not dma-able. This requires modifying every driver. The
third solution is to use windows in clever ways. That requires
modifying every driver, and we'd probably have to also require bounce
buffer capability since you can run out of DMA windows, or there could
be architecture which has no windows.
-- greg
next prev parent reply other threads:[~1999-03-14 18:32 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-11 5:57 > 1GB on alpha. Patch to 1TB? 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 [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-03-11 20:28 Anders Blicher Petersen
[not found] <199903132048.VAA11627@sunsite.mff.cuni.cz>
1999-03-13 21:17 ` 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 ` Ron Farrer
1999-03-16 6:28 ` Mike
1999-03-16 0:34 ` Bob McElrath
1999-03-16 5:12 ` Jay.Estabrook
1999-03-16 13:09 ` Greg Lindahl
1999-03-16 18:08 ` Jay.Estabrook
[not found] <19990315002405.A2138@alpha.franken.de>
1999-03-15 0:54 ` Jay.Estabrook
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