3 ms·
Shouldn't a cloud VM have swap disabled by default if it's using networked block storage? It is on AWS at least.
by fathyb 4y ago
Shouldn't a cloud VM have swap disabled by default if it's using networked block storage? It is on AWS at least.
- ElectricalUnion 4y agoAzure provides what they call "Azure Temporary disk" at typically /dev/sdb for most instance sizes; it's *not encrypted* and it's ephemeral, but is garanteed to be co-located (at least rack-level) with your CPUs.
- yabones 4y agoLinux generally gets very squirrely when it's in a low-memory state. I think it's a bit safer to turn swappiness down and use a small swapfile and/or zram just to keep it from getting completely bricked up. That way you're sacrificing IO for a few seconds/minutes to intervene.