Relative Content

Tag Archive for linuxlinux-kernelmmap

How do I limit the number of resident pages in a mmap?

I’m making a “database” by mmap‘ing a file to a massive chunk (1 TiB) of memory, and writing to it, and fallocate‘ing more space when needed. The db is meant for time series data, and I’m simply appending new data points to the end of the file.