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


Groups > comp.arch > #33441

Re: "volatile" on the Mill

From Ivan Godard <ivan@millcomputing.com>
Newsgroups comp.arch
Subject Re: "volatile" on the Mill
Date 2016-02-02 15:22 -0800
Organization A noiseless patient Spider
Message-ID <n8rdid$1c1$1@dont-email.me> (permalink)
References <n8mb5k$27c$1@dont-email.me> <ad013940-d620-47af-851e-3b93866a9544@googlegroups.com> <3579f4fd-086a-4f44-a9cd-785b4b84f3c2@googlegroups.com> <n8q6ml$umb$1@dont-email.me> <4cb123d8-8a5c-41a1-9f6b-fd39665a717d@googlegroups.com>

Show all headers | View raw


On 2/2/2016 11:37 AM, Paul A. Clayton wrote:
> On Tuesday, February 2, 2016 at 7:19:13 AM UTC-5, Ivan Godard wrote:
>> On 2/2/2016 1:36 AM, already5chosen@yahoo.com wrote:
> [snip]
>>> Do not SPARC and zArch servers *currently* offer sequential
>>> consistency? I'm not 100% sure about SPARC, but zArch surely fits the
>>> bill, no?
>
> SPARC's Total Store Order allows stores to be reordered
> after loads (according to McKenney's paper). The same
> source indicates that zArch also allows stores to be
> reordered after loads, but somewhat confusingly also
> states "It also has comparatively strong memory-ordering
> semantics, as shown in Table 5, which should allow the
> smp_wmb() primitive to be a nop (and by the time you read
> this, this change may well have happened).The table
> actually understates the situation, as the zSeries memory
> model is otherwise sequentially consistent, meaning that
> all CPUs will agree on the order of unrelated stores from
> different CPUs."


That is the definition of "total global ordering", which is *not* the 
same as sequential consistency. in SC the actions of each CPU are seen 
in an internally consistent order by all, but the actions of different 
CPUs may be arbitrarily interleaved in different orders as seen by other 
CPUs.

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. TGO requires a single sequential issuer, or equivalently a 
single central clock that issues timestamps.


<snip>

> Transactional memory implementations limit the name
> space and agent space at significant cost (and membar
> could use similar hardware to reduce latency -- using
> TM hardware to detect ordering violations has already
> been proposed academically), typically not supporting
> not-participating names (much less something like the
> name removal in AMD's ASF). Transactional memory also
> somewhat overspecifies in that the entire operation is
> atomic (name removal provides some non-atomic behavior).

I've somewhat wondered why other designs lack non-participant actions 
within transactional regions. Consider the problem of counting the 
number of retries that a transaction encountered.

> This is not an area where I understand the considerations,
> but even so it seems obvious that there are tradeoffs.
> Even the pay-for-what-you-use philosophy is not obviously
> the best way to proceed in all cases.
>

Yes :-)

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