Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.arch > #33449

Re: "volatile" on the Mill

From anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups comp.arch
Subject Re: "volatile" on the Mill
Date 2016-02-03 10:53 +0000
Organization Institut fuer Computersprachen, Technische Universitaet Wien
Message-ID <2016Feb3.115327@mips.complang.tuwien.ac.at> (permalink)
References (2 earlier) <3579f4fd-086a-4f44-a9cd-785b4b84f3c2@googlegroups.com> <n8q6ml$umb$1@dont-email.me> <4cb123d8-8a5c-41a1-9f6b-fd39665a717d@googlegroups.com> <n8rdid$1c1$1@dont-email.me> <83e6662a-a36d-445c-b80d-8d73b3d4a530@googlegroups.com>

Show all headers | View raw


MitchAlsup <MitchAlsup@aol.com> writes:
>On Tuesday, February 2, 2016 at 5:22:34 PM UTC-6, Ivan Godard wrote:
>> 
>> There are theorems that say that TGO is impossible to achieve by any 
>> distributed algorithm; it's the same problem as the global clock 
>> problem. 
>
>Physicists have given up on the notion of a single time series of events
>since 1913.

What happened in 1913?  Special relativity was published in 1905, and
that already allows different orders of events by different observers.
General relativity was presented in 1915, but I don't think it added
anything significant for our question at hand.

So let's look at special relativity: Two observers can observe events
in different orders if they are in different places and are moving
relative to each other.  But still, each observer can compute the
order that each other observer sees, so if they agree on a canonical
observer, they can agree on a canonical order of events.  The
processors of a multiprocessor don't move relative to each other, so
they don't need to agree on a common observer to determine the order
of events.  They just need to take the signal run-times into
consideration.

General relativity does not make a significant difference for
multiprocessors, either.  The gravity fields where multiprocessors
operate are too weak and too uniform within the multiprocessor for it
to make a difference.

So any reference to relativistic physics is a red herring.

>Its time computer science comes up with its version of
>time <relativity>.

Not at all.  The problems we have to deal with can be discussed in the
context of classical physics and have been dealt with in ancient
times, when people created big empires with millions of processors
(people) and signaling times on the order of months.  The computer
equivalent of the techniques used then is message passing and
non-shared memory machines (usually called MPPs).

We also have shared memory.  One advantage is more flexibility in the
allocation of memory to processors.  If this is enough, and we use
message passing for communication, we don't need much consistency (the
processors just have to agree on which page belongs to which
processor).  If we also want to use shared memory for communication,
we need shared-memory consistency.

Hardware people have tried to make do with
weaker-than-sequential-consistency models up to now, and throw the
problems over to the software side, with the success that most people
are still programming single-threaded applications. I think it's time
that the hardware people accepted that weaker consistency models are
not good enough and work on implementing sequential consistency; you
managed to do denormal numbers and precise exceptions in hardware, and
I have confidence that you can do it for sequential consistency, too.
And don't let anybody tell you that relativistic physics makes this
impossible.  Alternatively, provide some better message passing
support.

Other things that are necessary are cheap thread/task creation and
destruction, and cheap synchronization (the latter may be combinable
with hardware message passing).

- anton
-- 
M. Anton Ertl                    Some things have to be seen to be believed
anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen
http://www.complang.tuwien.ac.at/anton/home.html

Back to comp.arch | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

"volatile" on the Mill Ivan Godard <ivan@millcomputing.com> - 2016-01-31 17:10 -0800
  Re: "volatile" on the Mill nmm@wheeler.UUCP (Nick Maclaren) - 2016-02-01 07:48 +0000
    Re: "volatile" on the Mill William Edwards <willvarfar@gmail.com> - 2016-01-31 23:53 -0800
      Re: "volatile" on the Mill nmm@wheeler.UUCP (Nick Maclaren) - 2016-02-01 08:47 +0000
  Re: "volatile" on the Mill "Paul A. Clayton" <paaronclayton@gmail.com> - 2016-02-01 20:34 -0800
    Re: "volatile" on the Mill already5chosen@yahoo.com - 2016-02-02 01:36 -0800
      Re: "volatile" on the Mill Ivan Godard <ivan@millcomputing.com> - 2016-02-02 04:19 -0800
        Re: "volatile" on the Mill nmm@wheeler.UUCP (Nick Maclaren) - 2016-02-02 12:55 +0000
        Re: "volatile" on the Mill already5chosen@yahoo.com - 2016-02-02 05:16 -0800
          Re: "volatile" on the Mill "Chris M. Thomasson" <nospam@nospam.nospam> - 2016-02-03 11:55 -0800
            Re: "volatile" on the Mill "Chris M. Thomasson" <nospam@nospam.nospam> - 2016-02-08 11:10 -0800
            Re: "volatile" on the Mill gpderetta <gpderetta@gmail.com> - 2016-02-15 02:27 -0800
              Re: "volatile" on the Mill "Chris M. Thomasson" <nospam@nospam.nospam> - 2016-02-21 14:05 -0800
                Re: "volatile" on the Mill gpderetta <gpderetta@gmail.com> - 2016-02-29 07:37 -0800
                Re: "volatile" on the Mill "Chris M. Thomasson" <nospam@nospam.nospam> - 2016-03-07 15:24 -0800
          Re: "volatile" on the Mill "Chris M. Thomasson" <nospam@nospam.nospam> - 2016-02-03 12:30 -0800
        Re: "volatile" on the Mill Quadibloc <jsavard@ecn.ab.ca> - 2016-02-02 11:16 -0800
          Re: "volatile" on the Mill Quadibloc <jsavard@ecn.ab.ca> - 2016-02-02 11:18 -0800
            Re: "volatile" on the Mill already5chosen@yahoo.com - 2016-02-02 11:30 -0800
        Re: "volatile" on the Mill "Paul A. Clayton" <paaronclayton@gmail.com> - 2016-02-02 11:37 -0800
          Re: "volatile" on the Mill Ivan Godard <ivan@millcomputing.com> - 2016-02-02 15:22 -0800
            Re: "volatile" on the Mill MitchAlsup <MitchAlsup@aol.com> - 2016-02-02 16:54 -0800
              Re: "volatile" on the Mill anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-02-03 10:53 +0000
                Re: "volatile" on the Mill Quadibloc <jsavard@ecn.ab.ca> - 2016-02-03 07:19 -0800
                Re: "volatile" on the Mill Quadibloc <jsavard@ecn.ab.ca> - 2016-02-03 07:49 -0800
                Re: "volatile" on the Mill anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-02-03 16:17 +0000
                Re: "volatile" on the Mill Quadibloc <jsavard@ecn.ab.ca> - 2016-02-03 12:41 -0800
                Re: "volatile" on the Mill anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-02-04 17:03 +0000
                Re: "volatile" on the Mill Quadibloc <jsavard@ecn.ab.ca> - 2016-02-03 12:47 -0800
                Re: "volatile" on the Mill anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-02-04 17:20 +0000
            Re: "volatile" on the Mill nmm@wheeler.UUCP (Nick Maclaren) - 2016-02-03 09:59 +0000
              Re: "volatile" on the Mill Ivan Godard <ivan@millcomputing.com> - 2016-02-03 02:34 -0800
                Re: "volatile" on the Mill nmm@wheeler.UUCP (Nick Maclaren) - 2016-02-03 11:01 +0000
                Re: "volatile" on the Mill gpderetta <gpderetta@gmail.com> - 2016-02-15 02:18 -0800
                Re: "volatile" on the Mill nmm@wheeler.UUCP (Nick Maclaren) - 2016-02-15 11:41 +0000

csiph-web