Steve
Steve

Reputation: 1243

Disk stats on Amazon EBS with high iowait

I'm currently trying to diagnose issues with a Postgres database that appears IO bound. The CPU is spending most of it's time in iowait but vmstat -d persistently shows 0 current outstanding ops for all mounted volumes. The volumes in question are EBS mounts. Anyone know if the outstanding ops stats for EBS mounts are just broken or have any idea what's going on here?

Upvotes: 0

Views: 1826

Answers (1)

Eric J.
Eric J.

Reputation: 150108

There is an excellent chance that you are suffering from noisy neighbors that saturate shared physical infrastructure.

To diagnose this, I would:

  • Create an EBS snapshot of your instance and your attached EBS mounts (you do have an EBS backed instance?)
  • Fire up a new copy of your server in a different availability zone
  • Retest

Note that firing up a new instance in the same availability zone could cause you to end up on the same hardware that is suffering from noisy neighbors.

Upvotes: 1

Related Questions