From: ASHOK SINGHAL <ashok.singhal@Eng.Sun.Com>
Subject: Re: Latency vs performance (was Re: Sun Servers take advantage of board local memory?)
Date: 1998/04/28 [thread overview]
Message-ID: <3545EF63.CD88C1B2@Eng.Sun.Com> (raw)
In-Reply-To: 6i0isl$nlg$1@murrow.corp.sgi.com
It is indeed possible to bring a memory bank closer to one CPU (or a
small
set of CPUs), BUT ...
the trick is to do so without effecting the
latency seen by the OTHER cpus.
It is far more difficult than many (most?) people think,
even on a system like the Sun Enterprise server
where it may not seem that way from the physical structure of the
machine. Could we have done it?
Perhaps. Would it have been worth it? In the case of the
E6000, I doubt it.
Most often, bringing a memory bank closer to one set of CPUs
has the unfortunate effect of taking that bank
farther away from the (in our case much larger) set of all the other
CPUs.
In a 64 CPU system, bringing the
memory one hop closer to 2 CPUs takes that memory one hop further from
the remaining 62 CPUs. In terms of latency, this is not a good idea
unless you can get *very* good locality, which may be possible
on STREAM or specrate but very difficult on a whole bunch of
other applications, particularly database applications.
In addition, the cost of attempting (often in vain) to
create that locality is non-trivial,
not just in additional data movement for creating copies and
in additional physical memory used for copies, but also in
the complexity of the operating system.
In the case of SGI Origin 2000, for example,
the memory is one hop away from the 2 CPUs
on the same node.
But then that memory is 2 hops away from 8 cpus, 3 hops away from ...
And then on top of that add a much larger latency penalty
when the data is dirty in another cache
(a very frequent case in many server applications).
In summary: yes, one can reduce latency to local memory for a small
number of local CPUs, but if this increases latency for
a much larger number of other CPUs this is usually not a win.
In the case of SGI it substantially increases non-local latency.
I don't believe this was a win for many important apps.
Given a choice of doing well at local accesses in large system
(for example STREAM/specrate) or more general access patterns in large
system
(for example, tpc-C/tpc-D) I know where I would lean. To see where
SGI leaned take a look at the TPC benchmark results site
(www.tpc.org). A 24-CPU E6000 (which would be way past the STREAM
saturation point) does 23% better than a 28 CPU SGI O2000 in spite of
the O2000 having a 64-bit OS and over 2 times as much memory.
And SGI fares even worse in tpc-D (a 4-CPU E450 does better than
a 8-CPU O2000).
Ashok Singhal
Sun Microsystems
next prev parent reply other threads:[~1998-04-28 4:00 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <35359B3A.2A830CB1@earthlink.net>
[not found] ` <6hl9s9$fec$1@pulp.ucs.ualberta.ca>
[not found] ` <6hmu26$il3$1@lyra.csx.cam.ac.uk>
[not found] ` <6hpadq$le2$1@alanya.m.isar.de>
1998-04-25 4:00 ` Latency vs performance (was Re: Sun Servers take advantage of board local memory?) John McCalpin
1998-04-25 4:00 ` Carl Perkins
1998-04-25 4:00 ` John McCalpin
1998-04-27 4:00 ` Maynard Handley
1998-04-28 4:00 ` John McCalpin
1998-04-28 4:00 ` Jeremy Harris SUN Telco Platforms Group
1998-04-28 4:00 ` John McCalpin
1998-04-30 4:00 ` Jim Tuccillo
1998-04-30 4:00 ` John McCalpin
1998-04-30 4:00 ` Jim Tuccillo
1998-04-30 4:00 ` John McCalpin
1998-05-01 4:00 ` Mark W Brehob
1998-05-01 4:00 ` ASHOK SINGHAL
1998-05-08 4:00 ` John McCalpin
1998-05-12 4:00 ` ASHOK SINGHAL
1998-05-13 4:00 ` John McCalpin
[not found] ` <6ianno$19lk$1@news.rchland.ibm.com>
1998-05-07 4:00 ` John McCalpin
1998-04-26 4:00 ` Mark W Brehob
1998-04-27 4:00 ` Nick Maclaren
1998-04-27 4:00 ` Scott Walters
1998-04-27 4:00 ` Scott Walters
1998-04-28 4:00 ` Nick Maclaren
1998-04-28 4:00 ` Scott Walters
1998-04-28 4:00 ` Latency vs performance John Hascall
1998-04-29 4:00 ` Scott Walters
1998-05-01 4:00 ` Scott Hess
1998-04-29 4:00 ` Casper H.S. Dik - Network Security Engineer
1998-04-29 4:00 ` Scott Walters
1998-05-12 4:00 ` Latency vs performance (was Re: Sun Servers take advantage of board local memory?) Brian Inglis
1998-04-27 4:00 ` Mark W Brehob
1998-04-27 4:00 ` John McCalpin
1998-04-27 4:00 ` Mark W Brehob
1998-04-28 4:00 ` ASHOK SINGHAL [this message]
1998-05-04 4:00 ` William Lane
1998-05-04 4:00 ` John McCalpin
1998-05-06 4:00 ` Brian Jonathan Lee
1998-05-12 4:00 ` Salim Qadri
1998-05-05 4:00 ` Doug Siebert
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