[ntp:hackers] [Gpsd-dev] Single-writer/many-reader consistency: Test program written

todd glassey tglassey at earthlink.net
Mon Mar 28 22:27:43 UTC 2011

On 3/27/2011 1:17 PM, Terje Mathisen wrote:
> As I promised I've written a test program, with one writer and 3 
> readers (I have 4 cores so all run at all times, I force them to be on 
> separate cores).
What happens with Hex or dual cpu machines? Does the performance scale 
as well or is it tied to a single-substrate?

> With up to 1000 updates/second I'm totally unable to see any kind of 
> inconsistency at any time, with 10K to 1M updates/second the FIFO 
> needs to be significantly larger to avoid all problems.
> Anyway, for 1-100Hz the 4-way buffer is definitely working.
> I'll post the program and more details tomorrow.
> Terje

More information about the hackers mailing list