File: changetscmode.dita

package info (click to toggle)
virtualbox 7.1.12-dfsg-2
  • links: PTS, VCS
  • area: contrib
  • in suites: sid
  • size: 565,672 kB
  • sloc: ansic: 2,330,854; cpp: 2,193,228; asm: 230,777; python: 223,895; xml: 86,771; sh: 25,541; makefile: 8,158; perl: 5,697; java: 5,337; cs: 4,872; pascal: 1,782; javascript: 1,692; objc: 1,131; lex: 931; php: 906; sed: 899; yacc: 707
file content (23 lines) | stat: -rw-r--r-- 1,649 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic xml:lang="en-us" id="changetscmode">
  <title>Configuring the Guest Time Stamp Counter (TSC) to Reflect Guest
        Execution</title>
  
  <body>
    <p>By default, <ph conkeyref="vbox-conkeyref-phrases/product-name"/> keeps all sources of time visible to the guest
      synchronized to a single time source, the monotonic host time. This reflects the assumptions of many guest
      operating systems, which expect all time sources to reflect "wall clock" time. In special circumstances it may be
      useful however to make the time stamp counter (TSC) in the guest reflect the time actually spent executing the
      guest. </p>
    <p>This special TSC handling mode can be enabled on a per-VM basis, and for best results must be used only in
      combination with hardware virtualization. To enable this mode use the following command: </p>
    <pre xml:space="preserve">$ VBoxManage setextradata <varname>VM-name</varname> "VBoxInternal/TM/TSCTiedToExecution" 1</pre>
    <p>To revert to the default TSC handling mode use: </p>
    <pre xml:space="preserve">$ VBoxManage setextradata <varname>VM-name</varname> "VBoxInternal/TM/TSCTiedToExecution"</pre>
    <p>Note that if you use the special TSC handling mode with a guest operating system which is very strict about the
      consistency of time sources you may get a warning or error message about the timing inconsistency. It may also
      cause clocks to become unreliable with some guest operating systems depending on how they use the TSC. </p>
  </body>
  
</topic>