2 ms·
It would have to be a legitimately RAM heavy workload though... running out of RAM due to leaving applications open (or browser tabs open), might result in swap
by tomxor 6y ago
It would have to be a legitimately RAM heavy workload though... running out of RAM due to leaving applications open (or browser tabs open), might result in swapping out those to disk until they are used again. But the level of swapping required to generate this much write usage would essentially be using the disk as RAM, as in the running program doesn't have enough RAM, either due to needing more than physically available or due to buggy memory management.
- yarcob 6y agoRight, I was thinking of things like large simulations where you need to keep a large dataset in RAM and update every datapoint at every iteration. Or maybe multiple VMs running simultaneously doing CI jobs could also do it. I don't think simple memory errors like leaks would cause it, since that would just end up filling the disk once, but wouldn't go through writes quite as fast.