* [Fwd: Alpha SMP problem]
@ 2000-11-08 13:51 Reto Baettig
2000-11-08 20:32 ` Jeff Sturm
0 siblings, 1 reply; 21+ messages in thread
From: Reto Baettig @ 2000-11-08 13:51 UTC (permalink / raw)
To: Alpha List Redhat
[-- Attachment #1: Type: text/plain, Size: 1253 bytes --]
Hi
I have a problem whith Alpha SMP's which seems to be kernel-related. I
discussed this on the bug-glibc list but everybody seems to agree that
it cannot be a libc problem.
I attached a little testprogram which reproduces the bug in < 1Minute.
BUT: IT MUST BE STARTED AT LEAST TWICE!
The strange thing is that a single instance of the program runs just
fine. When I start the program a second time, I get segfaults and/or
stuck threads.
We could reproduce this behaviour on different Machines, both with linux
2.2.14 and 2.4.0-test10, but
ONLY ON ALPHA SMP MACHINES.
Here's my configuration:
Linux reto1 2.4.0-test10 #2 SMP Tue Oct 31 19:39:51 PST 2000 alpha
unknown
^^^ ^^^^^
Kernel modules 2.3.19
Gnu C egcs-2.91.66
Gnu Make 3.78.1
Binutils 2.9.5.0.22
Linux C Library 2.1.3
Dynamic linker ldd (GNU libc) 2.1.3
Procps 2.0.6
Mount 2.10f
Net-tools 1.54
Console-tools 0.3.3
Sh-utils 2.0
Modules Loaded nfs lockd sunrpc
Any ideas?
Please tell me when you need more information, or give me some pointers
where I could start to dig...
TIA
Reto
[-- Attachment #2: malloctest.tgz --]
[-- Type: application/octet-stream, Size: 1127 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [Fwd: Alpha SMP problem]
2000-11-08 20:32 ` Jeff Sturm
@ 2000-11-08 16:51 ` Reto Baettig
2000-11-08 22:44 ` Jeff Sturm
2000-11-08 22:15 ` [Fwd: Alpha SMP problem] Richard Henderson
1 sibling, 1 reply; 21+ messages in thread
From: Reto Baettig @ 2000-11-08 16:51 UTC (permalink / raw)
To: axp-list
[-- Attachment #1: Type: text/plain, Size: 2139 bytes --]
Jeff,
I changed the test program as you suggested but unfortunately it does
not help...
I also changed the program so that we no longer need mb's. The fact that
the problem only occurs when I start the program twice on a system
should convince you that it's not a broken program...
I attached the changed version of the program. Please try it when you
find some time.
More ideas?
Reto
Jeff Sturm wrote:
>
> Reto Baettig wrote:
> > The strange thing is that a single instance of the program runs just
> > fine. When I start the program a second time, I get segfaults and/or
> > stuck threads.
>
> Actually I would expect stuck threads:
>
> mem.delete = 1;
>
> while (mem.delete)
> Th_Delay(1);
>
> mem.delete must be declared `volatile' to prevent that from looping forever.
> However as long you didn't compile with optimizations you can probably get by.
>
> Also, consider that the "Free" thread is writing:
>
> mem->buf = NULL;
> mem->delete = 0;
> // ...loop...
>
> while the "DoTest" thread is reading:
>
> // ...loop....
> mb();
> assert(mem.buf == NULL);
> assert(mem.delete == 0);
>
> The writes to mem->buf and mem->delete may be reordered by the compiler and/or
> CPU. Despite the memory barrier, DoTest can see a non-NULL mem.buf even after
> it sees (mem.delete == 0).
>
> To get guaranteed sequential behavior, you need to use `volatile' and a few more
> membar's, e.g.:
>
> mem->buf = NULL;
> mb();
> mem->delete = 0;
> mb();
>
> and:
>
> mem.buf = malloc(len);
> assert(mem.buf != NULL);
> mb();
>
> th_req[Th_Num]++;
>
> mem.delete = 1;
> mb();
>
> or save yourself the trouble and use a mutex instead.
>
> Honestly I didn't try your program, but I wouldn't consider blaming the kernel
> or glibc as long as your code is incorrect.
>
> --
> Jeff Sturm
> jeff.sturm@commerceone.com
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
[-- Attachment #2: malloctest_2.tgz --]
[-- Type: application/octet-stream, Size: 1083 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [Fwd: Alpha SMP problem]
2000-11-08 22:15 ` [Fwd: Alpha SMP problem] Richard Henderson
@ 2000-11-08 17:39 ` Reto Baettig
2000-11-08 23:53 ` Jeff Sturm
1 sibling, 0 replies; 21+ messages in thread
From: Reto Baettig @ 2000-11-08 17:39 UTC (permalink / raw)
To: axp-list
Richard Henderson wrote:
> I did blame his code until I fixed it and it still failed.
^^^^^^^^^^ ^^^^^^^^^^^^^^^
:-))))))
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [Fwd: Alpha SMP problem]
2000-11-08 13:51 [Fwd: Alpha SMP problem] Reto Baettig
@ 2000-11-08 20:32 ` Jeff Sturm
2000-11-08 16:51 ` Reto Baettig
2000-11-08 22:15 ` [Fwd: Alpha SMP problem] Richard Henderson
0 siblings, 2 replies; 21+ messages in thread
From: Jeff Sturm @ 2000-11-08 20:32 UTC (permalink / raw)
To: axp-list
Reto Baettig wrote:
> The strange thing is that a single instance of the program runs just
> fine. When I start the program a second time, I get segfaults and/or
> stuck threads.
Actually I would expect stuck threads:
mem.delete = 1;
while (mem.delete)
Th_Delay(1);
mem.delete must be declared `volatile' to prevent that from looping forever.
However as long you didn't compile with optimizations you can probably get by.
Also, consider that the "Free" thread is writing:
mem->buf = NULL;
mem->delete = 0;
// ...loop...
while the "DoTest" thread is reading:
// ...loop....
mb();
assert(mem.buf == NULL);
assert(mem.delete == 0);
The writes to mem->buf and mem->delete may be reordered by the compiler and/or
CPU. Despite the memory barrier, DoTest can see a non-NULL mem.buf even after
it sees (mem.delete == 0).
To get guaranteed sequential behavior, you need to use `volatile' and a few more
membar's, e.g.:
mem->buf = NULL;
mb();
mem->delete = 0;
mb();
and:
mem.buf = malloc(len);
assert(mem.buf != NULL);
mb();
th_req[Th_Num]++;
mem.delete = 1;
mb();
or save yourself the trouble and use a mutex instead.
Honestly I didn't try your program, but I wouldn't consider blaming the kernel
or glibc as long as your code is incorrect.
--
Jeff Sturm
jeff.sturm@commerceone.com
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [Fwd: Alpha SMP problem]
2000-11-08 20:32 ` Jeff Sturm
2000-11-08 16:51 ` Reto Baettig
@ 2000-11-08 22:15 ` Richard Henderson
2000-11-08 17:39 ` Reto Baettig
2000-11-08 23:53 ` Jeff Sturm
1 sibling, 2 replies; 21+ messages in thread
From: Richard Henderson @ 2000-11-08 22:15 UTC (permalink / raw)
To: axp-list
On Wed, Nov 08, 2000 at 03:32:23PM -0500, Jeff Sturm wrote:
> Honestly I didn't try your program, but I wouldn't consider blaming the
> kernel or glibc as long as your code is incorrect.
I did blame his code until I fixed it and it still failed.
The following is actually the best fix; nothing needs to be
made volatile, just add write-memory-barriers appropriately.
The Big Issue is that sometimes one gets not segmentation
faults, but illegal instruction faults. This is a hallmark
of incorrect TLB or ASN handling.
r~
--- malloctest-old.c Thu Nov 2 11:05:16 2000
+++ malloctest.c Thu Nov 2 14:37:33 2000
@@ -57,13 +57,13 @@ void Free(void *m)
while (!mem->delete)
Th_Delay(1);
- mb(); /* This is important to ensure that mem->buf
- has been written to memory yet */
-
assert(mem->buf != NULL);
assert(mem->delete);
free(mem->buf);
mem->buf = NULL;
+
+ wmb();
+
mem->delete = 0;
}
}
@@ -86,17 +86,14 @@ void DoTest(long Th_Num)
th_req[Th_Num]++;
+ wmb();
mem.delete = 1;
while (mem.delete)
Th_Delay(1);
- mb(); /* This is important to ensure that mem->buf
- has been written to memory yet */
-
assert(mem.buf == NULL);
assert(mem.delete == 0);
-
}
}
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [Fwd: Alpha SMP problem]
2000-11-08 16:51 ` Reto Baettig
@ 2000-11-08 22:44 ` Jeff Sturm
2000-11-09 6:11 ` should I use 8 DIMMs for UP2000 M/B when I put two 667Mhz processors? Jeong Hwan Park
0 siblings, 1 reply; 21+ messages in thread
From: Jeff Sturm @ 2000-11-08 22:44 UTC (permalink / raw)
To: axp-list
Reto Baettig wrote:
> I attached the changed version of the program. Please try it when you
> find some time.
OK. It's a little hard for me to get my hands on a SMP box I can actually play
with.
Richard says it's causing SIGILL which is a horse of a different color, for
sure. I agree with his assessment. This is something for kernel hackers to look
at, and I believe you already have their attention.
--
Jeff Sturm
jeff.sturm@commerceone.com
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [Fwd: Alpha SMP problem]
2000-11-08 22:15 ` [Fwd: Alpha SMP problem] Richard Henderson
2000-11-08 17:39 ` Reto Baettig
@ 2000-11-08 23:53 ` Jeff Sturm
2000-11-09 1:56 ` Richard Henderson
1 sibling, 1 reply; 21+ messages in thread
From: Jeff Sturm @ 2000-11-08 23:53 UTC (permalink / raw)
To: axp-list
Richard Henderson wrote:
> I did blame his code until I fixed it and it still failed.
> The following is actually the best fix; nothing needs to be
> made volatile, just add write-memory-barriers appropriately.
Richard is right, it works without volatile, because the compiler cannot
recognize that the call to Th_Delay() has no side effects. Replace it with a
macro or asm and the load can get hoisted out of the loop (if the compiler is
smart enough... it turns out that gcc won't make this optimization if the
address of mem is taken at all).
What is the advtange of wmb vs. mb?
--
Jeff Sturm
jeff.sturm@commerceone.com
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: should I use 8 DIMMs for UP2000 M/B when I put two 667Mhz processors?
2000-11-09 6:11 ` should I use 8 DIMMs for UP2000 M/B when I put two 667Mhz processors? Jeong Hwan Park
@ 2000-11-09 1:31 ` W Bauske
2000-11-09 6:31 ` Jeong Hwan Park
2000-11-09 20:18 ` Tom Heibel
2000-11-09 20:24 ` Tom Heibel
2 siblings, 1 reply; 21+ messages in thread
From: W Bauske @ 2000-11-09 1:31 UTC (permalink / raw)
To: axp-list
Jeong Hwan Park wrote:
>
> I want to build the system which has 2 processors and 1GB memory.
>
> Can I use the memory bank 0 which has four 256MB DIMMs only.
>
> Should I use eight 128MB DIMMs ?
>
I've got UP2K's both ways and it doesn't matter. If
you plan on putting in more memory later, use 256MB
DIMM's.
Wes
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [Fwd: Alpha SMP problem]
2000-11-08 23:53 ` Jeff Sturm
@ 2000-11-09 1:56 ` Richard Henderson
0 siblings, 0 replies; 21+ messages in thread
From: Richard Henderson @ 2000-11-09 1:56 UTC (permalink / raw)
To: axp-list
On Wed, Nov 08, 2000 at 06:53:43PM -0500, Jeff Sturm wrote:
> What is the advtange of wmb vs. mb?
On ev5 and later, this adds a token to the store buffer to prevent
combining with anything earlier. Thus you don't actually have to
stall the processor waiting for the store buffer to drain.
r~
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: should I use 8 DIMMs for UP2000 M/B when I put two 667Mhz processors?
2000-11-09 6:31 ` Jeong Hwan Park
@ 2000-11-09 2:09 ` W Bauske
2000-11-09 7:04 ` Greg Lindahl
0 siblings, 1 reply; 21+ messages in thread
From: W Bauske @ 2000-11-09 2:09 UTC (permalink / raw)
To: axp-list
Jeong Hwan Park wrote:
>
> Thanks for your reply.
>
> Is there any performance penalty when I use only one bank for dual
> processors and I run a two big memory I/O intensive process (like STREAM
> benchmark)?
>
4 DIMM's supply 2.6GB/sec peak bandwidth. Adding
additional DIMM's only gives you more memory to
work with. If you want more bandwidth, buy a DS20E.
Note adding more memory can make a system run faster
as more files can be cached in memory and more
simultaneous processes can run without paging/swapping.
I haven't bothered with STREAM in quite a while. I prefer
my own codes as benchmarks.
Wes
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: should I use 8 DIMMs for UP2000 M/B when I put two 667Mhz processors?
2000-11-09 7:04 ` Greg Lindahl
@ 2000-11-09 3:21 ` W Bauske
2000-11-09 15:36 ` Greg Lindahl
0 siblings, 1 reply; 21+ messages in thread
From: W Bauske @ 2000-11-09 3:21 UTC (permalink / raw)
To: axp-list
Greg Lindahl wrote:
>
> > 4 DIMM's supply 2.6GB/sec peak bandwidth.
>
> Not in any real sense. Reasoning about memory systems is much less useful
> than measuring them.
>
Just quoting the marketing info. You and I both know
the only way to know how fast a machine will be is to
run one's own codes on it and see. STREAM is not
representative of any real applications I use.
> > If you want more bandwidth, buy a DS20E.
>
> Why? The stream benchmark is only slightly different.
>
Spec wise, the DS20E should be faster. I don't buy
them so I don't have any measurements. They aren't worth
the extra $$$ to me. They do however have twice the
memory bus width. Whether STREAM can use it is hard to
say. I consider STREAM pretty naive code so it's not a
useful measurement to me.
> If your codes run better on the DS20E, it's probably due to DDR cache or
> bigger cache.
>
Cache of course can influence performance, depending on
your problem. On some problems, a larger cache does nothing
and on others, it helps. Cache in general can hurt the
performance of certain classes of problems so, again, always
run your own codes on a system you're considering to see how
it behaves.
Wes
^ permalink raw reply [flat|nested] 21+ messages in thread
* should I use 8 DIMMs for UP2000 M/B when I put two 667Mhz processors?
2000-11-08 22:44 ` Jeff Sturm
@ 2000-11-09 6:11 ` Jeong Hwan Park
2000-11-09 1:31 ` W Bauske
` (2 more replies)
0 siblings, 3 replies; 21+ messages in thread
From: Jeong Hwan Park @ 2000-11-09 6:11 UTC (permalink / raw)
To: axp-list
I want to build the system which has 2 processors and 1GB memory.
Can I use the memory bank 0 which has four 256MB DIMMs only.
Should I use eight 128MB DIMMs ?
^ permalink raw reply [flat|nested] 21+ messages in thread
* RE: should I use 8 DIMMs for UP2000 M/B when I put two 667Mhz processors?
2000-11-09 1:31 ` W Bauske
@ 2000-11-09 6:31 ` Jeong Hwan Park
2000-11-09 2:09 ` W Bauske
0 siblings, 1 reply; 21+ messages in thread
From: Jeong Hwan Park @ 2000-11-09 6:31 UTC (permalink / raw)
To: axp-list
Thanks for your reply.
Is there any performance penalty when I use only one bank for dual
processors and I run a two big memory I/O intensive process (like STREAM
benchmark)?
> -----Original Message-----
> From: axp-list-admin@redhat.com
> [mailto:axp-list-admin@redhat.com]On Behalf Of W Bauske
> Sent: Thursday, November 09, 2000 10:31 AM
> To: axp-list@redhat.com
> Subject: Re: should I use 8 DIMMs for UP2000 M/B when I put two
> 667Mhz processors?
>
>
> Jeong Hwan Park wrote:
> >
> > I want to build the system which has 2 processors and 1GB memory.
> >
> > Can I use the memory bank 0 which has four 256MB DIMMs only.
> >
> > Should I use eight 128MB DIMMs ?
> >
>
> I've got UP2K's both ways and it doesn't matter. If
> you plan on putting in more memory later, use 256MB
> DIMM's.
>
>
> Wes
>
>
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
^ permalink raw reply [flat|nested] 21+ messages in thread
* RE: should I use 8 DIMMs for UP2000 M/B when I put two 667Mhz processors?
2000-11-09 2:09 ` W Bauske
@ 2000-11-09 7:04 ` Greg Lindahl
2000-11-09 3:21 ` W Bauske
0 siblings, 1 reply; 21+ messages in thread
From: Greg Lindahl @ 2000-11-09 7:04 UTC (permalink / raw)
To: axp-list
> 4 DIMM's supply 2.6GB/sec peak bandwidth.
Not in any real sense. Reasoning about memory systems is much less useful
than measuring them.
> If you want more bandwidth, buy a DS20E.
Why? The stream benchmark is only slightly different.
If your codes run better on the DS20E, it's probably due to DDR cache or
bigger cache.
-- g
^ permalink raw reply [flat|nested] 21+ messages in thread
* RE: should I use 8 DIMMs for UP2000 M/B when I put two 667Mhz processors?
2000-11-09 3:21 ` W Bauske
@ 2000-11-09 15:36 ` Greg Lindahl
2000-11-09 20:49 ` W Bauske
0 siblings, 1 reply; 21+ messages in thread
From: Greg Lindahl @ 2000-11-09 15:36 UTC (permalink / raw)
To: axp-list
> Spec wise, the DS20E should be faster.
But it isn't, because STREAM is The Right Way to measure memory peak form
the memory system. The wider bus doesn't get ANYONE much of a benefit, and
STREAM is the proof. While you are right that running your code is a good
idea, the statement that "The DS20E ought to have more bandwidth" is
provably false.
-- g
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: should I use 8 DIMMs for UP2000 M/B when I put two 667Mhz processors?
2000-11-09 6:11 ` should I use 8 DIMMs for UP2000 M/B when I put two 667Mhz processors? Jeong Hwan Park
2000-11-09 1:31 ` W Bauske
@ 2000-11-09 20:18 ` Tom Heibel
2000-11-09 20:25 ` Rich Payne
2000-11-09 20:24 ` Tom Heibel
2 siblings, 1 reply; 21+ messages in thread
From: Tom Heibel @ 2000-11-09 20:18 UTC (permalink / raw)
To: axp-list
Jeong,
When we build these systems, we split the memory into 2 sticks per bank.
Although I don't know the best peak performance for this setup. I'm sure it
all depends on the code you're running. Just test it for your individual
use. Of course, if we can be of any help, just give us a call.
Tom Heibel
Aspen Systems, Inc.
Phone: 800-992-9242 Ext: 117
Web: www.aspsys.com
E-Mail: tomh@aspsys.com
ICQ: 95205755
----- Original Message -----
From: "Jeong Hwan Park" <jhpark@brainz.co.kr>
To: <axp-list@redhat.com>
Sent: Wednesday, November 08, 2000 11:11 PM
Subject: should I use 8 DIMMs for UP2000 M/B when I put two 667Mhz
processors?
>
>
> I want to build the system which has 2 processors and 1GB memory.
>
> Can I use the memory bank 0 which has four 256MB DIMMs only.
>
> Should I use eight 128MB DIMMs ?
>
>
>
>
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: should I use 8 DIMMs for UP2000 M/B when I put two 667Mhz processors?
2000-11-09 6:11 ` should I use 8 DIMMs for UP2000 M/B when I put two 667Mhz processors? Jeong Hwan Park
2000-11-09 1:31 ` W Bauske
2000-11-09 20:18 ` Tom Heibel
@ 2000-11-09 20:24 ` Tom Heibel
2 siblings, 0 replies; 21+ messages in thread
From: Tom Heibel @ 2000-11-09 20:24 UTC (permalink / raw)
To: axp-list
Jeong,
The man to ask this question of is Rich Payne. Try him at:
rpayne@alphalinux.org
He knows the design of the UP2K like no other.
Hope this helps.
Tom Heibel
Aspen Systems, Inc.
Phone: 800-992-9242 Ext: 117
Web: www.aspsys.com
E-Mail: tomh@aspsys.com
ICQ: 95205755
----- Original Message -----
From: "Jeong Hwan Park" <jhpark@brainz.co.kr>
To: <axp-list@redhat.com>
Sent: Wednesday, November 08, 2000 11:11 PM
Subject: should I use 8 DIMMs for UP2000 M/B when I put two 667Mhz
processors?
>
>
> I want to build the system which has 2 processors and 1GB memory.
>
> Can I use the memory bank 0 which has four 256MB DIMMs only.
>
> Should I use eight 128MB DIMMs ?
>
>
>
>
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: should I use 8 DIMMs for UP2000 M/B when I put two 667Mhz processors?
2000-11-09 20:18 ` Tom Heibel
@ 2000-11-09 20:25 ` Rich Payne
0 siblings, 0 replies; 21+ messages in thread
From: Rich Payne @ 2000-11-09 20:25 UTC (permalink / raw)
To: axp-list
2 sticks per bank will give you a system that doesn't start. The minimum
for each bank is 4. Whether you load a UP2000 with 4x256MB or
8x128MB....it doesn't matter.
--rdp
On Thu, 9 Nov 2000, Tom Heibel wrote:
> Jeong,
>
> When we build these systems, we split the memory into 2 sticks per bank.
> Although I don't know the best peak performance for this setup. I'm sure it
> all depends on the code you're running. Just test it for your individual
> use. Of course, if we can be of any help, just give us a call.
>
> Tom Heibel
> Aspen Systems, Inc.
> Phone: 800-992-9242 Ext: 117
> Web: www.aspsys.com
> E-Mail: tomh@aspsys.com
> ICQ: 95205755
> ----- Original Message -----
> From: "Jeong Hwan Park" <jhpark@brainz.co.kr>
> To: <axp-list@redhat.com>
> Sent: Wednesday, November 08, 2000 11:11 PM
> Subject: should I use 8 DIMMs for UP2000 M/B when I put two 667Mhz
> processors?
>
>
> >
> >
> > I want to build the system which has 2 processors and 1GB memory.
> >
> > Can I use the memory bank 0 which has four 256MB DIMMs only.
> >
> > Should I use eight 128MB DIMMs ?
> >
> >
> >
> >
> >
> > _______________________________________________
> > Axp-list mailing list
> > Axp-list@redhat.com
> > https://listman.redhat.com/mailman/listinfo/axp-list
>
>
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
>
--
Rich Payne
rpayne@alphalinux.org www.alphalinux.org
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: should I use 8 DIMMs for UP2000 M/B when I put two 667Mhz processors?
2000-11-09 15:36 ` Greg Lindahl
@ 2000-11-09 20:49 ` W Bauske
2000-11-10 3:10 ` Greg Lindahl
0 siblings, 1 reply; 21+ messages in thread
From: W Bauske @ 2000-11-09 20:49 UTC (permalink / raw)
To: axp-list
Greg Lindahl wrote:
>
> > Spec wise, the DS20E should be faster.
>
> But it isn't, because STREAM is The Right Way to measure memory peak form
> the memory system.
>
Just for grins, if you like STREAM so much, run two simultaneous
tests on a DS20E and a UP2K and see what the aggregate bandwidth
is. I would suspect with a switched architecture, a CPU talks to one
bank at a time. So, unless you run a problem that forces use of all
memory banks, it probably makes no difference compared to a UP2K.
Once you cross that line, I suspect you'll see a difference. Pick
the STREAM total data size to be, say 45% of your memory so with
two active, you use 90% of real memory. Note STREAM uses something
like 3 arrays so one array needs to be 15% of memory.
That should give the memory systems a good workout. Make sure you
populate all memory banks on both systems to keep it consistent.
If that doesn't show the difference, then it probably means the
cross bar switch is falling down on the job or there is an OS problem.
In the end, the only truly good way to measure a system is with your
own codes and with your configuration. At least then you see what the
system does with your environment.
Wes
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: should I use 8 DIMMs for UP2000 M/B when I put two 667Mhz processors?
2000-11-10 3:10 ` Greg Lindahl
@ 2000-11-09 23:36 ` W Bauske
0 siblings, 0 replies; 21+ messages in thread
From: W Bauske @ 2000-11-09 23:36 UTC (permalink / raw)
To: axp-list
Greg Lindahl wrote:
>
> > Just for grins, if you like STREAM so much, run two simultaneous
> > tests on a DS20E and a UP2K and see what the aggregate bandwidth
> > is.
>
> Many people have done that. The answer should be in the archives of this
> list in a few places. If I recall correctly, the DS20E scores 1.4 GB/s and
> the UP2000 scores 1.3 GB/s.
You must be thinking of another list somewhere. There
are no such numbers from the Alaska archive site.
>
> > I would suspect with a switched architecture, a CPU talks to one
> > bank at a time.
>
> No, that's not the case. They're interleaved.
>
Thats a contradiction from statements made in the
archives. The DS20 has a max of 2.6GB/sec per cpu.
One cpu cannot access both banks at the same time.
If you have some other reference that says otherwise,
please specify it.
Wes
^ permalink raw reply [flat|nested] 21+ messages in thread
* RE: should I use 8 DIMMs for UP2000 M/B when I put two 667Mhz processors?
2000-11-09 20:49 ` W Bauske
@ 2000-11-10 3:10 ` Greg Lindahl
2000-11-09 23:36 ` W Bauske
0 siblings, 1 reply; 21+ messages in thread
From: Greg Lindahl @ 2000-11-10 3:10 UTC (permalink / raw)
To: axp-list
> Just for grins, if you like STREAM so much, run two simultaneous
> tests on a DS20E and a UP2K and see what the aggregate bandwidth
> is.
Many people have done that. The answer should be in the archives of this
list in a few places. If I recall correctly, the DS20E scores 1.4 GB/s and
the UP2000 scores 1.3 GB/s.
> I would suspect with a switched architecture, a CPU talks to one
> bank at a time.
No, that's not the case. They're interleaved.
-- g
^ permalink raw reply [flat|nested] 21+ messages in thread
end of thread, other threads:[~2000-11-10 4:27 UTC | newest]
Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-08 13:51 [Fwd: Alpha SMP problem] Reto Baettig
2000-11-08 20:32 ` Jeff Sturm
2000-11-08 16:51 ` Reto Baettig
2000-11-08 22:44 ` Jeff Sturm
2000-11-09 6:11 ` should I use 8 DIMMs for UP2000 M/B when I put two 667Mhz processors? Jeong Hwan Park
2000-11-09 1:31 ` W Bauske
2000-11-09 6:31 ` Jeong Hwan Park
2000-11-09 2:09 ` W Bauske
2000-11-09 7:04 ` Greg Lindahl
2000-11-09 3:21 ` W Bauske
2000-11-09 15:36 ` Greg Lindahl
2000-11-09 20:49 ` W Bauske
2000-11-10 3:10 ` Greg Lindahl
2000-11-09 23:36 ` W Bauske
2000-11-09 20:18 ` Tom Heibel
2000-11-09 20:25 ` Rich Payne
2000-11-09 20:24 ` Tom Heibel
2000-11-08 22:15 ` [Fwd: Alpha SMP problem] Richard Henderson
2000-11-08 17:39 ` Reto Baettig
2000-11-08 23:53 ` Jeff Sturm
2000-11-09 1:56 ` Richard Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox