From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 11708 invoked from network); 24 Mar 1999 01:39:21 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 24 Mar 1999 01:39:21 -0000 Received: from proto.math.ucdavis.edu (bill@proto.math.ucdavis.edu [169.237.99.34]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id UAA19367 for ; Tue, 23 Mar 1999 20:26:21 -0500 Received: (from bill@localhost) by proto.math.ucdavis.edu (8.8.7/8.8.7) id RAA25824; Tue, 23 Mar 1999 17:26:20 -0800 Date: Tue, 23 Mar 1999 17:26:20 -0800 From: Bill Broadley To: axp-list@redhat.com Subject: Re: XP1000 and Linux Message-ID: <19990323172620.D25597@proto.math.ucdavis.edu> References: <19990323165720.A25597@proto.math.ucdavis.edu> <199903240112.UAA10706@adder.cs.Virginia.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i 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.