Bug 128428
Summary: | Opteron gettimeofday granularity problem | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Walt Kopy <walter.kopy> |
Component: | kernel | Assignee: | Jim Paradis <jparadis> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 3.0 | CC: | bfox, cww, dkl, eparis, hooverma, jbaron, jlayton, john.genego, k.georgiou, ltroan, peterm, petrides, riel, skhader, tao, tkincaid, wilmer, xc_support |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | RHSA-2005-663 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-09-28 14:23:44 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 156320 |
Description
Walt Kopy
2004-07-22 19:51:24 UTC
By default, systems without an HPET timer fall back to using the PIT timer (which has .01 s resolution). Although the TSC timer is available for finer resolution, we disabled it by default due to another problem. A workaround for the problem you're seeing right now is to enable the TSC timer by specifying the "tsc" parameter at boot time. Meanwhile I'll revisit the TSC timer issue. Can someone at RedHat elaborate what the TSC timer issue is? I have an 4 way opteron system, is it safe to use tsc or cyclone as the kernel parameter at boot time? cyclone is only appropriate for IBM x440 line of machines TSC will work generally, but there may be unreliabilities in case of clockdrift (which is more likely the more cpus you have) between the cpus. (temperature differences alone can cause this over longer time). HPET is the most reliable method, and in theory all modern systems have one.. So Jim Paradis, meant that "we disabled it by default due to another problem" was entirely the clock skew problem? Our system doesn't even detect HPET, does it mean it doesn't have it. Do I have to ask someone at AMD that? It wasn't just clock skew; there was a synchronization problem such that clock updates (e.g. via ntpdate) would occasionally update the wrong half of the doubleword and you'd see the year jump to something like 586562 (See Bug 114869). So, is this TSC problem an issue on UP AMD64 systems or on the EM64T, or is it a problem only with NUMA machines? If it's not a problem on these arches then perhaps we should consider making TSC the default on them? So, is there a fix to this problem yet ? This problem has not been fixed as of RHEL 3 AS Update 4. We are encountering a situation where the lack of precision is causing an
issue with some Oracle timestamps. The database was exported from Oracle on
Solaris into Oracle on Linux.
> 5/18/2005 5:28:17.358617 PM
> 5/18/2005 5:28:17.408617 PM
As you can see, the timestamps all end in "8617"
I am currently investigating the feasibility of backporting the ACPI power-management timer code from RHEL4 so as to make another free-running timer available for timekeeping. I have already backported this to another version of the 2.4 kernel, so this should not be terribly difficult. A fix for this problem has just been committed to the RHEL3 U6 patch pool this evening (in kernel version 2.4.21-33.EL). Note that to take advantage of the fix just committed one has to boot with the "pmtmr" boot command line option. This should be noted in the errata documentation. Should this information be noted in the release notes for U6? To kbaxley, not "clock=pmtmr", just "pmtmr". Hi, Bastien. Please show the output of /proc/cmdline on the boot-up that shows the failure, and please also indicate whether the reproducer program in the initial comment of this bug report also fails. Thanks. Re comment #46, the customer wasn't using the pmtmr option as mentioned in comment #29. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2005-663.html *** Bug 210889 has been marked as a duplicate of this bug. *** Undoing dup, because this bug was fixed in U6 and bug 210889 was entered on U8. |