Currently, it is only supported in Linux.

How to use it

Requisition

  • You need to pre-reserve huge pages in linux
  • Find out the huge page size to allocateSee Linux Documentation/vm/hugetlbpage.txt for details.

Configure

  • PlainTableReader's indexes and bloom filters. When creating table factory for plain tables using NewPlainTableFactory() or NewTotalOrderPlainTableFactory(), set the parameter huge_page_tlb_size to be the huge page size.