deniskuzZ commented on PR #6976:
URL: https://github.com/apache/hive/pull/6976#issuecomment-7081496764
**Measurements: flag on vs off** (`hive.llap.io.parquet.native.enabled`
stays default false)
Setup: 40 x r5d.4xlarge LLAP daemons, 12 executors / 12 IO threads, mirrored
arms (ON OFF OFF ON), best warm iteration.
Iceberg Parquet tables: 1TRC (`measurements`, one trillion rows; part2 at
three snapshots: no deletes, V2 position
deletes, V3 deletion vectors) and TPC-DS 10 TB.
Correctness
- Same results with the flag on and off in every arm: 1TRC part1, part2 at
all three snapshots, 15 scan-heavy TPC-DS
queries; and 70 Iceberg TPC-DS queries x 4 runs with the flag on, equal in
every run.
Performance
- 1TRC part1: on 78.8 s vs off 77.0-80.0 s; in a second session 75.3-77.8 s
vs 78.5-82.2 s: parity to -5 %.
- 1TRC part2: inside the off spread (V2 deletes 109.4 vs 112.7-120.0 s, V3
+1 %, one no-delete sample +4-7 %).
- 15 TPC-DS queries: 125.9 s vs 126.4-129.5 s: parity.
- LLAP CPU 1.25-1.33x with the flag on at equal wall time: decoding runs on
the LLAP IO thread, a second busy thread
per task, and the cache keeps compressed column chunks, so every hit
decompresses again (~12 % of LLAP CPU in zstd).
- Not measured yet: the full 99-query Iceberg TPC-DS suite on vs off.
So this PR is a parity change, not a speed-up by itself: the same setting
already reads Hive Parquet tables
(HIVE-30059) and Iceberg ORC through the LLAP cache, and Iceberg Parquet
should do the same.
Measured on top of this path, not part of this PR:
- Decoding on the task's thread instead of the IO thread: 1TRC -5.8 %
(part1) / -9.7 % (part2) wall, -27 to -29 % LLAP
CPU; but +3 % wall (-4 % CPU) on the 99 TPC-DS queries over Hive Parquet
tables (12 x r6id.4xlarge), where the IO
thread's decode-ahead overlapped operator work. Not proposed as a default.
- Caching decompressed chunks, as LLAP does for ORC: -29 to -34 % LLAP CPU
on 1TRC for 1.55x the cache footprint.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]