Boost logo

Boost :

Subject: Re: [boost] [lockfree::fifo] Review
From: Tim Blechmann (tim_at_[hidden])
Date: 2009-12-20 09:09:44

>> still, if it performs better than my spsc ringbuffer, it
>> would be interesting to use it as template specialization for pointer
>> types ...
> Well, IMO, it should perform better because the producer and consumer are
> not thrashing each other wrt the head and tail indexes.

yes, it would increase the size of the ringbuffer, but thrashing of the
indices should be reduced, especially, if they are placed in different
cache lines.

i will do a bit of profiling to get some numbers.

thanks, tim

It is better to make a piece of music than to perform one, better to
perform one than to listen to one, better to listen to one than to
misuse it as a means of distraction, entertainment, or acquisition of
  John Cage

Boost list run by bdawes at, gregod at, cpdaniel at, john at