Monday, April 27, 2015

kvm virtualization - What does take all the cpu here?

On a small SSD VPS I got 2 GB of RAM and 2 vCPU core (dedicated to my server), virtualized via KVM. So far so good. The server is mainly used for databases (MySQL) and fast network file storage (via sshfs). Currently around 5 folders are mounted to a remote server via sshfs.



When I look into htop I can see 100% CPU load even though when sorting processes by CPU usage none of the processes take up that much CPU on it's own or multiple processes combined. Also the load average indicates that the server is mainly dozing around. From this question I found out that the blue CPU bar indicate that a "Low priority thread" takes up the CPU.




Here are some screenshots:
System load via htop
System load via top
CPU usage from Munin



How can I find out which process is using up all CPU power? Is it even using CPU power or is that just a visual bug, caused by KVM? Does sshfs use cpu power that cannot be tracked from userspace?

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...