Re: [time-nuts] Lady heather plus NTP server?

2014-01-24 Thread David J Taylor
Further to Martin's most helpful comments, you can see how well Windows 
performs as an NTP server here:


 http://www.satsignal.eu/mrtg/performance_ntp.php#windows

and as a stratum-1 server here:

 http://www.satsignal.eu/mrtg/performance_ntp.php#windows-stratum-1

There's quite a lot of difference over the versions, with Windows 8/8.1 
having the potential to be the best performer as it has a more precise get 
system time function.


For the convenience of Windows users who can't or prefer not to compile 
their own versions (although the tools are free and available), I keep a few 
recent executables here:


 http://www.satsignal.eu/ntp/x86/

Just stop the NTPD service, copy the executables, and restart the service.

Cheers,
David
--
SatSignal Software - Quality software written to your requirements
Web: http://www.satsignal.eu
Email: david-tay...@blueyonder.co.uk 


___
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.


Re: [time-nuts] Lady heather plus NTP server?

2014-01-24 Thread Martin Burnicki

Chuck Forsberg WA7KGX wrote:

I did a quick comparison between Lady Heather under Wine+Linux,
Lady Heather under Win7, and WWV.

The NTP time on my office machine agrees with WWV on 5 MHz
as closely as my eyes and ears can tell.  Linux is running its default
NTP, Win7 is running Meinberg (as I recall).


Windows is a lousy timekeeper, and the Windows port of the NTP software 
includes a number of workarounds for deficiencies in the Windows kernel.


If the offset reported by "ntpq -p" on the Windows machine is more than 
just a few milliseconds then the following hints may be helpful.



The latest Windows bug which came to our attention is that some Windows 
versions don't apply small time adjustments at all. For example, if NTP 
applies an adjustment less than 16 ticks to the Windows time this is 
simply ignored by Windows. However, NTP expects the adjustment to have 
some effect, but if there is no effect then the next time comparison 
yields a much larger difference than expected, and thus causes another 
adjustment which is probably larger than necessary. As a summary this 
can cause large swings in the time adjustment values.


Newer developer version of the NTP package contain a workaround for this 
Windows bug. The report and fix are discussed here:


NTP Bug 2328 - Vista/Win7 time keeping inaccurate and erratic
https://bugs.ntp.org/show_bug.cgi?id=2328

The problem is also explained on the Microsoft support page:

SetSystemTimeAdjustment May Lose Adjustments Less than 16
http://support.microsoft.com/kb/2537623

Even though the MS report only mentions Windows 7, the Windows Server 
2008 kernel is similar to Windows 7 and has probably the same bug. So if 
you want to give it a try you can download a NTP developer version here 
which includes a workaround:

http://support.ntp.org/people/burnicki/windows/

You should try the release version first. Just unzip the ZIP archive, 
stop the NTP service, copy all extracted files over the files in your 
NTP installation directory (e.g. C:\Program Files (x86)\NTP\bin\), and 
restart the NTP service.


We have found that this version has greatly improved the resulting 
accuracy on Windows 7 and Windows Server 2008 installations.


Please note under Windows you should configure all upstream servers with 
a line reading


server aa.bb.cc.dd iburst minpoll 6 maxpoll 6

where aa.bb.cc.dd has to be replaced with the host name or IP address of 
your NTP server.


Generally you should use a polling interval as short as possible under 
windows to let let ntpd apply adjustments quickly.


However, please don't use polling intervals below 6 with the developer 
version since this prevents the workaround from working correctly as 
discussed in the bug report.


Also, higher polling intervals can cause problems under Windows. See:

NTP Bug 2341 - ntpd fails to keep up with clock drift at poll > 7
http://bugs.ntp.org/show_bug.cgi?id=2341

So our advice is to use "minpoll 6 maxpoll 6" as indicated in the 
example above.


The patched ntpd has caused no drawbacks on any Windows machines, but 
has improved accuracy on a number of installations.



Martin
--
Martin Burnicki

Senior Software Engineer

MEINBERG Funkuhren GmbH & Co. KG
Email: martin.burni...@meinberg.de
Phone: +49 (0)5281 9309-14
Fax: +49 (0)5281 9309-30

Lange Wand 9, 31812 Bad Pyrmont, Germany
Amtsgericht Hannover 17HRA 100322
Geschäftsführer/Managing Directors: Günter Meinberg, Werner Meinberg, 
Andre Hartmann, Heiko Gerstung

Web: http://www.meinberg.de
___
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.


Re: [time-nuts] Lady heather plus NTP server?

2014-01-23 Thread Chuck Forsberg WA7KGX

I did a quick comparison between Lady Heather under Wine+Linux,
Lady Heather under Win7, and WWV.

The NTP time on my office machine agrees with WWV on 5 MHz
as closely as my eyes and ears can tell.  Linux is running its default
NTP, Win7 is running Meinberg (as I recall).

LH updates its time display about a moment later.
(Moment == 200milliseconds in Psychology.
I remember that because I got it wrong on a college psych quiz.)

I suppose one would have to use GPS 1pps to do much better than
NTP over a good internet connection.

--
 Chuck Forsberg WA7KGX   c...@omen.com   www.omen.com
Developer of Industrial ZMODEM(Tm) for Embedded Applications
  Omen Technology Inc  "The High Reliability Software"
10255 NW Old Cornelius Pass Portland OR 97231   503-614-0430

___
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.


Re: [time-nuts] Lady heather plus NTP server?

2014-01-23 Thread Chris Albertson
i think most people run LH on Linux either VMWare or Wine.  That might be
your first move.  Virtualize the windows system and run LH on that.It
make it better really because then you can export the display over the
network.

So, install Linux on the PC, then run Windows on that

Maybe one way we will get lucky and some one will port LH to Linux/UNIX.  I
have 1,000 project higher up on the list.


On Thu, Jan 23, 2014 at 4:33 PM, ken johnson  wrote:

> Thanks for the reply Scott- but I have to say I am a little confused, LH is
> running on a windows box and the program you pointed to is a linux one- am
> I missing something here?
>
> Ken.
>
>
> On Fri, Jan 24, 2014 at 8:10 AM, Scott Mace  wrote:
>
> > Try this:
> >
> > http://www.febo.com/pipermail/time-nuts/2010-February/044476.html
> >
> > It uses the NTP SHM reference clock.
> >
> > Scott
> >
> > On 01/20/2014 09:01 PM, ken johnson wrote:
> >
> >> I currently have my router/firewall acting as both an NTP client,
> getting
> >> it's time from the net, and an NTP server serving my home network. Now I
> >> have my thunderbolt and Lady heather working nicely, I would like to
> have
> >> that machine act as the ntp server for my network, but it appears ntp
> >> can't
> >> understand tsip, and also with LH taking the com port, I can't see a way
> >> of
> >> ntp getting the data anyway.
> >>
> >> Is this possible to do, and if so,  can anyone give me some clues as to
> >> how?
> >>
> >> Thanks, Ken.
> >> ___
> >> time-nuts mailing list -- time-nuts@febo.com
> >> To unsubscribe, go to https://www.febo.com/cgi-bin/
> >> mailman/listinfo/time-nuts
> >> and follow the instructions there.
> >>
> >>  ___
> > time-nuts mailing list -- time-nuts@febo.com
> > To unsubscribe, go to https://www.febo.com/cgi-bin/
> > mailman/listinfo/time-nuts
> > and follow the instructions there.
> >
> ___
> time-nuts mailing list -- time-nuts@febo.com
> To unsubscribe, go to
> https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
> and follow the instructions there.
>



-- 

Chris Albertson
Redondo Beach, California
___
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.


Re: [time-nuts] Lady heather plus NTP server?

2014-01-23 Thread ken johnson
Thanks for the reply Scott- but I have to say I am a little confused, LH is
running on a windows box and the program you pointed to is a linux one- am
I missing something here?

Ken.


On Fri, Jan 24, 2014 at 8:10 AM, Scott Mace  wrote:

> Try this:
>
> http://www.febo.com/pipermail/time-nuts/2010-February/044476.html
>
> It uses the NTP SHM reference clock.
>
> Scott
>
> On 01/20/2014 09:01 PM, ken johnson wrote:
>
>> I currently have my router/firewall acting as both an NTP client, getting
>> it's time from the net, and an NTP server serving my home network. Now I
>> have my thunderbolt and Lady heather working nicely, I would like to have
>> that machine act as the ntp server for my network, but it appears ntp
>> can't
>> understand tsip, and also with LH taking the com port, I can't see a way
>> of
>> ntp getting the data anyway.
>>
>> Is this possible to do, and if so,  can anyone give me some clues as to
>> how?
>>
>> Thanks, Ken.
>> ___
>> time-nuts mailing list -- time-nuts@febo.com
>> To unsubscribe, go to https://www.febo.com/cgi-bin/
>> mailman/listinfo/time-nuts
>> and follow the instructions there.
>>
>>  ___
> time-nuts mailing list -- time-nuts@febo.com
> To unsubscribe, go to https://www.febo.com/cgi-bin/
> mailman/listinfo/time-nuts
> and follow the instructions there.
>
___
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.


Re: [time-nuts] Lady heather plus NTP server?

2014-01-23 Thread Scott Mace

Try this:

http://www.febo.com/pipermail/time-nuts/2010-February/044476.html

It uses the NTP SHM reference clock.

Scott

On 01/20/2014 09:01 PM, ken johnson wrote:

I currently have my router/firewall acting as both an NTP client, getting
it's time from the net, and an NTP server serving my home network. Now I
have my thunderbolt and Lady heather working nicely, I would like to have
that machine act as the ntp server for my network, but it appears ntp can't
understand tsip, and also with LH taking the com port, I can't see a way of
ntp getting the data anyway.

Is this possible to do, and if so,  can anyone give me some clues as to how?

Thanks, Ken.
___
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.


___
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.


Re: [time-nuts] Lady heather plus NTP server?

2014-01-21 Thread Chris Albertson
It will work.

NTP has clock drivers for t-bolts.  The name is "pasiside" or something
like that.  Find it in the drivers folder in the NTP reference distribution.

Have you tried to see if two processes can read from the same serial port.
 I think they can.  Normally it is  bad idea.  It would not try it because
both programs do write to the port.  It they both only did reads then yo
could share it.

Two solutions:  One is "gpsd" which is a server deamon that connects to a
GPS then makes it available to multiple processes.  It can work with NTP
but I doubt LH knows how to use it.

Second idea that WILL work just fine.  I think this might be the only
option run the Atom clock ref in NTP.  This uses just the 1PPS output from
the GPS and does not use serial data.   It works well if you also have
Internet based NTP servers.
Atom does not work well by itself because you don't get the number of the
seconds but you don't need that.


On Mon, Jan 20, 2014 at 7:01 PM, ken johnson  wrote:

> I currently have my router/firewall acting as both an NTP client, getting
> it's time from the net, and an NTP server serving my home network. Now I
> have my thunderbolt and Lady heather working nicely, I would like to have
> that machine act as the ntp server for my network, but it appears ntp can't
> understand tsip, and also with LH taking the com port, I can't see a way of
> ntp getting the data anyway.
>
> Is this possible to do, and if so,  can anyone give me some clues as to
> how?
>
> Thanks, Ken.
> ___
> time-nuts mailing list -- time-nuts@febo.com
> To unsubscribe, go to
> https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
> and follow the instructions there.
>



-- 

Chris Albertson
Redondo Beach, California
___
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.


Re: [time-nuts] Lady heather plus NTP server?

2014-01-20 Thread Hal Murray
> Is this possible to do, and if so,  can anyone give me some clues as to how?

ntpd works fine with Thunderbolts.  It's the Palisade driver, 29.  If that's 
not enough of a hint I'll say more.

ntpd basically sends a few setup commands to put the TBolt into a mode where 
it sends packet types X and Y every second, and then just listens to those 
packets.  (I forget the values of X and Y.  If you need to know and can't 
find them in the source code, I'll look for them.)

If you have two PCs, you might try making a RS-232 splitter cable.  Put ntpd 
on the listen only side.  If LH sets things up right, ntpd will hear the 
stuff it wants and ignore the other stuff that LH uses.  If ntpd does 
anything too stupid (like flood the log file), let me know and I'll try to 
fix it.

You might be able to avoid the second PC by using a USB-serial gizmo.  For 
good timing, you need to hack the TBolt to put the PPS on pin ?? and connect 
that to the real serial port.  The TBolt pulse may not be wide enough.



-- 
These are my opinions.  I hate spam.



___
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.


[time-nuts] Lady heather plus NTP server?

2014-01-20 Thread ken johnson
I currently have my router/firewall acting as both an NTP client, getting
it's time from the net, and an NTP server serving my home network. Now I
have my thunderbolt and Lady heather working nicely, I would like to have
that machine act as the ntp server for my network, but it appears ntp can't
understand tsip, and also with LH taking the com port, I can't see a way of
ntp getting the data anyway.

Is this possible to do, and if so,  can anyone give me some clues as to how?

Thanks, Ken.
___
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.