Re: [ntp:questions] move_fd() causing bad behavior on AIX5.3

2007-12-01 Thread Danny Mayer
Harlan Stenn wrote: There is a good reason for the move_fd code. Frank would probably know better, and he's on vacation for another 2-3 weeks' time. Actually I was the one that wrote it and yes there are good reasons for doing it. However, if for some reason this causes a problem on his

[ntp:questions] Dual-core systems - AMD - Windows Vista

2007-12-01 Thread David J Taylor
Folks, I'm still trying to resolve NTP on Windows Vista. I do have a dual-core system, so I was wondering how NTP handled dual-core. Does it discipline both cores, and is a special start-up switch required? Should I define the affinity for NTP to a single core? Looking at the AMD Web site,

Re: [ntp:questions] Dual-core systems - AMD - Windows Vista

2007-12-01 Thread David J Taylor
Richard B. Gilbert wrote: David J Taylor wrote: Folks, I'm still trying to resolve NTP on Windows Vista. I do have a dual-core system, so I was wondering how NTP handled dual-core. Does it discipline both cores, and is a special start-up switch required? Should I define the affinity

Re: [ntp:questions] Dual-core systems - AMD - Windows Vista

2007-12-01 Thread David J Taylor
David J Taylor wrote: [] Looking at the AMD Web site, they do have a utility to sync the two cores - AMD Dual-Core Optimizer - under certain circumstances. I tried to install this on Vista, but a file appears to be missing! Fixed by using Run as administrator. Cheers, David

Re: [ntp:questions] Dual-core systems - AMD - Windows Vista

2007-12-01 Thread David L. Mills
David, The multiple-CPU nanokernel code that left here and is in the Alpha kernel assumes each CPU has an individual cycle counter and the timer interupts are vectored to a designated CPU. There is a data structure associated with each CPU that holds the measured current cycle counter scaling

[ntp:questions] Any samples for NTP/SNTP client code?

2007-12-01 Thread guuwwe
Does anybody know of any *practical* samples on how to implement NTP/SNTP client?. The goal is to provide accurate time for a program/client running on Windows Vista. Specifically, what values to include in the the request message, how to process the reply message, etc. I am NOT asking how to

Re: [ntp:questions] Any samples for NTP/SNTP client code?

2007-12-01 Thread Joseph Gwinn
In article [EMAIL PROTECTED], [EMAIL PROTECTED] wrote: Does anybody know of any *practical* samples on how to implement NTP/SNTP client?. The goal is to provide accurate time for a program/client running on Windows Vista. Specifically, what values to include in the the request message,

Re: [ntp:questions] Any samples for NTP/SNTP client code?

2007-12-01 Thread Jan Ceuleers
[EMAIL PROTECTED] wrote: Does anybody know of any *practical* samples on how to implement NTP/SNTP client?. The goal is to provide accurate time for a program/client running on Windows Vista. Have you seen the sntp directory in the reference implementation tarball?

Re: [ntp:questions] Any samples for NTP/SNTP client code?

2007-12-01 Thread Hal Murray
In article [EMAIL PROTECTED], [EMAIL PROTECTED] writes: Does anybody know of any *practical* samples on how to implement NTP/SNTP client?. The goal is to provide accurate time for a program/client running on Windows Vista. Just curious. Why do you want to roll your own as compared to run one of

Re: [ntp:questions] Any samples for NTP/SNTP client code?

2007-12-01 Thread David J Taylor
[EMAIL PROTECTED] wrote: Does anybody know of any *practical* samples on how to implement NTP/SNTP client?. The goal is to provide accurate time for a program/client running on Windows Vista. [] Why not just run NTP? http://www.meinberg.de/english/sw/ntp.htm Cheers, David

Re: [ntp:questions] drift file set to -500

2007-12-01 Thread Hal Murray
Yes. And one missing step: After stopping ntpd, ntpdate -b [server]. The single most common cause of a large negative drift value is a system whose clock has not been initialized before starting ntpd (or has been stopped during a large time adjustment). What vintage of ntpd are you using?

Re: [ntp:questions] Any samples for NTP/SNTP client code?

2007-12-01 Thread guuwwe
On Dec 1, 3:07 pm, Joseph Gwinn [EMAIL PROTECTED] wrote: In article [EMAIL PROTECTED], [EMAIL PROTECTED] wrote: Does anybody know of any *practical* samples on how to implement NTP/SNTP client?. The goal is to provide accurate time for a program/client running on Windows Vista.

Re: [ntp:questions] move_fd() causing bad behavior on AIX5.3

2007-12-01 Thread Harlan Stenn
Danny wrote: Harlan Stenn wrote: There is a good reason for the move_fd code. Frank would probably know better, and he's on vacation for another 2-3 weeks' time. Actually I was the one that wrote it and yes there are good reasons for doing it. Cool - thanks for letting me know those

Re: [ntp:questions] Any samples for NTP/SNTP client code?

2007-12-01 Thread guuwwe
On Dec 1, 3:40 pm, [EMAIL PROTECTED] (Hal Murray) wrote: In article [EMAIL PROTECTED], [EMAIL PROTECTED] writes: Does anybody know of any *practical* samples on how to implement NTP/SNTP client?. The goal is to provide accurate time for a program/client running on Windows Vista. Just

Re: [ntp:questions] drift file set to -500

2007-12-01 Thread Danny Mayer
Aggie wrote: I think I found out where the problem is. VxWorks doesn't have adjtime( ), and the one we wrote wasn't doing anything. That's what makes the drift to increase to +500 (I think). Does that make sense?? We would like to know what adjtime( ) actually does, so we can rewrite it

Re: [ntp:questions] drift file set to -500

2007-12-01 Thread Tom Smith
Hal Murray wrote: Yes. And one missing step: After stopping ntpd, ntpdate -b [server]. The single most common cause of a large negative drift value is a system whose clock has not been initialized before starting ntpd (or has been stopped during a large time adjustment). What vintage of

Re: [ntp:questions] Dual-core systems - AMD - Windows Vista

2007-12-01 Thread Danny Mayer
David J Taylor wrote: NTP on Windows uses the RDTSC instruction. Which CPU does it read the time stamp counter from? If NTP is multi-threaded, different threads could be run on different CPUs with different TSCs. Yes, just the same issues arise with 4 CPUs, and I don't know how the

Re: [ntp:questions] Dual-core systems - AMD - Windows Vista

2007-12-01 Thread Danny Mayer
Dave, While I would agree with you in general, we don't have any real idea what the Windows code is doing whether or not it is a uniprocessor or multiprocessor. I very much doubt that they duplicated your work though I would think that it's very important for the CPU's to keep each other in close

[ntp:questions] Issues with ACCORD Reference Clock Driver

2007-12-01 Thread venu gopal
Hi Harlan Stenn, As per your suggestion I would have used the existing NMEA reference clock driver for Accord GPS Clock. But there are certain issues as listed below. 1. Accord GPS Clock spits out NMEA at 9600 baudrate 2. It has custom NMEA format for GPS (and the driver is

Re: [ntp:questions] Dual-core systems - AMD - Windows Vista

2007-12-01 Thread David J Taylor
Danny Mayer wrote: David J Taylor wrote: NTP on Windows uses the RDTSC instruction. Which CPU does it read the time stamp counter from? If NTP is multi-threaded, different threads could be run on different CPUs with different TSCs. Yes, just the same issues arise with 4 CPUs, and I don't

[ntp:questions] Time offset / Jitter under FreeBSD

2007-12-01 Thread Bob
I've been experimenting with running a timeserver under FreeBSD. Basically, I'm trying to build a dedicated box as a time server. I am currently running the Meinberg port under windows, and that seems stable. I installed FreeBSD on a drive, and booted my windows machine from it. The FreeBSD

Re: [ntp:questions] Rude rackety customers

2007-12-01 Thread ask
On Nov 26, 2:14 pm, David L. Mills [EMAIL PROTECTED] wrote: Guys, FYI: In reworking the NTP server flood defenses to more accurately spot the cloggers, I found one perp sending contiuously at 3 s, another at 5 s and a third at 8 s. This results in sending one KoD every two seconds. The KoD