New here? Register and read our Community Rules. Accounts are approved by hand.
Server Load with CPU Usage
MetroVPS_NMP
Host Rep, Veteran
in Help
Hi,
I'm running a VM with access to 4 Cores of E5-2620 v2 (2.1 GHz x 4). Recently, having problem with High Load. But, I can't understand how the CPU being 90%+ Idle, Load goes to 3.5+ ??
Can anyone explain me the internal factors ??




0
Comments
Nginx looks to be in sleep. Most likely cause is blocking on disk IO. Any disk issues?
Err. I'm pretty sure it's CPU "traffic". Correct me if I'm wrong!
I ran iotop & monitored for 5 Minutes. Total Disk Read Never Crossed 10 mbps in that time-frame & Total Disk Write never Crossed 4 mbps in that duration. Is that Normal or I'm using much ??
CPU load is essentially a running queue of CPU "tasks". The longer the list, the higher the CPU load. He meant that IO can prevent tasks from being processed on the CPU - thus queuing up.
The code used is pretty simple:
count -= ticks; if (count < 0) { count += LOAD_FREQ; active_tasks = count_active_tasks(); CALC_LOAD(avenrun[0], EXP_1, active_tasks); CALC_LOAD(avenrun[1], EXP_5, active_tasks); CALC_LOAD(avenrun[2], EXP_15, active_tasks); }So you do have some bottleneck somewhere. I doubt the IO, else you're running on a flash drive.
I've monitored it when the Server Load was remaining between 0.50-0.90. I've to keep My Eyes open when it goes above 4.