xenのDomain0をアップデートしたら、DomainUの時計が狂うようになってしまった

Domain0 をアップデートした

Domain0のサーバを、Debian8から9にアップデートしました。 そしたら、DomainUの時計が狂いました。

extra="clocksource=jiffies"の場合

Domain0のDomainU設定ファイルの中に

extra="clocksource=jiffies"

これだと、

  • /sys/devices/system/clocksource/clocksource0/current_clocksource の中身
jiffies
  • /sys/devices/system/clocksource/clocksource0/available_clocksource の中身
xen tsc refined-jiffies jiffies

この設定だと、DomainUの時計が1分で5秒ずれる。尋常ではないズレです。

extraが空の場合

  • Domain0のDomainU設定ファイルの中のextraは書きません

これだと、

  • /sys/devices/system/clocksource/clocksource0/current_clocksource の中身
xen
  • /sys/devices/system/clocksource/clocksource0/available_clocksource の中身
xen tsc

これだと時計がDomain0に同期するようになった。

結論

clocksource=jiffies を使ってはだめになったみたい。 というか、xen使っている人なんてもういないのかなぁ。。