Skip to content
This repository has been archived by the owner on Mar 9, 2019. It is now read-only.

Add madvise() after mmap(). #383

Merged
merged 1 commit into from
Jun 3, 2015
Merged

Commits on Jun 2, 2015

  1. Add madvise() after mmap().

    This commit advises the mmapped data file to use MADV_RANDOM to avoid
    readahead. This can provide a performance boost to Bolt databases that
    are larger than memory by avoiding unnecessary disk i/o.
    benbjohnson committed Jun 2, 2015
    Configuration menu
    Copy the full SHA
    88f777f View commit details
    Browse the repository at this point in the history