LoginSignup
20
21

More than 5 years have passed since last update.

NTP vs Chrony速度測定

Last updated at Posted at 2015-01-20

Chronyとは

CentOS7でデフォルトのNTPとして利用されます。

### Chrony(NTP)の状況確認:
$ ntpq -q
  ⬇
$ chronyc sources
# もしくは
$ chronyc tracking

速度測定

delay offset 備考
ntp 1.611 msec 1.702 msec NTPサーバに接続する時間がおよそ1.611msec遅延
NTPサーバの時間より1.702msec遅れてることになります
chrony 0.001701 seconds -0.000501043 sec NTPサーバに接続する時間がおよそ1.701msec遅延
NTPサーバの時間より0.501msec進んでいることになります
なんという正確さ。。
### 測定方法
$ ntpq -p
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
*ntp1.jst.mfeed. 172.29.1.100     2 u    1   64    1    1.611    1.702   0.000
 ntp2.jst.mfeed. 172.29.2.50      2 u    -   64    1    1.809    2.605   0.000
 ntp3.jst.mfeed. .INIT.          16 u    -   64    0    0.000    0.000   0.000

$ chronyc tracking
Reference ID    : 210.173.160.27 (ntp1.jst.mfeed.ad.jp)
Stratum         : 3
Ref time (UTC)  : Thu Oct  9 07:50:02 2014
System time     : 0.000076833 seconds slow of NTP time
Last offset     : -0.000501043 seconds
RMS offset      : 0.000501043 seconds
Frequency       : 0.175 ppm fast
Residual freq   : 0.005 ppm
Skew            : 3.201 ppm
Root delay      : 0.001701 seconds
Root dispersion : 0.012275 seconds
Update interval : 65.2 seconds
Leap status     : Normal

結果

chrony速い!正確!

20
21
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
20
21