Results 1 to 4 of 4

Thread: NTP server

  1. #1

    Smile NTP server

    If anybody wants to run an NTP server on their WL-500g, I have compiled
    both the tiny openntpd (52KB) and the classic full blown ntpd (280KB).

    The clock on my box appears to be about as bad as it gets, so the
    ntpclient (built-in at /usr/sbin/ntpclient) seems to be unable to "lock"
    if you try to run it with the -l flag.

    openntpd painfully manages to keep the clock offset within -0.1s and +0.3s
    at the cost of contacting the upstream server every other minute.

    ntpd fares a bit better, syncing to within -0.1s or +0.1s while only contacting the server occasionally (not enough testing time available yet to evaluate exactly how well it works, tho). The ntp.drift file says the clock is off by about 250ppm, which is rather very large (larger than what the ntpclient claims to be able to manage).

  2. #2
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    Are the above sizes for stripped executables & dynamically linked?

  3. #3
    Join Date
    Apr 2004
    Location
    Netherlands
    Posts
    1,308
    Is your box' CPU load very high? Because on the pc platform a sustained high CPU load causes the Linux software clock to lag behind...

  4. #4
    Quote Originally Posted by Styno
    Is your box' CPU load very high? Because on the pc platform a sustained high CPU load causes the Linux software clock to lag behind...
    No, my CPU was mostly unused during my various tests.
    But I've been twiddling with the openntpd sources and am now getting slightly better stability.
    Still working on it.

Similar Threads

  1. Replies: 0
    Last Post: 20-05-2004, 16:57

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •