Article View: comp.lang.c++
Article #1080Re: Consequential RCU Performance
From: Ross Finlayson
Date: Tue, 01 Dec 2026 10:17
Date: Tue, 01 Dec 2026 10:17
39 lines
3590 bytes
3590 bytes
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.
Technical Details
Message-ID:
<8JSdneBM2LUtA5P2nZ2dnZfqnPSdnZ2d@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!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mailReferences:
<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>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!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Tue, 01 Dec 2026 10:17:20 +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> From: Ross Finlayson <ross.a.finlayson@gmail.com> Date: Tue, 1 Dec 2026 02:17:16 -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: <11em4nr$1g0t0$1@raubtier-asyl.eternal-september.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <8JSdneBM2LUtA5P2nZ2dnZfqnPSdnZ2d@giganews.com> Lines: 39 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-fQMLeRZltZ9tJOy6n/T6G7EIzGbY/fsrfFV0hF7mRKz60IOHCGGldqxkiow4BfxgUt9nZcvy5KMyy2z!NIWUlbXIoIT+IwKp47FenTKiNYk/Fy7424xspd6mpu7ZIx6pmlErBerdlYRb8xFcTOQr14VugdD+ 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