Use madvise in more places
- It might be interesting to use
madvise
withMADV_SEQUENTIAL
for the writer as it would increase the chance that a pages is already in the memory before requesting it. - When generating the index files and reading the particles, it might be worth it to loop in advance on some particles in order to warn the OS the next requested pages (
CSDS_ADVICE_WILL_NEED
).
Edited by Loic Hausammann