Hi! From what I’ve read about the storage engine it seems that the read-only files in the
mmap'ed into memory and never explicitly
munmap'ed until the file is closed (
mmapAccessor only calls
munmap when it is closed, and it is only ever closed when the
TSMReader which has a reference to it is closed). Consequently, it seems it’s necessary to enable swapping so the OS can page memory in and out of the mmap’ed files when it needs to. However, most databases recommend disabling swapping, for example Elasticsearch and Cassandra, citing performance reasons. I was curious why InfluxDB took the opposite approach and what your experience has been? I was also wondering if there were any plans to change the storage engine in the future to remove the dependence on swapping?