Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: willmore@whelk.cig.mot.com (David A Willmore)
Subject: Re: Why is our Alpha box so slow?
Date: 1998/08/05	[thread overview]
Message-ID: <willmore.902336065@whelk> (raw)
In-Reply-To: omlet.35c7714fwn@news.aa.net

_@_._ (Chris Pirih, proverbs at wolfenet dot com) writes:
>My UDB gives similar strange results.  It's supposed to have 256KB cache.

>   1k:    162429336
>   2k:    161239327
>   4k:    153634196
>   8k:    152466836  L1
>  16k:    115433109
>  32k:    115493359
>  64k:    115693927
> 128k:     54652508
> 256k:     33898287  L2
> 512k:     24448508
>1024k:     21316260
>2048k:     21236215
>4096k:     21339344

>As you can see by the 1024k-4096k numbers, main memory bandwidth SUCKS.
>It is on par with my slowest 486 (DX2/66), and about half the speed of 
>my fastest 486 (AMD 160).  I thought these things were supposed to have
>64 bit memory busses!  Anyway, that's probably why it seems so slow at
>normal tasks.

IIRC, the '66s have a smaller than Alpha usual memory bus as they have a lower
pin count package and they use some of those scarse pins for an on chip PCI
bus, right?  Also, most all FP code hits memory hard, so you're going to see
a great degredation in performance running that style of code on a 66.

Another point to consider is that GCC is somewhat unusual for integer code.
Normally the two buckets are int/good cache behavior and fp/bad cache behavior.
Now, those are gross generalizations, but they are normally correct.

GCC hits the memory system harder than any other int app I know of.  Given
that you have a RISC system (somewhat larger code size, much larger pointer
size), you'll have a bigger cache footprint than an x86 running similar code.
So, since the normal GCC 'happy cache size' of 512k should be a bit bigger
on an alpha, I would guess that your true problem is that your cache size
is either set incorrectly, or, as Linus said, you're just suffering from 
poor page coloring.

I'd feel sorry for you, but my 386SX-16 gets that job. :)  It's got 4 meg,
it runs Linux 2.1.114, and, yes, it likes it.

Cheers,
David



  reply	other threads:[~1998-08-05  4:00 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-01  4:00 Why is our Alpha box so slow? Christian Weisgerber
1998-08-01  4:00 ` B. James Phillippe
1998-08-03  4:00   ` Eric Christy
1998-08-03  4:00   ` Christian Weisgerber
1998-08-05  4:00     ` B. James Phillippe
1998-08-01  4:00 ` Greg Lindahl
1998-08-03  4:00   ` Christian Weisgerber
1998-08-01  4:00 ` Paul Tomblin
1998-08-02  4:00 ` Carlos Vidal
1998-08-03  4:00 ` Christian Weisgerber
1998-08-04  4:00   ` Linus Torvalds
1998-08-04  4:00     ` Robert Harley
1998-08-06  4:00     ` Christian Weisgerber
1998-08-14  4:00     ` bmeyer
1998-08-04  4:00   ` Chris Pirih, proverbs at wolfenet dot com
1998-08-05  4:00     ` David A Willmore [this message]
1998-08-12  4:00       ` Chris Pirih, proverbs at wolfenet dot com
1998-08-04  4:00   ` Christian Weisgerber
1998-08-06  4:00   ` Alex Rhomberg
1998-08-06  4:00     ` Christian Weisgerber
1998-08-06  4:00     ` Robert Harley
1998-08-06  4:00   ` B. James Phillippe
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