1
0
Fork 0
arangodb/arangod/VocBase
Max Neunhoeffer c0f1b72bab Add "sensible" madvise calls.
Essentially the strategy is: A newly created and a newly opened file
is advised to be "SEQUENTIAL ACCESS", because we will either write to
it or scan it sequentially. As soon as it is sealed, we switch the
advice to "RANDOM ACCESS", because this should be the normal pattern and
aggressive read-aheads tend to be bad. The collector and the compactor
switch a sealed file back to "SEQUENTIAL ACCESS" just before they scan
it and back to "RANDOM ACCESS", when they are done.

Furthermore, all data files in a collection are advised with "WILLNEED"
just before the collection is scanned during loading.

Finally, the actual hash table of AssocMulti is advised to be random
access, although this is an anonymous map given to us by malloc and not
a memory mapped file.
2015-08-26 16:45:26 +02:00
..
Ditch.cpp
Ditch.h
ExampleMatcher.cpp do not fetch vocbase in loop 2015-08-22 23:24:36 +02:00
ExampleMatcher.h
FILES.md
KeyGenerator.cpp
KeyGenerator.h
LOCKS.md
Legends.cpp
Legends.h
Shaper.cpp
Shaper.h
VocShaper.cpp
VocShaper.h
auth.cpp
auth.h
cleanup.cpp
cleanup.h
collection.cpp Add "sensible" madvise calls. 2015-08-26 16:45:26 +02:00
collection.h
compactor.cpp Add "sensible" madvise calls. 2015-08-26 16:45:26 +02:00
compactor.h
datafile.cpp Add "sensible" madvise calls. 2015-08-26 16:45:26 +02:00
datafile.h Add "sensible" madvise calls. 2015-08-26 16:45:26 +02:00
document-collection.cpp Merge branch 'devel' of github.com:arangodb/arangodb into array_indexing 2015-08-26 10:41:27 +02:00
document-collection.h getIndexes(true) 2015-08-26 09:48:48 +02:00
edge-collection.cpp
edge-collection.h
headers.cpp fix replication resumption 2015-08-21 15:57:24 +02:00
headers.h fix replication resumption 2015-08-21 15:57:24 +02:00
replication-applier.cpp added tests for requireFromIncluded 2015-08-25 12:50:58 +02:00
replication-applier.h less initial syncing when resuming replication 2015-08-24 17:39:11 +02:00
replication-common.cpp re-introduced tracking of replication "clients" 2015-08-24 12:02:57 +02:00
replication-common.h re-introduced tracking of replication "clients" 2015-08-24 12:02:57 +02:00
replication-dump.cpp fix replication resumption 2015-08-21 15:57:24 +02:00
replication-dump.h refactoring 2015-08-20 18:25:47 +02:00
replication-master.cpp
replication-master.h
server.cpp replication refactoring 2015-08-19 16:13:53 +02:00
server.h
shape-accessor.cpp
shape-accessor.h
shaped-json.cpp
shaped-json.h Removed debug output 2015-08-20 15:11:18 +02:00
transaction.cpp uint32_t => uint64_t 2015-08-25 15:08:09 +02:00
transaction.h fix replication resumption 2015-08-21 15:57:24 +02:00
update-policy.h
voc-types.h
vocbase-defaults.cpp
vocbase-defaults.h
vocbase.cpp re-introduced tracking of replication "clients" 2015-08-24 12:02:57 +02:00
vocbase.h uint32_t => uint64_t 2015-08-25 15:08:09 +02:00