You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Yue Ni (Jira)" <ji...@apache.org> on 2021/11/02 06:59:00 UTC

[jira] [Created] (ARROW-14548) Add madvise random support for memory mapped file

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)