Yue Ni created ARROW-14548:
------------------------------

             Summary: Add madvise random support for memory mapped file
                 Key: ARROW-14548
                 URL: https://issues.apache.org/jira/browse/ARROW-14548
             Project: Apache Arrow
          Issue Type: Improvement
          Components: C++
    Affects Versions: 6.0.0
            Reporter: Yue Ni


Currently, the `MemoryMappedFile` API allows users to specify a list of read 
ranges to advise operating system to prefetch `WillNeed` data for better IO 
performance, and sometimes, the application's read pattern is random access, 
and `POSIX_MADV_RANDOM` advice should be given to operating system to indicate 
this so that application with random access capability can perform better by 
leveraging this API.

https://man7.org/linux/man-pages/man2/madvise.2.html



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to