Article 571NC CPU wait consistently high - Postgres process

CPU wait consistently high - Postgres process

by
carolinahusker
from LinuxQuestions.org on (#571NC)
A VM running on a vSphere ESX 6.7 host is showing consistently high CPU wait times. The VM is a postgres database server. Top running from the VM shows that the CPU wait time is usually 40+. Iotop shows that only about 50-100 M/s are reading from storage and (with 90%+ IO) the command is a postgres select statement. Iostat shows that disk utilization is 95%+ on the disk. The VM was using a datastore with an SSD cache layer. I moved it to a different compute cluster that is backed by an all flash array, but I'm seeing the same result. Previous iPerf tests showed that the network is not the bottleneck and that makes sense given that the hosts have 40Gbps NICs and are connected to the same core swtich (less than 1msec of latency).

It seems like this is a storage issue, but I moved it to an all flash array with plenty of capacity. Other VMs on that compute cluster do not have performance issues.

What other testing should I try to sort this out?latest?d=yIl2AUoC8zA latest?i=ZhbsQMjGyNM:bM1cR1_YccE:F7zBnMy latest?i=ZhbsQMjGyNM:bM1cR1_YccE:V_sGLiP latest?d=qj6IDK7rITs latest?i=ZhbsQMjGyNM:bM1cR1_YccE:gIN9vFwZhbsQMjGyNM
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments