Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: axp-list@redhat.com
Subject: Re: > 1GB on alpha. Patch to 1TB?
Date: Sat, 13 Mar 1999 19:21:05 -0800	[thread overview]
Message-ID: <19990313192105.A14626@twiddle.net> (raw)
In-Reply-To: <199903132357.PAA04728@icarus.com>; from Stephen Williams on Sat, Mar 13, 1999 at 03:57:48PM -0800

On Sat, Mar 13, 1999 at 03:57:48PM -0800, Stephen Williams wrote:
> > With 32-bit PCI devices, it is difficult to get past 2GB RAM.  More
> > than that requires either bounce buffers or that PCI windows be
> > adjusted at runtime to cope with the various outstanding DMA requests.
> > 
> 
> The problem is buffer allocation.

Read "bounce buffers".

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.

There are two ways to get the data there -- either through an intermediate
buffer in a page frame the device can actually see, as you note NT does. 

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.

The trick of course being that there are only N dma windows, and they
must service all outstanding dma requests simultaneously, and otherwise
the request must queue or fall back to a bounce buffer.

> The interface is really simple and should be able to handle the problem
> quite easily.

But is not necessarily the best way.


r~


  parent reply	other threads:[~1999-03-14  3:29 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 [this message]
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
  -- 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