Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | anton@mips.complang.tuwien.ac.at (Anton Ertl) |
|---|---|
| Newsgroups | comp.arch |
| Subject | Re: "volatile" on the Mill |
| Date | 2016-02-04 17:03 +0000 |
| Organization | Institut fuer Computersprachen, Technische Universitaet Wien |
| Message-ID | <2016Feb4.180338@mips.complang.tuwien.ac.at> (permalink) |
| References | (5 earlier) <83e6662a-a36d-445c-b80d-8d73b3d4a530@googlegroups.com> <2016Feb3.115327@mips.complang.tuwien.ac.at> <075b41d2-ad3c-4c1a-ae90-354cecb885b1@googlegroups.com> <2016Feb3.171724@mips.complang.tuwien.ac.at> <f40ceebb-f907-44a2-b9bd-06d6502f13f3@googlegroups.com> |
Quadibloc <jsavard@ecn.ab.ca> writes: >On Wednesday, February 3, 2016 at 9:38:15 AM UTC-7, Anton Ertl wrote: > >> However, the solution I know for this problem is to do the loads >> speculatively, > >That is a sufficiently painful solution that I can understand why no one has >designed it in, without being certain that it was absolutely necessary. Just like hardware denormals and precise exceptions. >Of course, though, presumably it _is_ necessary - some of the time, for working on some problems. Necessary in the sense that you cannot solve these problems with memory barriers or whatever other workarounds for weaker consistency models the architects of weaker consistency models provide? No, seqyential consistency is not necessary in that sense. However, I believe that it is necessary if you want more than a few specialists to do shared-memory programming. And hardware manufacturers want that. >For one thing, _every_ load would have to be speculative, not just some loads, >since the reason for this is that we don't know something happened to the >location. So one is talking about a processor which basically keeps a constant >record of its activity, and which can be rolled back just about anywhere. Snapshots would be good enough (and might be the way if you want lots of simple processors). However, we already have a mechanism for keeping track of everything and treating it as speculative in current out-of-order processors. Could we use that for implementing the rollback necessary for sequential consistency? For multi-socket systems the latencies are probably too big for the current buffer sizes, but for single-socket multi-core CPUs, maybe. So you would have to keep threads that share memory on the same socket. Probably good enough for a lot of stuff. Or you go for the snapshot approach and support across-socket consistency. Or people will figure out something better, like they have when they put their minds to hardware denormals. - 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
"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