create: 时间校准只做秒级精度,iKuai 校准后由代理让宿主机立即对时
MemRelay-Operation: memory-save:host-time-precision-decision-2026-11-07 MemRelay-Resource: a1dad88d-2905-49ba-a43a-ec4970a9ab23
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
---
|
||||
title: 时间校准只做秒级精度,iKuai 校准后由代理让宿主机立即对时
|
||||
type: decision
|
||||
permalink: main/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/时间校准只做秒级精度-i-kuai-校准后由代理让宿主机立即对时
|
||||
stable_id: a1dad88d-2905-49ba-a43a-ec4970a9ab23
|
||||
scope: project
|
||||
memory_type: decision
|
||||
project_id: d5a7f581-c442-4554-87b9-ee723b8b0258
|
||||
usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998
|
||||
status: active
|
||||
revision: 1
|
||||
request_id: host-time-precision-decision-2026-11-07
|
||||
created_at: '2026-11-06T20:38:05.329443+00:00'
|
||||
updated_at: '2026-11-06T20:38:05.329443+00:00'
|
||||
tags:
|
||||
- host-agent
|
||||
- time-sync
|
||||
- ikuai
|
||||
- chrony
|
||||
---
|
||||
|
||||
用户 2026-11-07 确认:服务器时间校准只需秒级精度(与真实时间相差不超过 1 秒),不做毫秒级处理。
|
||||
- iKuai 设时:basic/set_time 的参数取「服务器当前时间 + delta + 0.5 秒」四舍五入的整秒,立即发送;不做整秒对齐、生效延迟学习和补设。偏差不到 1 秒不改,复核仍差 1 秒以上算失败。
|
||||
- iKuai 校准成功后,Metrix 向 MetrixHostAgent 下发 time.resync:chronyc burst 4/4 然后 chronyc makestep,再用 SNTP 复核,没有 chronyd 或仍差 1 秒以上时直接 clock_settime。原因:生产宿主机 chronyd 3.4 轮询间隔已到 1024 秒,配置 makestep 1.0 3 只在启动后前 3 次更新允许跳变,不主动触发要等下一次轮询(最多约 17 分钟)后再慢慢追。
|
||||
- 宿主机 chrony 配置:server 192.127.115.1 iburst、makestep 1.0 3、rtcsync;2026-11-07 04:37 查看已同步,相对 iKuai 偏差约 2 微秒。
|
||||
Reference in New Issue
Block a user