Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Fred Kleinsorge <kleinsorge@star.enet.dec.com>
Subject: Re: Question on Alphastation PCI interface
Date: 1996/11/22	[thread overview]
Message-ID: <3295AC24.1D8934AE@star.enet.dec.com> (raw)
In-Reply-To: MAKINO.96Nov16220107@muscat.c.u-tokyo.ac.jp


Jun Makino wrote:
> 
> Hi all,
> 
> I have a question concerning the behavior of the PCI inteface of the
> Alphastation 600. It seems the bandwidth of the Programmed I/O read is
> much lower than what is described in the document, while that of PIO
> write operation is okay.
>

  snip

> The reason for the low read bandwidth is that the PCI interface of the
> Alphastation 600 does not generate the PCI read burst with more than 8
> bytes, while the numbers in the DTJ article clearly indicate that the
> read burst should take place when possible. For PIO write, it
> generates PCI burst write, as expected.
> 
> I would appreciate any information which might be related to this
> difference.
> 
  
  I just saw someone else asking the same question internally... This may
  have been to answer your question.  The answer tends to be - you need
  the compiler to generate 4 sequential quadword reads -

  i.e.

          for (i = 0; i < 256; i+4)
        {
            data[i] = *(((long *)mptr)+i);     /* read */
            data[i+1] = *(((long *)mptr)+i+1); /* read */
            data[i+2] = *(((long *)mptr)+i+2); /* read */
            data[i+3] = *(((long *)mptr)+i+3); /* read */
        }

  check the generated code.  You may need to do a hand coded ASM to get the
  exact code sequences you want.

  What you don't want it to do is ldq and then stq to the destination.  You
  want it to do 4 ldq's to registers, and then 4 stq's to the destination.



      reply	other threads:[~1996-11-22  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-16  5:00 Question on Alphastation PCI interface Jun Makino
1996-11-22  5:00 ` Fred Kleinsorge [this message]
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