StarlingX Integration and packaging
Go to file
Cole Walker aca42c6d4c Implement logic to skip updates with offset spike in ts2phc.
This change allows ts2phc to be configured to ignore timing updates that
have a large offset spike in order to mitigate the resulting timing
skew.

In some circumstances on realtime systems with high CPU load, the
timestamp consumed by ts2phc can be delayed in reaching ts2phc and
results in the offset calculation attempting to speed the clock up by a
large margin.

This change causes ts2phc to ignore updates that would greatly skew the
clock when ts2phc is already in a synchronized state.

The global configuration option "max_phc_update_skip_cnt" is provided to
allow users to specify how many consecutive offset spike incidents will
be ignored before adjusting the clock. The default value is 120. The
behaviour can be disabled by setting max_phc_update_skip_cnt to 0.

This code is ported from a proposed upstream patch found here:
https://sourceforge.net/p/linuxptp/mailman/message/44114092/

Test-plan:
Pass: Verify linuxptp package build
Pass: Deploy ts2phc binary and verify system time sync
Pass: Manually trigger offset spike and verify that ts2phc maintains
stable time sync

Closes-bug: https://bugs.launchpad.net/starlingx/+bug/2059955

Change-Id: I13cd5c3440682ec9256e11449fe62d5fe28f66fa
Signed-off-by: Cole Walker <cole.walker@windriver.com>
2024-04-01 14:53:06 -04:00
base Implement logic to skip updates with offset spike in ts2phc. 2024-04-01 14:53:06 -04:00
bmc/Redfishtool Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
centos-debian-compat Update integ debian package ver based on git 2023-03-01 18:53:50 +00:00
ceph/ceph Fix timeout command in ceph-init-wrapper 2024-01-08 19:38:04 +00:00
config Etcd upversion from 3.3.25 to 3.4.27 2024-01-31 18:49:54 +00:00
database Port stx-mariadb base image to stx-debian 2022-12-15 15:20:20 -03:00
devstack Relocated some packages to repo 'utilities' 2019-09-05 20:31:36 -04:00
doc Fix tox-docs failing sphinx 2023-08-29 16:52:04 -03:00
docker/python-docker Update debian package versions to use git commits 2023-03-01 11:27:50 -05:00
filesystem Merge "fixing high cpu usage of luks service on compute" 2024-02-06 14:47:44 +00:00
golang-github-dev fix golang-github-golang-jwt-jwt-dev url 2024-01-31 10:39:34 -05:00
gpu/gpu-operator Debian: Do not install gpu-operator into ISO 2022-09-21 14:25:50 +00:00
grub grub2/grub-efi: fix CVE-2023-4692/CVE-2023-4693 2023-10-09 22:31:36 -04:00
kata-containers/debian Add kata containers support for Starlingx 2023-12-04 11:58:54 +00:00
kubernetes Merge "Add kubernetes 1.29.2 patches" 2024-03-20 16:47:15 +00:00
ldap Update error message for ldapsetpasswd 2023-03-28 16:54:07 +00:00
logging/logrotate/centos Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
networking Debian: openvswitch: fix CVE-2023-3966/CVE-2023-5366/CVE-2024-22563 2024-03-21 16:05:14 +08:00
ostree integ: initramfs-ostree: allow adjusting boot order 2023-10-16 09:12:40 +08:00
python python3.9: Add timeout regrtest 2023-04-12 08:29:08 -03:00
releasenotes Switch to newer openstackdocstheme and reno versions 2020-06-04 14:28:48 +02:00
requests-toolbelt Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
security shim: remove the FILES_GITREVCOUNT temporarily 2023-03-17 10:37:31 +08:00
storage-drivers Upgrade Trident to 23.10.0 version 2023-11-30 18:57:18 +00:00
tools kdump-tools: fix oom issue during kdump 2023-10-10 21:42:23 -04:00
virt Subdirectories 'virt/qemu virt/libvirt ' relocated to repo 'virt' 2023-04-12 15:23:10 -04:00
.gitignore Add Docker Registry Token Server 2019-01-08 11:42:04 -05:00
.gitreview OpenDev Migration Patch 2019-04-19 19:52:31 +00:00
.pylintrc tox: fixed warnings 2023-09-06 17:54:55 -03:00
.yamllint Add .yamllint file 2021-09-09 19:05:36 +03:00
.zuul.yaml tox: fixed warnings 2023-09-06 17:54:55 -03:00
CONTRIBUTORS.wrs StarlingX open source release updates 2018-05-31 07:36:35 -07:00
LICENSE StarlingX open source release updates 2018-05-31 07:36:35 -07:00
README.rst Followup opendev cleanup and test jobs 2019-04-21 09:23:19 -05:00
bindep.txt Fix pylint zuul jobs failing due to libvirt-python and pkgconfig 2019-07-04 14:14:39 -05:00
centos_build_layer.cfg Build layering, add layer build config file and srpm and tarball lst 2019-10-21 09:24:22 +08:00
centos_extra_downloads.lst Move mellanox userspace from integ repo 2020-05-06 19:58:38 -04:00
centos_guest_image.inc Subdirectory kernel relocated to new repo starlingx/kernel 2020-04-11 13:08:18 -04:00
centos_guest_image_rt.inc Subdirectory kernel relocated to new repo starlingx/kernel 2020-04-11 13:08:18 -04:00
centos_iso_image.inc remove support for versions of K8s lower than 1.24 2023-12-15 03:19:39 +00:00
centos_pkg_dirs remove support for versions of K8s lower than 1.24 2023-12-15 03:19:39 +00:00
centos_pkg_dirs_installer Config file changes for packages being relocated to repo 'compile' 2019-09-05 20:28:59 -04:00
centos_pkg_dirs_rt Move mellanox userspace from integ repo 2020-05-06 19:58:38 -04:00
centos_srpms_3rdparties.lst networking: Update keepalived from 1.3.5 to 2.1.5 2021-11-12 12:12:16 -05:00
centos_srpms_centos.lst CentOS: tzdata: upversion to 2022a 2022-07-12 14:01:21 -04:00
centos_stable_docker_images.inc Update debian_stable_docker_images.inc to reflect libvirt relocation 2023-04-18 12:46:48 -04:00
centos_stable_wheels.inc Add libvirt module to stable wheels for image build 2019-04-04 22:54:04 -04:00
centos_tarball-dl.lst remove support for versions of K8s lower than 1.24 2023-12-15 03:19:39 +00:00
debian_build_layer.cfg Add debian_build_layer.cfg file 2021-10-05 14:08:19 -04:00
debian_iso_image.inc Merge "Up-rev kubernetes package from 1.29.1 to 1.29.2" 2024-03-05 23:05:31 +00:00
debian_pkg_dirs Merge "Up-rev kubernetes package from 1.29.1 to 1.29.2" 2024-03-05 23:05:31 +00:00
debian_stable_docker_images.inc Update debian_stable_docker_images.inc to reflect libvirt relocation 2023-04-18 12:46:48 -04:00
distroless_stable_docker_images.inc Remove Armada related packages from stx build 2023-09-27 18:58:13 +00:00
test-requirements.txt Add default test framework 2018-06-11 13:45:22 -05:00
tox.ini tox: fixed warnings 2023-09-06 17:54:55 -03:00

README.rst

integ

StarlingX Integration