Skip to content

Add runtime check to warn when the kernel's clock source may be wrong #10604

@oranagra

Description

@oranagra

As discussed in #10502 (comment), it seems that some Linux images on AWS wrongly use xen as clocksource which results in sub-optimal performance (true system call when calling clock_gettime).

We would like to add a runtime check to warn users about it (much like what we do with THP).
Additionally, we would like to add some INFO fields reporting the clock source (probably both what we detected the kernel is using, and the one used by our monotonic.c)

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions