🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c++
Article #1082

Re: Consequential RCU Performance

#1082
From: Ross Finlayson
Date: Tue, 01 Dec 2026 10:27
53 lines
4320 bytes
On 12/01/2026 02:17 AM, Ross Finlayson wrote:
> On 12/01/2026 01:41 AM, Bonita Montero wrote:
>> Am 01.12.2026 um 10:37 schrieb Ross Finlayson:
>>
>>> What's relevant is that data-structures & algorithms have a purpose,
>>> their use-case, what it is, then, the target environment has some
>>> fixed conditions, what they are, what must be, it's not off-topic.
>>
>> What you say almost never fits in the context.
>> Reading for nothing ...
>
> "This is of course very expensive and entirely un-scale-able."
> - Shilon, "Processor Design Secrets: what happens when you use
> std::atomic?", circa 1:02:00.
>
> What he's talking about is anything that uses "locks", the sections,
> fences or boundaries/barriers, then with regards to the only available
> facilities to make atomic operations (of which there's only "potential"
> or the "opportunistic" the "atomic transaction).
>
> Agreably I'm talking about atomics more than locks.
>
>
> "Necessary to actually be usable in locks"
>
>
> That's all I have to say about it, pointing out the obvious,
> then the usual notions from the distributed-systems of the
> "horizontal-independence" and "eventually-consistent" when
> there's only available "opportunistic-locking" arrive themselves.
>
> So: memory_order courtesy MFENCE & DMB on AMD & ARM is the usual
> thing: "very expensive and entirely un-scale-able".
> Then it was considered that what's of interest is
> the correctness and the performance.
>
>
>
>
>

Agreeably, I _learned_ something, challenging what were implicit
assumptions, and making a model of _learning_, to understand from
that the _language_ side and the _hardware_ side, in this case,
variously the _ideal_ and the _analytical_ either and both ways,
that their changes in various ways, make for that
the _highest_ performance for _absolute_ correctness
is further refined the account, in this sort of manner.

So, for the scaling while giving the guarantee, then
it doesn't take more than a generous reading to see the point.

Technical Details
Message-ID: <bS6dnYBC8JRrPZP2nZ2dnZfqn_GdnZ2d@giganews.com>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!weretis.net!feeder9.news.weretis.net!border-1.nntp.ord.giganews.com!nntp.giganews.com!local-2.nntp.ord.giganews.com!Xl.tags.giganews.com!local-3.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
References: <11eceq2$1rdof$1@dont-email.me> <11ecgl8$1s72j$1@raubtier-asyl.eternal-september.org> <11ecr1d$20dln$1@dont-email.me> <11edms2$294iu$1@raubtier-asyl.eternal-september.org> <11efdu7$2ten0$1@dont-email.me> <11ege8t$387ms$2@raubtier-asyl.eternal-september.org> <11egnpf$3arfr$1@dont-email.me> <11ego7t$3avtm$1@raubtier-asyl.eternal-september.org> <11egois$3b3gl$1@dont-email.me> <11egp0r$3b7kn$1@raubtier-asyl.eternal-september.org> <11ei4on$3s8av$1@dont-email.me> <11ejbos$8745$1@raubtier-asyl.eternal-september.org> <11ekstl$u9is$1@dont-email.me> <11elkcq$18jfh$1@raubtier-asyl.eternal-september.org> <11ell66$18vsa$1@dont-email.me> <FcCdnYIMMbrLF5P2nZ2dnZfqn_adnZ2d@giganews.com> <11em2hr$1ero2$1@raubtier-asyl.eternal-september.org> <2R2cnYBqH-HUCJP2nZ2dnZfqnPadnZ2d@giganews.com> <11em4nr$1g0t0$1@raubtier-asyl.eternal-september.org> <8JSdneBM2LUtA5P2nZ2dnZfqnPSdnZ2d@giganews.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!weretis.net!feeder9.news.weretis.net!border-1.nntp.ord.giganews.com!nntp.giganews.com!local-2.nntp.ord.giganews.com!Xl.tags.giganews.com!local-3.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Tue, 01 Dec 2026 10:27:02 +0000
Subject: Re: Consequential RCU Performance
Newsgroups: comp.lang.c++
References: <11eceq2$1rdof$1@dont-email.me>
 <11ecgl8$1s72j$1@raubtier-asyl.eternal-september.org>
 <11ecr1d$20dln$1@dont-email.me>
 <11edms2$294iu$1@raubtier-asyl.eternal-september.org>
 <11efdu7$2ten0$1@dont-email.me>
 <11ege8t$387ms$2@raubtier-asyl.eternal-september.org>
 <11egnpf$3arfr$1@dont-email.me>
 <11ego7t$3avtm$1@raubtier-asyl.eternal-september.org>
 <11egois$3b3gl$1@dont-email.me>
 <11egp0r$3b7kn$1@raubtier-asyl.eternal-september.org>
 <11ei4on$3s8av$1@dont-email.me>
 <11ejbos$8745$1@raubtier-asyl.eternal-september.org>
 <11ekstl$u9is$1@dont-email.me>
 <11elkcq$18jfh$1@raubtier-asyl.eternal-september.org>
 <11ell66$18vsa$1@dont-email.me>
 <FcCdnYIMMbrLF5P2nZ2dnZfqn_adnZ2d@giganews.com>
 <11em2hr$1ero2$1@raubtier-asyl.eternal-september.org>
 <2R2cnYBqH-HUCJP2nZ2dnZfqnPadnZ2d@giganews.com>
 <11em4nr$1g0t0$1@raubtier-asyl.eternal-september.org>
 <8JSdneBM2LUtA5P2nZ2dnZfqnPSdnZ2d@giganews.com>
From: Ross Finlayson <ross.a.finlayson@gmail.com>
Date: Tue, 1 Dec 2026 02:27:20 -0800
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <8JSdneBM2LUtA5P2nZ2dnZfqnPSdnZ2d@giganews.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <bS6dnYBC8JRrPZP2nZ2dnZfqn_GdnZ2d@giganews.com>
Lines: 53
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-uJZpgEgNjUF7OQgvgk03Bn8ySwhbLR0Cq1tEhDc1WAMUT+1TUSZEZdCTBBrY2m2Cw++kJtKBEmhfa2e!oIcJAtDMPYVyVpcW5pTUOkPnhi5dn+lXhoNV2mhiD7LDpiBk9IQTODpTm9NN3aPEgd7IXIC6jugS
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40