Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* high performance ethernet and alpha architecture
@ 1999-02-24 21:39 brian
  1999-02-26 15:28 ` Greg Lindahl
  1999-03-03  7:28 ` high performance ethernet and alpha architecture [summary] brian
  0 siblings, 2 replies; 3+ messages in thread
From: brian @ 1999-02-24 21:39 UTC (permalink / raw)
  To: axp-list

I am not yet an alpha owner/user but I've been lurking on this list for
some weeks to determine the feasability of using a alpha/linux platform.

I'm looking to put together a fairly network intensive application and
have been perusing the source of the various linux NIC drivers.

I was just about set on using the ZNYX 346/348 dual/quad port board
when I found in

src/linux/net/de4x5.c  (from 2.2.1)

the following comment:

    I have removed the buffer copies needed for receive on Intels.  I cannot
    remove them for   Alphas since  the  Tulip hardware   only does longword
    aligned  DMA transfers  and  the  Alphas get   alignment traps with  non
    longword aligned data copies (which makes them really slow). No comment.

I presume that the author meant 32bit for the first longword, and 64bit
for the second longword.

Is this still an issue with tulip-like cards on the Alpha?

Looking at the yellowfin (gigabit) driver it seems that it can both skip
the extra copy and is 64bit aligned by nature of the cards being 64bit
PCI cards.  However, the density of ports low (1 per 64bit PCI slot).

-- 
Brian Litzinger <brian@litzinger.com>


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

* Re: high performance ethernet and alpha architecture
  1999-02-24 21:39 high performance ethernet and alpha architecture brian
@ 1999-02-26 15:28 ` Greg Lindahl
  1999-03-03  7:28 ` high performance ethernet and alpha architecture [summary] brian
  1 sibling, 0 replies; 3+ messages in thread
From: Greg Lindahl @ 1999-02-26 15:28 UTC (permalink / raw)
  To: axp-list

> the following comment:
> 
>     I have removed the buffer copies needed for receive on Intels.  I cannot
>     remove them for   Alphas since  the  Tulip hardware   only does longword
>     aligned  DMA transfers  and  the  Alphas get   alignment traps with  non
>     longword aligned data copies (which makes them really slow). No comment.

I believe that this is an issue with tulips on the alpha, in Becker's
driver too. However, remember that memcopy speed is much, much higher
than 100 megabits. So I'd suggest testing with your actual app before
you conclude this is a show-stopper. [ At gigabit, it is a significant
performance hit for codes that really want all that bandwidth. ]

You mentioned 4-port cards. If you expect to be able to get more than
100 mbits with your application at any one time, I'd suggest testing
first.

-- greg



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

* Re: high performance ethernet and alpha architecture [summary]
  1999-02-24 21:39 high performance ethernet and alpha architecture brian
  1999-02-26 15:28 ` Greg Lindahl
@ 1999-03-03  7:28 ` brian
  1 sibling, 0 replies; 3+ messages in thread
From: brian @ 1999-03-03  7:28 UTC (permalink / raw)
  To: axp-list

Some time ago I posted a question regarding the DMA buffer alignment
and the tulip chipset on the alpha platform related to:

> src/linux/net/de4x5.c  (from 2.2.1)
> the following comment:
>     I have removed the buffer copies needed for receive on Intels.  I cannot
>     remove them for   Alphas since  the  Tulip hardware   only does longword
>     aligned  DMA transfers  and  the  Alphas get   alignment traps with  non
>     longword aligned data copies (which makes them really slow). No comment.
> ...

> Is this still an issue with tulip-like cards on the Alpha?

This "problem", if you can it that, still exists so far as I can tell.

However, it exists only on the receive side and whether it is really
a performance hit depends on the kind of data you are transmitting.

The gigabit yellowfin driver implements some tradeoffs between various
size incoming packets and "copying" the packet data.

As it happens, in the application for which I am considering the use
of linux/alpha I would not be impacted by the extra copy.

-- 
Brian Litzinger <brian@litzinger.com>


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

end of thread, other threads:[~1999-03-03  7:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-02-24 21:39 high performance ethernet and alpha architecture brian
1999-02-26 15:28 ` Greg Lindahl
1999-03-03  7:28 ` high performance ethernet and alpha architecture [summary] brian

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