Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
to 8MiB instead of the default 8KiB. Amount mapped memory is set to a low enough number of pages to be able to handle a couple of stores updates during a single stage and leaving some room for the page cache to maneuver. Also no longer explicitly flushes stores after each batch due to the low number of pages. The effects of this change are: - configuration code simpler due to not needing to calculate memory size from batch size. - less overhead spent in reading/writing pages, which improves performance of import overall since those steps usually being the bottlenecks. - helps with a scenario during Relationship-->Relationship linkback stage where on Windows OS/FS memory consumption seemingly increasing slightly with each I/O access during this backward scan of the relationship store. Bigger page size means less I/O accesses and therefore heavily reducing this problem. Overall this change have been seen to improve I/O access at least 30-50% when doing an import.
- Loading branch information
Showing
8 changed files
with
44 additions
and
90 deletions.
There are no files selected for viewing
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
51 changes: 0 additions & 51 deletions
51
community/kernel/src/main/java/org/neo4j/unsafe/impl/batchimport/StoreFlusherStep.java
This file was deleted.
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