File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -43,3 +43,16 @@ means that the work can't be parallelized as effectively.
43
43
The minimum value for all queue sizes is 2. When set to 0, the default is
44
44
used.
45
45
46
+ ## ` OSMIUM_CLEAN_PAGE_CACHE_AFTER_READ `
47
+
48
+ Since 2.17.0 Osmium will, when reading files, tell the kernel using ` fadvise `
49
+ that it can remove pages from the buffer cache that are not needed any more.
50
+ This is usually beneficial, because the memory can be used for something else.
51
+ But if you are reading the same OSM file multiple times at the same time or in
52
+ short succession, it might be better to keep those buffer pages.
53
+
54
+ Since 2.17.1 you can set the environment variable
55
+ ` OSMIUM_CLEAN_PAGE_CACHE_AFTER_READ ` to ` no ` and Osmium will not call
56
+ ` fadvise ` . Set it to ` yes ` or anything else (or not set it at all) to get the
57
+ default behaviour.
58
+
You can’t perform that action at this time.
0 commit comments