Cool. On this, though:
"/tmpfs_mount/ must be a ram disk of some sort"
Curious if it really must be, or if that's just recommended for speed.
"/tmpfs_mount/ must be a ram disk of some sort"
Curious if it really must be, or if that's just recommended for speed.
The alternative to 'must' is 'should', and people ignore that more easily, resulting in bug reports like 'memcached performance abysmal when running with disk', 'why does memcache cause 1MB of IO when I only read 256 4-byte keys', etc
But the worst case will be dismal and not unlikely.
The access pattern isn't optimized at all for flash or HDD or etc... however it does work super well if that mount happens to be a DAX mount over persistent memory.
I think the worst part is mmap-on-disk looks fine at first, and only comes out as a problem after you scale up a while. False sense of security. :/