pitrou commented on PR #11588:
URL: https://github.com/apache/arrow/pull/11588#issuecomment-1117546820

   Wow, I completely forgot to answer this, sorry.
   
   > That seems reasonable. What if wel add a new optional parameter to 
`arrow::io::MemoryMappedFile::Open` which is `bool auto_willneed = true`. Then 
whether the IPC reader does madvise or not will depend on how the file is 
created (and this is completely independent to whether the IPC reader uses a 
ReadRangeCache).
   
   Hmm, that doesn't sound like an ideal solution, as that would only work for 
memory-mapped files.


-- 
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...@arrow.apache.org

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

Reply via email to