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

Terje Mathisen terje at tmsw.no
Tue Mar 29 06:23:40 UTC 2011


todd glassey wrote:
> 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?

The maximum update rate will probably be _slightly_ lower on a 
multi-chip system, but not by too much.

Anyway, since it is currently running about 5 orders of magnitude faster 
(13 MHz) than what's needed for a 100 Hz GPS, I really don't worry about it.

Terje


-- 
- <Terje at tmsw.no>
"almost all programming can be viewed as an exercise in caching"


More information about the hackers mailing list