Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Bill Broadley <bill@math.ucdavis.edu>
To: axp-list@redhat.com
Subject: Re: XP1000 and Linux
Date: Tue, 23 Mar 1999 17:26:20 -0800	[thread overview]
Message-ID: <19990323172620.D25597@proto.math.ucdavis.edu> (raw)
In-Reply-To: <199903240112.UAA10706@adder.cs.Virginia.EDU>; from Greg Lindahl on Tue, Mar 23, 1999 at 08:12:34PM -0500

On Tue, Mar 23, 1999 at 08:12:34PM -0500, Greg Lindahl wrote:
> > Twice the memory bandwidth (Stream is 500 ish vs 1000 ish), twice
> > the memory slots, and twice the pci busses I believe.
> 
> Both have 2 PCI busses -- same chipset, remember? 

Well same chipset doesn't mean the PCI slots are there, but yes
your right and I was wrong.

>As for stream,
>that's hardly settled.

I'm going on slides from a presentation Compaq recently gave during
a beowulf/linux presentation here last week.  After reading back further 
back there seems to be reports of very similiar bandwidth with stream.

I guess maybe the XP1000 that compaq quoted had one memory bank full
instead of two.

To make stream results more accurate on the XP1000 and DS20 with small
memory configs I'd suggest replacing streams second call with something 
similiar to:

int clockspeed;              \

#ifdef __alpha
static inline unsigned int
getcycle(){
        unsigned long r;

        asm volatile("rpcc %0" : "=r"(r));  /* read the process cycle counter */
        return r;                           /* return lower 32 bits */
}
#endif  /* __alpha */


double
second ()                       /* on first call find the relationship */
                                /* between seconds and clock cycles, */
                                /* otherwise return a double thats wallclock */
{
  /* Use getcycle code to get a more accurate clock on intel-linux */
  unsigned long long begin, end;
  static int inittime = 0;
  if (inittime == 0)
    {
      inittime = 1;
      begin = getcycle ();
      sleep (5);
      end = getcycle ();
      clockspeed = (end - begin) / 5;   /* set global clockspeed */
      printf ("Detected clock is %f\n", (float) clockspeed / 1000000);
      printf ("Warning timings longer then %4.2f seconds will fails\n",
                (double)4294967295/clockspeed);
    }
  return ((double) (getcycle ()) / clockspeed);
}

Be warned though that once the cycle counter flips (every 8 seconds
on the 21264) my counter breaks.


  reply	other threads:[~1999-03-24  1:39 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-20  8:27 XP1000 and Linux Thomas Leitner
1999-03-20  9:00 ` Wes Bauske
1999-03-20 10:40   ` Thomas Leitner
1999-03-21  0:42     ` Wes Bauske
1999-03-21  3:25       ` Wes Bauske
1999-03-21 19:40       ` Greg Lindahl
1999-03-21 20:43         ` Wes Bauske
1999-03-21 21:07           ` Greg Lindahl
1999-03-22  3:03             ` Wes Bauske
1999-03-22  3:18               ` Greg Lindahl
1999-03-24  0:57         ` Bill Broadley
1999-03-24  1:12           ` Greg Lindahl
1999-03-24  1:26             ` Bill Broadley [this message]
1999-03-24  3:13               ` Greg Lindahl
1999-03-24  4:19             ` Maurice Hilarius
1999-03-24  5:02               ` Jay.Estabrook
1999-03-24 15:49                 ` Greg Lindahl
1999-03-24 18:16                   ` Wes Bauske
  -- strict thread matches above, loose matches on Subject: below --
1999-03-22  0:21 Stig Telfer
1999-03-22  0:55 ` Greg Lindahl
1999-03-22  2:10 ` Richard Henderson
1999-03-22  5:12 ` Wes Bauske
1999-03-22  5:51   ` Wes Bauske
1999-03-22  8:41     ` Wes Bauske
1999-03-22 14:38       ` Greg Lindahl
1999-03-22 17:03         ` Wes Bauske
1999-03-18 18:26 John Jemiolo
1999-03-18 20:06 ` Wes Bauske
1999-03-18 23:16 ` Wes Bauske
1999-03-18 16:05 Hoover, Tony
1999-03-18 17:18 ` Wes Bauske
1999-03-18  7:00 Wes Bauske
1999-03-18  7:48 ` Bill Broadley
1999-03-18 16:58   ` Wes Bauske
1999-03-18 17:18     ` Greg Lindahl
1999-03-18 20:01       ` Wes Bauske
1999-03-18 20:58         ` Greg Lindahl
1999-03-18 21:30           ` Wes Bauske
1999-03-19 20:34       ` Maurice Hilarius
1999-03-19 21:03         ` Greg Lindahl
1999-03-19 23:35           ` Wes Bauske
1999-03-20  5:37           ` Bill Roman
1999-03-24  3:27           ` Maurice Hilarius
1999-03-18 10:17 ` Matti Aarnio
1999-03-18 14:35 ` Greg Lindahl
1999-03-18 17:29 ` Jay.Estabrook
1999-03-24  2:20   ` Maurice Hilarius
1999-03-24 17:56     ` Oleg Gusev
1999-03-24 20:09       ` Maurice Hilarius
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