Skip to content

Instantly share code, notes, and snippets.

@caryp
Created October 4, 2012 21:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save caryp/3836421 to your computer and use it in GitHub Desktop.
Save caryp/3836421 to your computer and use it in GitHub Desktop.
Use jiffies and clock independent from hypervisor
# Use jiffies and clock independent from hypervisor is recommended by Citrix: http://support.citrix.com/article/CTX128034
echo "jiffies" > /sys/devices/system/clocksource/clocksource0/current_clocksource
[ -d /proc/sys/xen ] && echo 1 > /proc/sys/xen/independent_wallclock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment