# Starting a new public server: Chrony or NTP?

**URL:** https://community.ntppool.org/t/starting-a-new-public-server-chrony-or-ntp/2328
**Category:** Server operators
**Created:** [April 2, 2022, 1:52pm UTC](https://community.ntppool.org/t/starting-a-new-public-server-chrony-or-ntp/2328 "2022-04-02T13:52:13Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![eric8bits](https://avatars.discourse-cdn.com/v4/letter/e/df788c/32.png) [@eric8bits](https://community.ntppool.org/u/eric8bits)
#### Post date: [April 2, 2022, 1:52pm UTC](https://community.ntppool.org/t/starting-a-new-public-server-chrony-or-ntp/2328/1 "2022-04-02T13:52:13Z")

</div>

Which software is preferred these days for a public NTP server? Chrony or good old NTP?

---

<div class="post-metadata">

### Author: ![Bas](https://sea2.discourse-cdn.com/flex016/user_avatar/community.ntppool.org/bas/32/465_2.png) [@Bas](https://community.ntppool.org/u/Bas)
#### Post date: [April 2, 2022, 8:54pm UTC](https://community.ntppool.org/t/starting-a-new-public-server-chrony-or-ntp/2328/2 "2022-04-02T20:54:14Z")

</div>

It doesn’t matter what you use.

Chrony is more advanced and has better time-management.

But ntpd has better support for time-devices like DCF.

It all depends on your plans.

If it’s a simple Stratum 2 server, then Chrony is the best choice.

For Stratum 1 it’s more complicated and depends on the driver you need.

In short, there is no simple answer unless we know more about the setup-plans you have.

---

<div class="post-metadata">

### Author: ![eric8bits](https://avatars.discourse-cdn.com/v4/letter/e/df788c/32.png) [@eric8bits](https://community.ntppool.org/u/eric8bits)
#### Post date: [April 3, 2022, 4:34am UTC](https://community.ntppool.org/t/starting-a-new-public-server-chrony-or-ntp/2328/3 "2022-04-03T04:34:06Z")

</div>

> [@Bas](#):
>
> If it’s a simple Stratum 2 server, then Chrony is the best choice.

Good question, I totally forgot to mention it is indeed going to be Stratum 2. I’ll look into Chrony!

---

<div class="post-metadata">

### Author: ![Jamesb192](https://sea2.discourse-cdn.com/flex016/user_avatar/community.ntppool.org/jamesb192/32/699_2.png) [@Jamesb192](https://community.ntppool.org/u/Jamesb192)
#### Post date: [April 19, 2022, 7:09am UTC](https://community.ntppool.org/t/starting-a-new-public-server-chrony-or-ntp/2328/4 "2022-04-19T07:09:24Z")

</div>

IIRC [ntp-refclock](https://github.com/mlichvar/ntp-refclock) claims to allow chrony users the use of any (one?) of the classic ntp refclocks. shm, pps, gpsd-json, and local-clock would seem to be redundant though.

Also the NTPsec project exists along with other implementations.

---

<div class="post-metadata">

### Author: ![Bas](https://sea2.discourse-cdn.com/flex016/user_avatar/community.ntppool.org/bas/32/465_2.png) [@Bas](https://community.ntppool.org/u/Bas)
#### Post date: [April 24, 2022, 9:50pm UTC](https://community.ntppool.org/t/starting-a-new-public-server-chrony-or-ntp/2328/5 "2022-04-24T21:50:36Z")

</div>

Chrony can alter the Cmos-clock if you want it to be corrected.

```auto
# This directive enables kernel synchronisation (every 11 minutes) of the
# real-time clock. Note that it can’t be used along with the 'rtcfile' directive.
rtcsync

# Step the system clock instead of slewing it if the adjustment is larger than
# one second, but only in the first three clock updates.
makestep 0.1 3

```

Then I let cron do a

> chronyc makestep

every hour to correct the cmos-clock.

No need for drivers or anything.

Chrony uses just a few clock-sources, not many like NTP.

In fact just GPS and PPS and HWclock-stamping and some other, but that is about it.  
E.g. DCF77 with Chrony is just a nightmare to get running.

If you want to do Stratum1 with Chrony and you use GPS with or without PPS, then Chrony is the way to go.

But if you have other drivers/devices, then NTP is hard to beat.

For stratum2 they are both ok and easy to setup.

I find Chrony more forgiving and beter time management then NTP, but that is my opinion.
