2 ms·
That's really cool. I love hearing stories like this, it's nice to know my code is getting used in interesting ways :) The RAM disk tiering thing has come up b
by koverstreet 4y ago
That's really cool. I love hearing stories like this, it's nice to know my code is getting used in interesting ways :)
The RAM disk tiering thing has come up before, and it always strikes kernel developers as a gross hack because that's what the page cache is supposed to be for.
Perhaps we should expose a knob that completely disables fsync, for applications like this - then, dirty pages would only be written out by memory pressure.
- justinlloyd 4y agoMy memory is from three or four years back now, and there are many more lines of code that have gone over the weir since then, so I am sketchy on certain details but one of the things I looked in to, when working with bcache, was how to disable certain features of the code that were clearly hitting an IOPS limit, one of those being the dirty page cache, rather than letting memory pressure handle the flushing of the cache. I was not smart enough or educated enough about the code to figure it out for myself.