This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Hyper V Server 2012 R2 - high load average

Hi,

I'm running Sophos UTM on a Hyper V Server 2012 R2 Host.
The system has a quad core Intel Xeon E3 1220 v2 with 3.1 GHz, 10 GB RAM.
The VM for Sophos UTM has 2 vCPU's, 4 GB RAM (static, not dynamic), 2 dedicated Intel NICs (Sophos recognize them as Microsoft/Citrix).

Everything is running fine, I don't have any speed problems (neither site loading speed nor download speed) etc. But I'm wondering about the permanent high load average on the Sophos UTM VM.

I thought the "problem" was that the Hyper V Host and any VM was running on the same hard disk drive. So I installed a Samsung SSD for the virtual disks. But this didn't change anything. Almost same load average as before.

Here is the data received by top:

load average: 1.24, 1.32, 1.05

cpu0: 1.7%us, 2.4% sy 0.0%ni, 92.1%id, 0.3%wa, 0.0%hi, 3.4%si, 0.0%st
cpu1: 6.1%us, 3.1% sy 0.0%ni, 90.5%id, 0.0%wa, 0.0%hi, 0.3%si, 0.0%st
Mem: 39454952k total, 2222232k used, 1732720k free, 60264k buffers
Swap: 4194300k total, 0k used, 4194300k free, 854696k cached


more data (several minutes later):

load average: 0.98, 1.20, 1.04

cpu0: 0.3%us, 0.7% sy 0.0%ni, 98.3%id, 0.7%wa, 0.0%hi, 0.0%si, 0.0%st
cpu1: 0.0%us, 0.3% sy 0.0%ni, 99.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 39454952k total, 2222112k used, 1732840k free, 61648k buffers
Swap: 4194300k total, 0k used, 4194300k free, 858352k cached


So this isn't a real problem, but I would like to understand, why the load average is that high. Does anybody else how is using Hyper-V has the same high load average? Is this just normal? Or do I have any misconfiguration? Does someone who is runnig the VM on ESXi has the same problem?


This thread was automatically locked due to age.
  • how much users are behind the UTM?
    What functions are you using?
    What is the average bandwidth being used?

    I am using Hyper-V at home, most of the time we got about 10 devices connected, all functions active(firewall, IPS, web filtering, app control), bandwidth is very low(about 1 megabit p/s right now),


    13:11:11 up 2 days, 14:18, 
    load average: 0.88, 0.75, 0.68
    Tasks: 176 total,   1 running, 173 sleeping,   0 stopped,   2 zombie
    Cpu(s):  1.6%us,  1.6%sy,  0.0%ni, 90.1%id,  6.0%wa,  0.0%hi,  0.8%si,  0.0%st
    Mem:   6117536k total,  4298200k used,  1819336k free,   416388k buffers
    Swap:  4194300k total,        0k used,  4194300k free,  2025844k cached

    SEcond:
    13:17:29 up 2 days, 14:24,  1 user,  load average: 0.64, 0.72, 0.69
    Tasks: 171 total,   1 running, 168 sleeping,   0 stopped,   2 zombie
    Cpu(s):  1.5%us,  0.8%sy,  0.0%ni, 95.0%id,  2.7%wa,  0.0%hi,  0.0%si,  0.0%st
    Mem:   6117536k total,  4319800k used,  1797736k free,   416664k buffers
    Swap:  4194300k total,        0k used,  4194300k free,  2027652k cached

    Running on an intel I5 - not sure what type-, with 6 GB of RAM on a 7200 RPM-disk.
    On the same disk I got 2 Windows VM's, and 2 Linux(Ubuntu and mint) VM's, all at the same time, on another partition, same disk, there's the host-OS.

    I would say it is not normal, but it is not a really big issue(yet)
  • There are overall about 14 devices connected to the UTM.
    Active functions: firewall, IPS, web protection, app control, pop3 proxy, endpoint protection, web application firewall, anti virus, anti spam, anti spyware

    Bandwidth: 56 megabit per second down and 2.5 megabit per second up

    As CPU load and RAM load doesn't seems to be a bottle neck, I thought the virtual disks on the same hard drive was the problem. Load average is a bit lower, but still to high I think...

    current data:

    top - 14:13:57 up  2:29,  1 user,  load average: 0.69, 0.99, 1.05
    Tasks: 163 total,   1 running, 160 sleeping,   0 stopped,   2 zombie
    Cpu0  :  3.3%us,  1.3%sy,  0.0%ni, 94.6%id,  0.3%wa,  0.0%hi,  0.3%si,  0.0%st
    Cpu1  :  0.7%us,  0.0%sy,  0.0%ni, 99.3%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    Mem:   3954952k total,  2704808k used,  1250144k free,    86240k buffers
    Swap:  4194300k total,        0k used,  4194300k free,  1220412k cached

    Before I started the VM with Hyper-V, the Sophos UTM was running on a Pentium G3220 (2x 3 GHz) with 4 GB RAM and an old HDD wit 7200 rpm (no virtual machine). And the load average there was with the same network setup and same connected devices lower (0.05 up to 0.50 as I saw on older emails from the UTM). 

    So it's a bit strange, more power and even higher load average. Seems to be a "problem" with the Hyper-V?
  • Could be a Hyper-V thing,
    I had it before running bare-metal, on a 2x2,1 Ghz CPU and 6 GB of RAM, on a 7200 rpm disk, with load averages from about 0.5 to 0.7, just like now.

    the bandwidth given, is that what is being used, or is that the total you have?

    How much other VM's are you running? and what does the host's task manager show(CPU, RAM usage)? 
    Might have something to do with the RAM and/or CPU usage from other machines.
  • That's the total bandwidth.

    There are 3 VM running on the Hyper V Host. CPU, RAM load from the other virtual machines isn't a problem. Tested it also with just running the UTM VM.

    Looking at the Hyper-V Host task manager doesn't show you the overall load of the system. The value displayed there, is just the load of the Hyper-V. Because the Host doesn't have to handle that much, the displayed value is about 1 to 5 % cpu load --> 0.01 - 0.05

    Could this be a problem with not up to date integration services? Hyper-V reports the UTM VM with downgraded (update of integration services required)
  • forgot to ask.. what are the most resource-heavy processes on your UTM? they are on the top of the list when you run "top",

    not sure if it are the integration services, it's my first time using hyper-v.
  • I tested ESXi... and it seems to be the better hypervisor for Sophos UTM

    This is the top, while downloading with constant full speed of 56 megabit per second

    top - 02:42:43 up 4 min,  1 user,  load average: 0.18, 0.17, 0.08
    Tasks: 154 total,   2 running, 149 sleeping,   0 stopped,   3 zombie
    Cpu0  :  1.9%us,  2.3%sy,  0.0%ni, 93.4%id,  0.0%wa,  0.0%hi,  2.3%si,  0.0%st
    Cpu1  : 24.1%us, 10.0%sy,  0.0%ni, 65.9%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    Mem:   4056356k total,  2158720k used,  1897636k free,    53076k buffers
    Swap:  4194300k total,        0k used,  4194300k free,   818600k cached

      PID USER      PR  NI  VIRT  RES  SHR S   %CPU %MEM    TIME+  COMMAND
     4707 snort     15  -5  130m  56m 2832 R     31  1.4   0:22.92 snort
     5477 httpprox  20   0  558m 260m  11m S      8  6.6   0:16.90 httpproxy