On 3/23/2024 9:53 AM, Bonita Montero wrote:
I've got a nice idea for a new processor-extrension for spin-wait
-loops. The idea is that a thread of a processors enters a sleep
state if a word in memory is equal to a certain register until
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> writes:
On 3/23/2024 9:53 AM, Bonita Montero wrote:
I've got a nice idea for a new processor-extrension for spin-wait
-loops. The idea is that a thread of a processors enters a sleep
state if a word in memory is equal to a certain register until
A processor which is doesn't own (or have a shared copy) of the
cacheline which would contain that word in memory will never know
if it was modified, as it won't see the invalidate messages in
a directory-based cache subsystem (leaving aside noncachable
accesses to the word in memory, of course).
This sounds like a solution to a problem that doesn't exist,
and there would be no incentive for a processor designer
to include the substantial additional complexity required
to support your feature.
On Sun, 24 Mar 2024 20:43:37 GMT
scott@slp53.sl.home (Scott Lurndal) wrote:
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> writes:
On 3/23/2024 9:53 AM, Bonita Montero wrote:
I've got a nice idea for a new processor-extrension for spin-wait
-loops. The idea is that a thread of a processors enters a sleep
state if a word in memory is equal to a certain register until
A processor which is doesn't own (or have a shared copy) of the
cacheline which would contain that word in memory will never know
if it was modified, as it won't see the invalidate messages in
a directory-based cache subsystem (leaving aside noncachable
accesses to the word in memory, of course).
It seems, I didn't understand the idea.
On 3/26/2024 3:12 AM, Bonita Montero wrote:
Am 26.03.2024 um 03:48 schrieb Chris M. Thomasson:
On 3/23/2024 11:38 PM, Bonita Montero wrote:
Am 23.03.2024 um 21:58 schrieb Chris M. Thomasson:
MWAIT?
MWAIT has no timeout.
Not sure how important it would be for MWAIT to have a timeout...
You are referring to user space, right?
MWAIT could be used for limited spinning like glibc's pthread_mutex
is capable. The advantage of a MWAIT with timout would be much less interconnect-traffic compared to polling.
MWAIT is meant to get around polling?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 307 |
Nodes: | 16 (2 / 14) |
Uptime: | 41:00:36 |
Calls: | 6,910 |
Files: | 12,376 |
Messages: | 5,429,059 |