Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: > 1GB on alpha.  Patch to 1TB?
       [not found] <199903132048.VAA11627@sunsite.mff.cuni.cz>
@ 1999-03-13 21:17 ` Matthew Jacob
  1999-03-14 16:02 ` Jay.Estabrook
  1 sibling, 0 replies; 17+ messages in thread
From: Matthew Jacob @ 1999-03-13 21:17 UTC (permalink / raw)
  To: Jakub Jelinek; +Cc: axp-list, debian-alpha, linux-kernel, torvalds

On Sat, 13 Mar 1999, Jakub Jelinek wrote:

> > There are a growing number of 64 bit PCI implementations. Alpha has quite
> > a chunk of this, and so does UltraSparc.
> > 
> > Is there a framework in place or a notion of how the Linux PCI stuff ought
> > to cope with this yet?
> 
> There is something in the sparc tree, which is used also for sun4c and sun4d
> (where there is only 64MB of DMA per board, so one has to remap DMA areas
> during runtime).
> Besically, each driver before it starts doing dma uses some function which
> translates virtual address + length to dma address and allocates it, then
> after the dma the driver has to release it again.
> Martin Mares and myself are considering this as part of the new buses
> interface we plan for 2.3. The Ultra port supports even now huge amounts of
> memory, but uses bounce buffers for that. I plan to change it in early 2.3.
> 

Good. There's a moral equivalent for this in some alpha implementations
(rawhide comes to mind).  I have two different Qlogic cards that
could be ready to start taking full 64 bit addresses.

-matt



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: > 1GB on alpha. Patch to 1TB?
       [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.
  1 sibling, 1 reply; 17+ messages in thread
From: Jay.Estabrook @ 1999-03-14 16:02 UTC (permalink / raw)
  To: Jakub Jelinek; +Cc: axp-list, debian-alpha, linux-kernel


>>> Jakub Jelinek said:
> 
> There is something in the sparc tree, which is used also for sun4c and sun4d
> (where there is only 64MB of DMA per board, so one has to remap DMA areas
> during runtime).
> Besically, each driver before it starts doing dma uses some function which
> translates virtual address + length to dma address and allocates it, then
> after the dma the driver has to release it again.

This is a technique that would work on the Alphas as well, but as noted above,
it *does* require driver modifications to manage the resource correctly.

On Alpha, in addition to the direct-map DMA windows which are currently
used, one can define what we call "scatter-gather" DMA windows. The range of
PCI addresses that fall into one of these windows are re-directed to host
memory via a page table, where the address in a PTE can be *any* page in the
possible installed memory - no bounce buffers needed... :-)
 
> Martin Mares and myself are considering this as part of the new buses
> interface we plan for 2.3. The Ultra port supports even now huge amounts of
> memory, but uses bounce buffers for that. I plan to change it in early 2.3.

Great! Keep us posted with your progress.

--Jay++

-------------------------------------------------------------------------------
  American Non Sequitur Society: we don't make sense, but we do like pizza...

Jay A Estabrook                            Alpha Motherboards - LINUX Project
Compaq Computer Corporation                (508) 841-3241 or (DTN) 237-3241
334 South Street, Shrewsbury, MA 01545     Jay.Estabrook@digital.com
-------------------------------------------------------------------------------





^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: > 1GB on alpha. Patch to 1TB?
  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-16  0:34     ` > 1GB on alpha. Patch to 1TB? Bob McElrath
  0 siblings, 2 replies; 17+ messages in thread
From: James H. Cloos Jr. @ 1999-03-15 19:14 UTC (permalink / raw)
  To: axp-list, debian-alpha, linux-kernel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "Jay" == Jay Estabrook <Jay.Estabrook@digital.com> writes:

Jay> On Alpha, in addition to the direct-map DMA windows which are currently
Jay> used, one can define what we call "scatter-gather" DMA windows. The range of
Jay> PCI addresses that fall into one of these windows are re-directed to host
Jay> memory via a page table, where the address in a PTE can be *any* page in the
Jay> possible installed memory - no bounce buffers needed... :-)
 
I suspect this is what the original poster was referring to.  In any
case, for 2.3 at least, this would be the best target to shoot for, IMO.

How much effort would be required to implement this scheme?  If the
`scatter-gather' were set up at device resolution, rather than page
resolution, would the drivers even require modification?

- -JimC
- -- 
James H. Cloos, Jr.  <http://www.jhcloos.com/cloos/public_key> 1024D/ED7DAEA6 
<cloos@jhcloos.com>     E9E9 F828 61A4 6EA9 0F2B  63E7 997A 9F17 ED7D AEA6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v0.9.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE27VwCmXqfF+19rqYRAm1wAKC+yEIjLVDvfw1ZivutxFUmp5uOxQCgt/vf
O65FH3z0ypFtaOWiktpYD2Q=
=Ku2z
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: > 1GB on alpha. Patch to 1TB?
  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  0:34     ` > 1GB on alpha. Patch to 1TB? Bob McElrath
  1 sibling, 1 reply; 17+ messages in thread
From: Michal Jaegermann @ 1999-03-15 19:41 UTC (permalink / raw)
  To: axp-list

James H. Cloos Jr. wrote:
> 
> >>>>> "Jay" == Jay Estabrook <Jay.Estabrook@digital.com> writes:
> 
> Jay> On Alpha, in addition to the direct-map DMA windows which are currently
> Jay> used, one can define what we call "scatter-gather" DMA windows. The range of
> Jay> PCI addresses that fall into one of these windows are re-directed to host
> Jay> memory via a page table, where the address in a PTE can be *any* page in the
> Jay> possible installed memory - no bounce buffers needed... :-)
>  
> How much effort would be required to implement this scheme?

On ftp://ftp.tux.org/pub/roudier/misc-stuff/  one can find some
initial version of scsi-scbuf....  A header comment says:

   Simple scattered buffer management for Linux SCSI

A question to people who looked at these issues closer: is this
something going into a right direction?

   Michal


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: > 1GB on alpha. Patch to 1TB?
  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
  0 siblings, 2 replies; 17+ messages in thread
From: Matti Aarnio @ 1999-03-15 21:46 UTC (permalink / raw)
  To: axp-list

Michal Jaegermann <michal@ellpspace.math.ualberta.ca> wrote:
> On ftp://ftp.tux.org/pub/roudier/misc-stuff/  one can find some
> initial version of scsi-scbuf....  A header comment says:
> 
>    Simple scattered buffer management for Linux SCSI
> 
> A question to people who looked at these issues closer: is this
> something going into a right direction?

  No, that isn't the same thing.   In fact the Alpha system chipset
documentation (LCA, CIA, ALCOR, etc..) while speaking of "scatter-
gather" do also note that it is not *quite* the same as what you
would consider e.g. in SCSI operation:

"In peripheral components architecture, the term scatter-gather is not an
 address translation scheme but instead is used to signify a DMA transfer
 list.  An element of this transfer list contains the DMA address and the
 number of data items to transfer. The DMA device fetches each item of the
 list until the list is empty. Many of the PCI devices, such as the PCI-to-
 EISA bridge, support this form of scatter-gather process."

A thing closer to what we are speaking of is SPARC IOMMU.

>    Michal

/Matti Aarnio <matti.aarnio@sonera.fi>


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: > 1GB on alpha. Patch to 1TB?
  1999-03-15 19:14   ` James H. Cloos Jr.
  1999-03-15 19:41     ` Michal Jaegermann
@ 1999-03-16  0:34     ` Bob McElrath
  1999-03-16  5:12       ` Jay.Estabrook
  1 sibling, 1 reply; 17+ messages in thread
From: Bob McElrath @ 1999-03-16  0:34 UTC (permalink / raw)
  To: James H. Cloos Jr.; +Cc: axp-list, debian-alpha, linux-kernel

On 15 Mar 1999, James H. Cloos Jr. wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> >>>>> "Jay" == Jay Estabrook <Jay.Estabrook@digital.com> writes:
> 
> Jay> On Alpha, in addition to the direct-map DMA windows which are currently
> Jay> used, one can define what we call "scatter-gather" DMA windows. The range of
> Jay> PCI addresses that fall into one of these windows are re-directed to host
> Jay> memory via a page table, where the address in a PTE can be *any* page in the
> Jay> possible installed memory - no bounce buffers needed... :-)
>  
> I suspect this is what the original poster was referring to.  In any
> case, for 2.3 at least, this would be the best target to shoot for, IMO.
> 
> How much effort would be required to implement this scheme?  If the
> `scatter-gather' were set up at device resolution, rather than page
> resolution, would the drivers even require modification?

Yes.  It still requires that a driver allocate a section of memory that it
is going to be using for PCI communication.  There's no way around this.

I (the original poster) don't know if a scatter-gather solution is required
(it is supported by alpha hardware, I don't know about others).  It may be
possible to do it without scatter-gather support in hardware.  At any rate,
it looks like all device drivers that are going to be using PCI transfers
will have to do something like:

bus_alloc(<buffer address>, <size>);
out(virt_to_bus(<buffer address>), HARDWARE_DO_SOMETHING_PORT);
[...]
bus_dealloc(<buffer address>);

virt_to_bus is currently implemented, but cannot on the fly determine how to
reallocate mappings so as to not clobber another device, unless it is told
(via my bus_alloc or something similar) who is using what regions of the PCI
address space.

Note that using this bus_alloc/bus_dealloc implementation allows the driver
to keep several buffers.  Also note that giving the hardware a different
address within the buffer should work fine too.  (out(virt_to_bus(<buffer
address> + 0x4000), HARDWARE_DO_SOMETHING_PORT) etc.)

On alpha scatter-gather is simply an address translation scheme that allows
small granularity (8kb).  I don't know how much kernel support beyond
bus_alloc/virt_to_bus/bus_dealloc would be required to implement bounce
buffers using the scatter-gather mappings.  Perhaps someone who understands
bounce buffers would care to comment?  (I'm still not sure what they are...)

I wonder if it would be possible to take a poll of hardware owners to
determine which chipsets support scatter-gather.  I don't know if this is
part of the PCI spec, or a hack implemented by Digital and Sun.  Will Merced
chipsets support scatter-gather?  At any rate, a generic
bus_alloc/bus_dealloc should be able to hide whatever memory->bus remapping
the hardware supports...whether scatter-gather exists on all chipsets or
not.

Most importantly: if bounce buffers are required to access memory >1GB from
PCI, can it be done with a simple bus_alloc/virt_to_bus/bus_dealloc?  Or
must we implement a more complex solution that can handle both cases?

-- Bob

Bob McElrath (rsmcelrath@students.wisc.edu) Univ. of Wisconsin at Madison



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: > 1GB on alpha. Patch to 1TB?
  1999-03-15 21:46       ` Matti Aarnio
@ 1999-03-16  1:42         ` Richard Henderson
  1999-03-16  6:04         ` Mike
  1 sibling, 0 replies; 17+ messages in thread
From: Richard Henderson @ 1999-03-16  1:42 UTC (permalink / raw)
  To: axp-list

On Mon, Mar 15, 1999 at 11:46:35PM +0200, Matti Aarnio wrote:
> A thing closer to what we are speaking of is SPARC IOMMU.

No coincidentally, DaveM has quite a number of things we'd need
to be able to handle scatter-gather lists properly.  Of course,
it does all require driver changes, but imo this is still a
Good Thing.


r~


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: > 1GB on alpha. Patch to 1TB?
  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
  0 siblings, 1 reply; 17+ messages in thread
From: Jay.Estabrook @ 1999-03-16  5:12 UTC (permalink / raw)
  To: axp-list, linux-kernel, debian-alpha


>>> Bob McElrath said:
> 
> I (the original poster) don't know if a scatter-gather solution is required
> (it is supported by alpha hardware, I don't know about others).  It may be
> possible to do it without scatter-gather support in hardware.

On Alpha, a scatter-gather solution is the *only* way to allow all devices
direct access to all of memory. Without it, one is forced to employ bounce
buffers.

> On alpha scatter-gather is simply an address translation scheme that allows
> small granularity (8kb).  I don't know how much kernel support beyond
> bus_alloc/virt_to_bus/bus_dealloc would be required to implement bounce
> buffers using the scatter-gather mappings.  Perhaps someone who understands
> bounce buffers would care to comment?  (I'm still not sure what they are... )

Bounce buffers are buffers in memory at locations that can be accessed
directly by devices, in a system which has additional memory which CANNOT be
directly accessed by those devices because of their addressing limitations.
This has been most commonly encountered with "true" ISA devices, which have
a memory address limitation of 16Mb (24 bits). 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".

And one would not use SG mapping to implement bounce buffers; SG mapping
eliminates the need for bounce buffers.

> I wonder if it would be possible to take a poll of hardware owners to
> determine which chipsets support scatter-gather.  I don't know if this is
> part of the PCI spec, or a hack implemented by Digital and Sun.

It is NOT part of the PCI spec; it is a platform specific feature, implemented
(differently) on the ALPHA and SPARC, and probably others.

> Will Merced chipsets support scatter-gather?

No idea, but this would prolly be covered by an NDA at this time, anyway... ;-}

> At any rate, a generic
> bus_alloc/bus_dealloc should be able to hide whatever memory->bus remapping
> the hardware supports...whether scatter-gather exists on all chipsets or
> not.

If correctly designed.

> Most importantly: if bounce buffers are required to access memory >1GB from
> PCI, can it be done with a simple bus_alloc/virt_to_bus/bus_dealloc?  Or
> must we implement a more complex solution that can handle both cases?

Well, let examine it...

Case 1: bus_alloc where direct access is possible without SG mapping, is
        simply the equivalent of virt_to_bus now. bus_dealloc is a no-op.

Case 2: bus_alloc where SG mapping must be used to directly access memory,
        returns the bus address (in the SG map) for the desired destination.
        bus_dealloc will release the SG mapping resources used.

Case 3: bus_alloc where bounce buffers are required, simply returns the
        bus address of an allocated bounce buffer. bus_dealloc would copy
        the bounce buffer to the desired destination, and free the bounce
        buffer.

A bit overly simplistic, but did I miss/overlook anything? Does this seem
reasonable?

--Jay++

-------------------------------------------------------------------------------
  American Non Sequitur Society: we don't make sense, but we do like pizza...

Jay A Estabrook                            Alpha Motherboards - LINUX Project
Compaq Computer Corporation                (508) 841-3241 or (DTN) 237-3241
334 South Street, Shrewsbury, MA 01545     Jay.Estabrook@digital.com
-------------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: > 1GB on alpha. Patch to 1TB?
  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  6:25           ` > 1GB on alpha. Patch to 1TB? Ron Farrer
  1 sibling, 2 replies; 17+ messages in thread
From: Mike @ 1999-03-16  6:04 UTC (permalink / raw)
  To: axp-list

Question to everyone on the list:

	I finally have my multia ready to go. I'm looking to install redhat on it,
however I'm having problems finding documentation (er.. *GOOD*
documentation) on how to go about it. Can someone point me to a
UDB/Multia-specific install guide?

Thanks,

Mike


^ permalink raw reply	[flat|nested] 17+ messages in thread

* UDB/Multia Info (sorry, prev. msg posted w/wrong subject)
  1999-03-16  6:04         ` Mike
@ 1999-03-16  6:25           ` Mike
  1999-03-16  8:58             ` Martin Ostermann
  1999-03-16  6:25           ` > 1GB on alpha. Patch to 1TB? Ron Farrer
  1 sibling, 1 reply; 17+ messages in thread
From: Mike @ 1999-03-16  6:25 UTC (permalink / raw)
  To: axp-list


Sorry, I accidently replied and forgot to remove the subject. I should have
posted it with the correct subject, as it was completely unrelated to the
terabyte alpha memory questions.

Also, in case any of you are wondering, tried looking on redhat's site and
alphalinux with no avail. Perhaps there are some good FAQ's for me to look
at that are multia specific?

Thanks again,

Mike


>Question to everyone on the list:
>
>	I finally have my multia ready to go. I'm looking to install redhat on it,
>however I'm having problems finding documentation (er.. *GOOD*
>documentation) on how to go about it. Can someone point me to a
>UDB/Multia-specific install guide?
>
>Thanks,
>
>Mike
>
>-- 
>To unsubscribe: send e-mail to axp-list-request@redhat.com with
>'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
>
>
>


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: > 1GB on alpha. Patch to 1TB?
  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  6:25           ` Ron Farrer
  1999-03-16  6:28             ` Mike
  1 sibling, 1 reply; 17+ messages in thread
From: Ron Farrer @ 1999-03-16  6:25 UTC (permalink / raw)
  To: axp-list


On Mon, 15 Mar 1999, Mike wrote:

> Question to everyone on the list:
> 
> 	I finally have my multia ready to go. I'm looking to install redhat on it,
> however I'm having problems finding documentation (er.. *GOOD*
> documentation) on how to go about it. Can someone point me to a
> UDB/Multia-specific install guide?
> 
> Thanks,
> 
> Mike

Have a look at http://www.alphalinux.org/docs/udb-multia.shtml


HTH,

Ron Farrer


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: > 1GB on alpha. Patch to 1TB?
  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
  0 siblings, 1 reply; 17+ messages in thread
From: Mike @ 1999-03-16  6:28 UTC (permalink / raw)
  To: axp-list


>Have a look at http://www.alphalinux.org/docs/udb-multia.shtml
>
>
>HTH,
>
>Ron Farrer

Unfortunately the only mutlia-specific instructions listed on their site
are from cpumicromart.com .. they have since redesigned their site and I've
yet to find where they are hiding the multia-linux install instructions on
there.. I remember searching a few weeks ago and found a very detailed FAQ
on installing linux on a multia, but have been unable to relocate it.

Thanks for trying,

Mike



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: UDB/Multia Info (sorry, prev. msg posted w/wrong subject)
  1999-03-16  6:25           ` UDB/Multia Info (sorry, prev. msg posted w/wrong subject) Mike
@ 1999-03-16  8:58             ` Martin Ostermann
  0 siblings, 0 replies; 17+ messages in thread
From: Martin Ostermann @ 1999-03-16  8:58 UTC (permalink / raw)
  To: Mike; +Cc: axp-list

On Mon, 15 Mar 1999 23:25:03 -0700, Mike <anitrate@dakotacom.net> said:

> Sorry, I accidently replied and forgot to remove the subject. I should have
> posted it with the correct subject, as it was completely unrelated to the
> terabyte alpha memory questions.

You should have also removed the "References:" line of the
Header. Probably it would be best, to post a new article instead of
doing a reply, if there's nothing related.

Martin
-- 
Martin Ostermann                | mailto:ost+sig0@comnets.rwth-aachen.de
Communication Networks          | http://www.comnets.rwth-aachen.de/~ost
Aachen University of Technology | phone: ++49/241/807917
Germany                         | fax: ++49/241/8890378


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Multia install info....
  1999-03-16  6:28             ` Mike
@ 1999-03-16 12:10               ` Rich Payne
  1999-03-17  4:47                 ` Mike
  0 siblings, 1 reply; 17+ messages in thread
From: Rich Payne @ 1999-03-16 12:10 UTC (permalink / raw)
  To: axp-list

On Mon, 15 Mar 1999, Mike wrote:
> 
> >Have a look at http://www.alphalinux.org/docs/udb-multia.shtml
> >
> >
> >HTH,
> >
> >Ron Farrer
> 
> Unfortunately the only mutlia-specific instructions listed on their site
> are from cpumicromart.com .. they have since redesigned their site and I've
> yet to find where they are hiding the multia-linux install instructions on
> there.. I remember searching a few weeks ago and found a very detailed FAQ
> on installing linux on a multia, but have been unable to relocate it.
> 

Here's the CPU Micromart info you were looking for:
http://www.cpumicromart.com/service/downloads/multia.cfm

Try the collected hints and tips, there are some install directions in
there.

Sorry the link on AlphaLinux.org doesn't take you there, I'll be sure to
fix it ASAP.

--rdp

Rich Payne
rpayne@alphalinux.org			www.alphalinux.org



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: > 1GB on alpha. Patch to 1TB?
  1999-03-16  5:12       ` Jay.Estabrook
@ 1999-03-16 13:09         ` Greg Lindahl
  1999-03-16 18:08           ` Jay.Estabrook
  0 siblings, 1 reply; 17+ messages in thread
From: Greg Lindahl @ 1999-03-16 13:09 UTC (permalink / raw)
  To: axp-list

> 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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: > 1GB on alpha. Patch to 1TB?
  1999-03-16 13:09         ` Greg Lindahl
@ 1999-03-16 18:08           ` Jay.Estabrook
  0 siblings, 0 replies; 17+ messages in thread
From: Jay.Estabrook @ 1999-03-16 18:08 UTC (permalink / raw)
  To: axp-list


>>> 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
-----------------------------------------------------------------------------



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Multia install info....
  1999-03-16 12:10               ` Multia install info Rich Payne
@ 1999-03-17  4:47                 ` Mike
  0 siblings, 0 replies; 17+ messages in thread
From: Mike @ 1999-03-17  4:47 UTC (permalink / raw)
  To: axp-list

At 07:10 AM 3/16/99 -0500, you wrote:
>Here's the CPU Micromart info you were looking for:
>http://www.cpumicromart.com/service/downloads/multia.cfm
>
>Try the collected hints and tips, there are some install directions in
>there.
>
>Sorry the link on AlphaLinux.org doesn't take you there, I'll be sure to
>fix it ASAP.
>
>--rdp
>
>Rich Payne
>rpayne@alphalinux.org			www.alphalinux.org

Thanks,

	It worked like a beaut ('cept for the SIZE=2 in the milo instructions)...
Anyhow, I got it going, so thus begins my 64 bit experience =)

Mike



^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~1999-03-17  4:59 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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
1999-03-16 18:08           ` Jay.Estabrook

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