Re:Almost Always Add Swap Space
by Johnny555 on Friday July 19, 2019 @12:48PM
(#20480267)
Also bad when it's backed by an attached drive from the cloud provider, like an AWS EBS volume -- it's particularly nefarious if you swap to the root drive, swapping can exhaust the EBS burst balance, and instead of 3000 IOPS to the root drive, after swapping sets in you're down to 300 IOPS (for a 100GB drive), and performance really slows to a crawl.
I know I'm giving up some RAM that could be swapped out without impact but it's worth the stability of never swapping to an attached drive.
I know I'm giving up some RAM that could be swapped out without impact but it's worth the stability of never swapping to an attached drive.