-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: use mmap-ed memory if possible in Parquet
This seems to have negative performance without prefetching or with madvise. The current implementation uses prefetching to the L2 cache. This seems to have ~5% increased performance for multithreaded and ~10% increased performance on single-threaded. All this testing is done on cold file reads. Warm file reads seems to be faster as well, but it is more noisy. Multi-threaded: ``` Benchmark 1: ./plparbench-before Time (mean ± σ): 6.049 s ± 0.031 s [User: 5.813 s, System: 5.811 s] Range (min … max): 6.013 s … 6.086 s 5 runs Benchmark 2: ./plparbench-after Time (mean ± σ): 5.761 s ± 0.020 s [User: 5.083 s, System: 5.792 s] Range (min … max): 5.735 s … 5.788 s 5 runs Summary ./plparbench-after ran 1.05 ± 0.01 times faster than ./plparbench-before ``` Single-threaded: ``` Benchmark 1: ./plparbench-before Time (mean ± σ): 13.601 s ± 0.184 s [User: 5.295 s, System: 5.206 s] Range (min … max): 13.447 s … 13.858 s 5 runs Benchmark 2: ./plparbench-after Time (mean ± σ): 12.398 s ± 0.152 s [User: 4.862 s, System: 5.134 s] Range (min … max): 12.276 s … 12.664 s 5 runs Summary ./plparbench-after ran 1.10 ± 0.02 times faster than ./plparbench-before ```
- Loading branch information
1 parent
f70b7f9
commit 4570ba7
Showing
16 changed files
with
245 additions
and
60 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.