Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming.threads > #1744
| From | aminer <aminer@toto.net> |
|---|---|
| Newsgroups | comp.programming.threads, comp.programming |
| Subject | About lockfree queues |
| Date | 2013-09-24 13:09 -0700 |
| Organization | albasani.net |
| Message-ID | <l1sh13$krl$1@news.albasani.net> (permalink) |
Cross-posted to 2 groups.
Hello, I have come to an interresting subject about lockfree queues, if you take a look at those lockfree queues, like in transactional memory, if the data have changed those lockfree queue retries and loop again, but this (lockfree) mechanism generates a lot of cache-coherence traffic, so i will not advice this lockfree mechanism, so how can we do it ? you can take a look at the MCS queue Lock , i think they are doing it like a waitfree linklist that doesn't spin and that reduces a lot the cache-coherence traffic, other than that if your memory manager is not optimal and uses a lockfree mechanism and generates a lot cache-coherence traffic, so you have to use a freelist to lower the cache coherence traffic. So be smart please and think about that. Thank youi, Amine Moulay Ramdane.
Back to comp.programming.threads | Previous | Next — Next in thread | Find similar
About lockfree queues aminer <aminer@toto.net> - 2013-09-24 13:09 -0700 Re: About lockfree queues "Chris M. Thomasson" <no@spam.invalid> - 2013-09-24 10:32 -0700
csiph-web