Jump to content

VM uses clock timer that are not mentioned in VM configuration


Recommended Posts

The default configuration for the Slackware VM does include the following <clock> definition:

 

<clock offset='utc'>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='hpet' present='no'/>
  </clock>

 

Running a slackware (Unraid) VM I see the "tsc" and "acpi_pm" timers running instead. As I'm always experiencing timer problems with "tsc" how can I work around that? Should I add "tsc" to the <clock> element?

 

Here's the error I see in a Unraid VM. Whenever this happens, performance of the VM degrades by 3/4:

 

May  4 02:10:40 TowerVM01 kernel: clocksource: timekeeping watchdog on CPU2: Marking clocksource 'tsc' as unstable because the skew is too large:
May  4 02:10:40 TowerVM01 kernel: clocksource: 'acpi_pm' wd_now: 70aa1c wd_last: 51d1b1 mask: ffffff
May  4 02:10:40 TowerVM01 kernel: clocksource: 'tsc' cs_now: 5b65e65f2fb54 cs_last: 5b65e12de6c58 mask: ffffffffffffffff
May  4 02:10:40 TowerVM01 kernel: tsc: Marking TSC unstable due to clocksource watchdog
May  4 02:10:40 TowerVM01 kernel: clocksource: Switched to clocksource acpi_pm

 

Question #1: Why is a timer running in my VMs that is not declared in the VM configuration?

 

Question #2: Would it possibly help to add an additional "tsc" timer to the <clock>?

 

<timer name='tsc' tickpolicy='catchup' mode='auto'/>

 

Thanks in advance.

 

Edited by hawihoney
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...