maoyuwei1 opened a new pull request, #13792:
URL: https://github.com/apache/gluten/pull/13792

   On the same query and the same data, Gluten (Velox) columnar shuffle is 
slower with Celeborn
   (RssPartitionWriter) than with ESS (LocalPartitionWriter), even though the 
remote shuffle
   service is expected to be the faster option in our environment. We traced it 
to the native write
   path rather than to Celeborn itself.
   
   The root cause is that RssPartitionWriter pushes one block per hashEvict() 
call, with no
   payload merging at all, while LocalPartitionWriter coalesces the payloads of 
a partition up to
   spark.gluten.shuffleWriter.bufferSize rows before writing them out. Two 
per-push allocation
   patterns in the RSS path then multiply the cost of each of those extra 
blocks.
   
   [CORE] Add InMemoryPayload::mergeAll(), BlockPayload::serializedSize() and 
an optional reusable compression buffer
   
   <img width="1001" height="327" alt="image" 
src="https://github.com/user-attachments/assets/b88c81b3-3a6b-4136-a53f-b29a7865792c";
 />
   


-- 
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]

Reply via email to