zhuqi-lucas commented on PR #16322:
URL: https://github.com/apache/datafusion/pull/16322#issuecomment-2962001843

   > > they are ultimately based on Tokio's channel mechanism, which relies on 
Linux's epoll, so it's still very efficient
   > 
   > I'm pretty sure that's not the case. There are no file descriptors 
involved in this as far as I can tell, it's just a bunch of user-space mpsc 
queues and semaphores (see implementation of `RecordBatchReceiverStream`, 
`tokio::sync::mpsc::Receiver`, and `tokio::sync::mpsc::Chan`). Kernel-based 
polling isn't involved here.
   
   Ok i see, i am not checking the sort merge spilling files case,  if it's not 
the case, it should be small for cpu to run.


-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to