IMPALA-15585: Detect fast CLOCK_MONOTONIC on ARM In IMPALA-2407, Impala added logic to detect whether clock_gettime's CLOCK_MONOTONIC has a fast implementation. At the time, some clock implementations like Xen were very slow. To avoid the performance penalty, it uses CLOCK_MONOTONIC_COARSE when the clock source is not known to be fast. ARM has a fast clock source for CLOCK_MONOTONIC, but it is not being detected properly because it has a different name than x86_64. ARM currently uses CLOCK_MONOTONIC_COARSE, which makes profile time counters considerably less useful. This adds detection for the ARM fast time counter (arch_sys_counter) in addition to the x86_64 version (tsc). Testing: - Ran a perf-AB-test on ARM and verified that the profiles have more exact time values (without performance regression) Change-Id: I6512e5dbbb11c4816716deccce3c0e212f73cf33 Reviewed-on: http://gerrit.cloudera.org:8080/25149 Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com> Reviewed-by: Yida Wu <wydbaggio000@gmail.com> Reviewed-by: Jason Fehr <jfehr@cloudera.com>
Lightning-fast, distributed SQL queries for petabytes of data stored in open data and table formats.
Impala is a modern, massively-distributed, massively-parallel, C++ query engine that lets you analyze, transform and combine data from a variety of data sources:
The fastest way to try out Impala is a quickstart Docker container. You can try out running queries and processing data sets in Impala on a single machine without installing dependencies. It can automatically load test data sets into Apache Kudu and Apache Parquet formats and you can start playing around with Apache Impala SQL within minutes.
To learn more about Impala as a user or administrator, or to try Impala, please visit the Impala homepage. Detailed documentation for administrators and users is available at Apache Impala documentation.
If you are interested in contributing to Impala as a developer, or learning more about Impala's internals and architecture, visit the Impala wiki.
Impala only supports Linux at the moment. Impala supports x86_64 and arm64 (as of Impala 4.4). Impala Requirements contains more detailed information on the minimum CPU requirements.
Impala runs on Linux systems only. The supported distros are
Other systems, e.g. SLES15/16, may also be supported but are not tested by the community.
This distribution uses cryptographic software and may be subject to export controls. Please refer to EXPORT_CONTROL.md for more information.
See Impala's developer documentation to get started.
Detailed build notes has some detailed information on the project layout and build.