LLMpediaThe first transparent, open encyclopedia generated by LLMs

Chrony

Generated by GPT-5-mini
Note: This article was automatically generated by a large language model (LLM) from purely parametric knowledge (no retrieval). It may contain inaccuracies or hallucinations. This encyclopedia is part of a research project currently under review.
Article Genealogy
Parent: NTP Hop 4
Expansion Funnel Raw 56 → Dedup 0 → NER 0 → Enqueued 0
1. Extracted56
2. After dedup0 (None)
3. After NER0 ()
4. Enqueued0 ()
Chrony
Chrony
Software: Miroslav Lichvar and Red Hat, Inc.Screenshot: VulcanSphere · GPLv2 · source
NameChrony
DeveloperRed Hat, Fedora Project, Debian, CentOS
Released2005
Programming languageC (programming language)
Operating systemLinux, FreeBSD, NetBSD
LicenseGNU General Public License

Chrony

Chrony is a suite of programs for time synchronization designed to work in diverse environments and on unstable networks. It provides a replacement for legacy implementations like Network Time Protocol daemons and targets systems running distributions such as Red Hat, Debian, and Ubuntu. Chrony is used in contexts ranging from embedded devices in Linux ecosystems to servers in Amazon Web Services and Microsoft Azure deployments.

Overview

Chrony implements the Network Time Protocol algorithms to keep system clocks accurate, offering alternatives to daemons like ntpd and implementations in OpenNTPD. It is maintained by contributors associated with projects such as Red Hat and packaged in distributions including Fedora Project, CentOS, and Debian. Chrony is notable for support on operating systems such as Linux, FreeBSD, and NetBSD and for integration with virtualization platforms like KVM and Xen (virtualization). Administrators in environments managed by Ansible, Puppet, and Chef often deploy Chrony for time consistency across fleets.

Architecture and Components

Chrony consists of a set of programs and utilities including a daemon, a client, and management tools, comparable to how systemd units and the cron scheduler comprise systems. Core components include an NTP daemon process that communicates with peers and servers, a control utility akin to sshd control channels, and libraries used by projects such as systemd. Chrony interacts with kernel interfaces like the POSIX clock APIs and interfaces provided by Linux Kernel timekeeping subsystems. Integration points exist for container runtimes like Docker and orchestration systems such as Kubernetes.

Features and Functionality

Chrony offers features such as fast clock synchronization after boot, handling of intermittent network links found in mobile network scenarios, and robust performance on virtualized hosts running under QEMU. It supports authentication methods used in Network Time Protocol operations and complements hardware timestamping available on network interface cards produced by vendors like Intel Corporation and Broadcom. Chrony can function as an NTP server, an NTP client, or a peer in hierarchical setups similar to topologies used in Domain Name System zone transfers. It provides tracking and logging mechanisms compatible with monitoring systems such as Nagios, Prometheus, and Grafana.

Configuration and Usage

Chrony configuration files are typically managed alongside system configuration tooling like systemd, Debian Policy, and distribution packaging tools from Red Hat. Administrators use configuration directives to specify NTP servers operated by providers including NTP Pool Project, national time services such as National Institute of Standards and Technology, and institutional sources like European Organisation for Nuclear Research. Deployment often involves service management via systemctl on systemd systems or init scripts on legacy platforms. Integration with provisioning platforms such as Amazon EC2 and Google Cloud Platform is common for cloud-native deployments.

Performance and Accuracy

Chrony is optimized for scenarios demanding quick convergence similar to how HAProxy optimizes connection handling; it can achieve sub-millisecond synchronization under favorable conditions with high-quality references like GNSS receivers and Atomic clock sources. In heterogeneous networks spanning wide-area links exemplified by connections between nodes in Internet2 and research institutions like CERN, Chrony maintains stability through adaptive algorithms that account for variable latency and jitter. Benchmarks comparing Chrony to alternatives such as ntpd and OpenNTPD show improvements in convergence time and resilience on hosts running virtualization stacks like VMware ESXi.

Security and Compatibility

Chrony supports cryptographic authentication mechanisms compatible with NTP security extensions and interoperates with authentication frameworks used by organizations including Internet Engineering Task Force standards implementers. Security practices include least-privilege deployment similar to recommendations from National Institute of Standards and Technology and compatibility testing against network stacks in Linux Kernel releases and BSD variants. Chrony integrates with audit and compliance tooling used by enterprises, such as SELinux policies in Red Hat Enterprise Linux and logging consumed by Splunk or Elastic Stack. Its interoperability matrix includes servers and clients provided by vendors like Cisco Systems, Juniper Networks, and cloud platforms such as Microsoft Azure.

Category:Timekeeping software