From: Harlan Stenn Date: Mon, 26 Jun 2006 07:23:59 +0000 (-0400) Subject: Documentation updated from Dave Mills X-Git-Tag: NTP_4_2_2P0_RC6~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=195c783117c63ab026e5430f7d735aa8bb85df43;p=thirdparty%2Fntp.git Documentation updated from Dave Mills bk: 449f8b8f4POh2jeD6Cwwr4CW_PUKjA --- diff --git a/html/ntpdsim.html b/html/ntpdsim.html index 1a8d8af8f..31eccf84e 100644 --- a/html/ntpdsim.html +++ b/html/ntpdsim.html @@ -13,7 +13,7 @@

ntpdsim - Network Time Protocol (NTP) simulator

giffrom Alice's Adventures in Wonderland, Lewis Carroll

The mushroom knows all the command line options.

-

Last update: 18:45 UTC Thursday, July 28, 2005

+

Last update: 20:07 UTC Friday, June 16, 2006


Related Links

@@ -28,7 +28,7 @@

Synopsis

ntpdsim [ -B bdly ] [ -C snse ] [ -O clk_time ] [ -S sim_time ] [ -T ferr ] [ -W fsne ] [ -Y ndly ] [ -X pdly ]

Description

-

The ntpdsim program is an adaptation of the ntpd operating system daemon. The program operates as a discrete time simulator using specified systematic and random driving sources. It includes all the mitigation and discipline algorithms of the actual daemon, but with the packet I/O and system clock algorithms driven by simulation. Most functions of the real ntpd remain intact, including the monitoring, statistics recording, trace and host name resolution features. Further information on the simulator is on the NTP Discrete Event Simulator page.

+

The ntpdsim program is an adaptation of the ntpd operating system daemon. The program operates as a discrete time simulator using specified systematic and random driving sources. It includes all the mitigation and discipline algorithms of the actual daemon, but with the packet I/O and system clock algorithms driven by simulation. Most functions of the real ntpd remain intact, including the monitoring, statistics recording, trace and host name resolution features. Further information on the simulator is on the NTP Discrete Event Simulator page.

The simulator is most useful to study NTP behavior in response to time and/or frequency transients under specific conditions of network jitter and oscillator wander. For this purpose the daemon can be driven by pseudorandom jitter and wander sample sequences characteristic of real networks and oscillators. The jitter generator produces samples from a Poisson distribution, while the wander generator produces samples from a Guassian distribution.

The easiest way to use this program is to create a ntpstats directory, configuration file ntp.conf and frequency file ntp.drift and test shell test.sh in the base directory. The ntp.drift file and ntpstats directory can be empty to start. The test.sh script can contain something like

rm ./ntpstats/*
@@ -44,7 +44,7 @@ filegen peerstats type day enable
 

Command Line Options

-
Most of the ntpd command line options apply also to ntpdsim. In addition, the following command line options apply to ntpdsim. +
Note: The NTP development team is moving to the use of a syntax-directed configuration file design. When complete these options will be replaced by a new one. Most of the ntpd command line options apply also to ntpdsim. In addition, the following command line options apply to ntpdsim.
-B bdly
Specify beep delay (3600) s.
-C snse diff --git a/html/scripts/links7.txt b/html/scripts/links7.txt index fa476e279..0d33473cc 100644 --- a/html/scripts/links7.txt +++ b/html/scripts/links7.txt @@ -2,4 +2,5 @@ document.write("") \ No newline at end of file diff --git a/html/scripts/links9.txt b/html/scripts/links9.txt index 06e3462e2..6ea32f06d 100644 --- a/html/scripts/links9.txt +++ b/html/scripts/links9.txt @@ -2,6 +2,7 @@ document.write("") \ No newline at end of file