[ntp:questions] shared memory driver not working under windows 4.2.7p273++ build?

Terje Mathisen "terje.mathisen at tmsw.no" at ntp.org
Wed Jul 4 13:48:59 UTC 2012


E-Mail Sent to this address will be added to the BlackLists wrote:
> Kennedy, Paul wrote:> shared memory driver under windows.
>
> "CommitLog-4.1.0"(5519,45): * ports/winnt/: Replaced with new code (no SHM or PALISADE)
> "ntp-dev-4.2.7p270\ports\winnt\include\config.h"(348,19):/* # define CLOCK_SHM */
> "ntp-dev-4.2.7p285\ports\winnt\include\config.h"(349,19):/* # define CLOCK_SHM */
>
>
>
> I noticed: <http://norloff.org/ntp/shm-test/>
>   SHM test for windows?
>
Yes and no:

This is testcode that verified the possibility of handling 100k to 1M 
shared memory messages per second, without using any kind of OS locking 
primitives. The key idea is to use a msg array in round robin fashion, 
each msg aligned and sized so that it uses one or more separate cache lines.

It has _not_ been integrated into ntpd, it would require a new sub-mode 
for the SHM driver.

Terje

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




More information about the questions mailing list