Zoltan Borok-Nagy has uploaded this change for review. ( http://gerrit.cloudera.org:8080/25067
Change subject: PROTOTYPE IMPALA-15519: Allow several in-flight RPCs per channel ...................................................................... PROTOTYPE IMPALA-15519: Allow several in-flight RPCs per channel A data stream channel allowed one TransmitData RPC in flight, so a sender moved at most one batch per network round trip. The per-RPC state of a channel (controller, response, in-flight batch, outbound batch) moves into a slot struct, and a channel owns K slots. TransmitData waits until fewer than K RPCs are in flight; FlushFinal and EndDataStream wait for all of them. The first RPC error is kept, and teardown cancels and waits for every slot. K is set by the new flag --data_stream_sender_max_inflight_rpcs (default 2, at most 8) for hash and random partitioned senders. Broadcast, merging, Kudu and directed senders keep 1. Each channel now holds K+1 batches. The planner's memory estimate in DataStreamSink is not updated yet. Testing: - TPC-DS SF100, 5 executors, MT_DOP=0, K=2: total 374.6 s -> 307.1 s (-18%). Results matched master, except q56 and q65, whose LIMIT ties vary between runs. No new tests. Change-Id: I7cd3ceedafc8558e09c10451b45e28d6c5b44c2c Assisted-by: Claude Opus 5.5 (Claude Code) --- M be/src/runtime/krpc-data-stream-sender.cc 1 file changed, 265 insertions(+), 154 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/67/25067/1 -- To view, visit http://gerrit.cloudera.org:8080/25067 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I7cd3ceedafc8558e09c10451b45e28d6c5b44c2c Gerrit-Change-Number: 25067 Gerrit-PatchSet: 1 Gerrit-Owner: Zoltan Borok-Nagy <[email protected]>
