TSC is not reliable under Xen on some Intel CPUs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Lucid |
Won't Fix
|
Medium
|
Unassigned | ||
Trusty |
Triaged
|
Undecided
|
Unassigned |
Bug Description
SRU Justification
Impact: When applying the Xen patchset one endif seems to have gone to the wrong place. So instead of not setting sched_clock_stable it is done all the time.
Fix: Move endif so the whole code segment is covered.
Testcase: Can cause various effects and depends on CPU (see below). Incorrect CPU time but likely also causing the unexplainable process gets stuck or clone/fork issues.
---
Ubuntu 10.04.2 LTS
Ubuntu 2.6.32-312.24-ec2 2.6.32.27+drm33.12
Linux 2.6.32-312-ec2 #24-Ubuntu SMP Fri Jan 7 18:30:50 UTC 2011 x86_64 GNU/Linux
We are experiencing impossibly high (thousands of days) accumulated CPU times for processes in ps and top when using the above kernel on Amazon EC2.
Instances running on Intel E5430 are fine, while instances on E5507 all seem to have the problem.
Please see also https:/
Thanks,
Doug
Related branches
summary: |
- TSC is not reliable undex Xen on some Intel CPUs + TSC is not reliable under Xen on some Intel CPUs |
Changed in linux (Ubuntu Lucid): | |
milestone: | none → lucid-updates |
Changed in linux (Ubuntu): | |
status: | Triaged → Fix Released |
description: | updated |
Changed in linux (Ubuntu Trusty): | |
status: | New → Triaged |
Here is a patch we are testing now.
Thanks,
Doug