Joe McDonnell created IMPALA-15585:
--------------------------------------

             Summary: OsInfo does not understand that ARM's CLOCK_MONOTONIC is 
fast
                 Key: IMPALA-15585
                 URL: https://issues.apache.org/jira/browse/IMPALA-15585
             Project: IMPALA
          Issue Type: Bug
          Components: Backend
    Affects Versions: Impala 5.0.0
            Reporter: Joe McDonnell


OsInfo::Init() has logic to detect whether the clock_gettime has a fast 
CLOCK_MONOTONIC implementation. If it does not detect a fast implementation, it 
uses CLOCK_MONOTONIC_COARSE, which has significantly lower resolution. This is 
to protect against old clock implementations that are very slow (see 
IMPALA-2407). ARM has a high precision clocksource with equivalent speed to 
x86_64 for CLOCK_MONOTONIC, but it has a different name in the clocksource 
file. The algorithm doesn't detect it and uses the coarse timer. This makes 
time counters in ARM profiles much less useful.

We should update the detection to properly detect this on ARM.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to