Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: _@_._ (Chris Pirih, proverbs at wolfenet dot com)
Subject: Re: Why is our Alpha box so slow?
Date: 1998/08/04	[thread overview]
Message-ID: <omlet.35c7714fwn@news.aa.net> (raw)
In-Reply-To: 6q55em$a58$1@mips.rhein-neckar.de

In article <6q55em$a58$1@mips.rhein-neckar.de>,
 naddy@mips.rhein-neckar.de (Christian Weisgerber) wrote:
| The result on the Alpha box (Red Hat 5.1, 2.0.33, egcs-2.90.29, -O3) is
| bizarre:
| 
|    1k:    149679693     *
|    2k:    149316456     *  8k 1st level cache
|    4k:    144773425     *
|    8k:    144881972     *
|   16k:    104659487     .
|   32k:    104677115     .
|   64k:    104652525     .
|  128k:    104110833     .  huh!? we have 1M
|  256k:     56204479        of 2nd level cache
|  512k:     40814057
| 1024k:     32698979
| 2048k:     26571787        continuously getting slower!?
| 4096k:     24232887

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.

Hmm...  Actually, I just ran the benchmark on my 5x86, and it gives
the same shape curve as the Alphas:

   1k:    159719763
   2k:    159770978
   4k:    159648998
   8k:    159333539
  16k:    153094855  L1
  32k:     88254014
  64k:     88369331
 128k:     88251360
 256k:     71518883
 512k:     61695135  L2
1024k:     53851179
2048k:     51091243
4096k:     50810323

The 5x86 has 512K L2 cache.  I suspect the difference is that the
Pentium has separate L1 caches for instructions and data, whereas
the Alphas and 5x86 have unified L1 cache.  We're seeing some
contention between data and instruction bandwidth.  I'll bet this
also has some effect on real-life performance.

---
chris



  reply	other threads:[~1998-08-04  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 ` Paul Tomblin
1998-08-01  4:00 ` Greg Lindahl
1998-08-03  4:00   ` Christian Weisgerber
1998-08-02  4:00 ` Carlos Vidal
1998-08-03  4:00 ` Christian Weisgerber
1998-08-04  4:00   ` Chris Pirih, proverbs at wolfenet dot com [this message]
1998-08-05  4:00     ` David A Willmore
1998-08-12  4:00       ` Chris Pirih, proverbs at wolfenet dot com
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   ` Christian Weisgerber
1998-08-06  4:00   ` Alex Rhomberg
1998-08-06  4:00     ` Robert Harley
1998-08-06  4:00     ` Christian Weisgerber
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