[SOLVED] PVESTATD High CPU Usage During MDADM Sync

May 18, 2019
231
15
38
Varies
syncing a newly create mdadm raid 1 (WD Red disks, 1.6T partition size, default sync speed limits, internal bitmap enabled) gets CPU load in the 2 to 2.5 range. machine gets sluggish (despite the Xeon E-2136, 6 cores, 12 threads and 32GB RAM)

stopping pvestatd lowers the load to ~1. There is nothing running on this machine yet (no apps, no containers/vms)

what does pvestatd do and is this something that should be looked into?

installed debian 9.9, then pve-manager/5.4-6/aa7856c5 (running kernel: 4.15.18-16-pve)
 
syncing a newly create mdadm raid 1 (WD Red disks, 1.6T partition size, default sync speed limits, internal bitmap enabled) gets CPU load in the 2 to 2.5 range. machine gets sluggish (despite the Xeon E-2136, 6 cores, 12 threads and 32GB RAM)
I would expect higher load for MDADM, as it syncs up all data and WD Reds are not the fastest spinners around. Aside from that, I want to point out that there is no enterprise support when using MDADM.

what does pvestatd do and is this something that should be looked into?
pvestatd checks amongst others, if the storage is available, what the state of the VM/CTs on that storage are.
 
is it safe to stop pvestatd during mdadm sync? I can live with that.
You may stop the pvestatd, if you can live with no status or stats.
 
  • Like
Reactions: Proxygen

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!