mirror of
https://github.com/apache/impala.git
synced 2025-12-25 02:03:09 -05:00
Perf: Targeted benchmarks with a heavily spilling query on a machine with PCLMULQDQ support show < 5% of CPU time spent in encryption and decryption. PCLMULQDQ was introduced in AMD Bulldozer (c. 2011) and Intel Westmere (c. 2010). Testing: Ran core tests with the change. Updated the custom cluster test to exercise the non-default configuration. Change-Id: Iee4be2a95d689f66c3663d99e4df0fb3968893a9 Reviewed-on: http://gerrit.cloudera.org:8080/10345 Reviewed-by: Tim Armstrong <tarmstrong@cloudera.com> Tested-by: Tim Armstrong <tarmstrong@cloudera.com>
17 lines
406 B
Plaintext
17 lines
406 B
Plaintext
====
|
|
---- QUERY
|
|
# A basic spilling query to exercise spill-to-disk end-to-end.
|
|
set buffer_pool_limit=90m;
|
|
set default_spillable_buffer_size=64k;
|
|
select count(*)
|
|
from (select distinct o_orderdate, o_custkey, o_comment
|
|
from tpch_parquet.orders) v;
|
|
---- RESULTS
|
|
1500000
|
|
---- TYPES
|
|
BIGINT
|
|
---- RUNTIME_PROFILE
|
|
# Verify that spilling was activated.
|
|
row_regex: .*SpilledPartitions: .* \([1-9][0-9]*\)
|
|
====
|