Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connectionsPath: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Chris M. Thomasson" Newsgroups: comp.arch Subject: Re: arm ldxr/stxr vs cas Date: Tue, 10 Sep 2024 16:16:04 -0700 Organization: A noiseless patient Spider Lines: 24 Message-ID: References: <07d60bd0a63b903820013ae60792fb7a@www.novabbs.org> <898cf44224e9790b74a0269eddff095a@www.novabbs.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 11 Sep 2024 01:16:04 +0200 (CEST) Injection-Info: dont-email.me; posting-host="233a7ecb793af72ad112e5f4147874d3"; logging-data="3381806"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+NWwbAVC9hE6UYpHIkCDmpZP8Dnis3Sjg=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:JJ1ilcKlCx7ANXwHMBjs+6Jlquc= Content-Language: en-US In-Reply-To: Bytes: 2287 On 9/10/2024 2:34 PM, jseigh wrote: > On 9/10/24 14:46, Chris M. Thomasson wrote: >> On 9/10/2024 7:40 AM, jseigh wrote: >>> >>> >>> One of the things I have in my implementation is that an enqueue >>> operation can detect if wrap occurred if it got a interrupted by >>> a time slice end and log how far behind it got.  I'm seeing about >>> 200,000 enqueue operations in those cases.  That would have been >>> a huge performance hit if my queue wasn't lock-free. >> >> Is your queue similar to the M&S Queue? >> >> https://people.csail.mit.edu/xchen/parallel-computing/queue.pdf >> > > Yes. Ahhh... I read that a long time ago and for some reason I cannot remember right now if it still had any issues with memory management. Page 270 line D12? I just can't remember. I am pretty sure that the Microsoft SList uses SEH to deal with it in the lock-free lifo.