Csaba Ringhofer has posted comments on this change. ( http://gerrit.cloudera.org:8080/25141 )
Change subject: WIP IMPALA-15512: Use data_stream_sender_buffer_size consistently and raise it to 64KB ...................................................................... Patch Set 3: (2 comments) http://gerrit.cloudera.org:8080/#/c/25141/3/be/src/runtime/krpc-data-stream-sender-ir.cc File be/src/runtime/krpc-data-stream-sender-ir.cc: http://gerrit.cloudera.org:8080/#/c/25141/3/be/src/runtime/krpc-data-stream-sender-ir.cc@58 PS3, Line 58: if (UNLIKELY(collector_batch_->GetAppendedSize() >= buffer_size_)) { > This logic is clearly much better than our current logic, so this comment s This is the way I intended to do it (strict limit, special handling for large rows), just Opus choose another direction on the first run :) Agree, a fixed size would be great to allow a global pool. Currently we stick to buffers, even if less buffers are needed than the high water mark (so not all channels have in-flight batches at a given time). With fix sized buffers (in most cases) senders could use only the mem they really need with minimal overhead. http://gerrit.cloudera.org:8080/#/c/25141/3/be/src/runtime/outbound-row-batch.cc File be/src/runtime/outbound-row-batch.cc: http://gerrit.cloudera.org:8080/#/c/25141/3/be/src/runtime/outbound-row-batch.cc@105 PS3, Line 105: Status OutboundRowBatch::GrowTupleData( > Do we know how often we resize buffers? Do we grow once and then keep it la see my answer for other comment - I would like to keep fixed size buffers in general, so resize would be rare (probably it makes sense at the beginning where the total data size is < num_channels * buf_size to reduce allocation of very small exchanges) -- To view, visit http://gerrit.cloudera.org:8080/25141 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ie60c1a020698cb5e2fe2ab60ed7586b897f15f18 Gerrit-Change-Number: 25141 Gerrit-PatchSet: 3 Gerrit-Owner: Csaba Ringhofer <[email protected]> Gerrit-Reviewer: Csaba Ringhofer <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Joe McDonnell <[email protected]> Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]> Gerrit-Comment-Date: Mon, 26 Oct 2026 23:59:36 +0000 Gerrit-HasComments: Yes
