Article View: comp.lang.c++
Article #1111Re: async SMR in Relacy...
From: Joseph Seigh
Date: Thu, 03 Dec 2026 22:59
Date: Thu, 03 Dec 2026 22:59
19 lines
2292 bytes
2292 bytes
On 12/2/26 10:58 PM, Chris M. Thomasson wrote: > Okay, this is a test unit for Relacy that shows how to use SMR without a > heavy StoreLoad for the readers. However, it requires a very special > fence on the scan side. Relacy models it via rl::systemwide_fence($); > Over on Windows that can be FlushProcessWriteBuffers(), so this is > specialized for certain workloads. However, its damn near RCU > performance, not quite, but almost there. Again for read heavy loads. It > neat how Relacy can model and simulate it! Passing tests... > > Still not exactly sure how Joe is getting 100% wait free SMR loads, no > double check! But that is another story. Anyway, ponder on this: > Magic. Seriously, I don't have to do anything. Stuff just shows up eventually. I used to do POC's but there doesn't seem to be any causal relationship on those affecting if and when something would show up in actual implementations. And it's not even the fastest possible wait-free hazard pointer at that.
Technical Details
Message-ID:
<11ess8e$upj2$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11eqpcm$3sboq$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Joseph Seigh <jseigh_es00@xemaps.com> Newsgroups: comp.lang.c++ Subject: Re: async SMR in Relacy... Date: Thu, 3 Dec 2026 17:59:25 -0500 Organization: A noiseless patient Spider Lines: 19 Message-ID: <11ess8e$upj2$1@dont-email.me> References: <11eqpcm$3sboq$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 03 Dec 2026 22:59:27 +0000 (UTC) Injection-Info: dont-email.me; logging-data="1009250"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX180rDnlErcKV3TH62DKeMFX"; posting-host="3d7ab90722413205c4a540d8e26b27ca" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:hI8tcPO0PLH30U7dV0+X+HjnYWc= sha256:RlP7+vilEgn7kGGab/5B/3OQkNiK9y1mrA7WuZ0juPs= sha1:wdSzYm/9VwiAAxWnDEvk1/A+PBw= sha256:zGdS4VnNb4l6ErCwq+G3th5Ai0cCfuoIlNhcqUlZqjI= In-Reply-To: <11eqpcm$3sboq$1@dont-email.me> Content-Language: en-US