如何找到系统运行慢时钟的来源?

Bap*_*cht 5 linux performance time gentoo

我的一台 Gentoo 服务器出现问题。一段时间后,时钟开始运行得很慢。大约需要一分一秒的时间。主要问题是不仅时钟受到影响,而且系统运行速度也很慢。如果我运行top,则需要 10 多秒才能打开。Asleep 1大约需要一分钟。

系统上没有负载,几乎没有任何东西在运行。我正在运行内核 4.0.5。硬件时钟运行良好。

这种问题的根源是什么?

这是时钟源信息:

# cat /sys/devices/system/clocksource/clocksource0/available_clocksource
refined-jiffies jiffies tsc
# cat /sys/devices/system/clocksource/clocksource0/current_clocksource
refined-jiffies
Run Code Online (Sandbox Code Playgroud)

Bap*_*cht 1

将时钟源更改为 tsc 解决了该问题。