XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. aHguf5QP
    3. Posts
    A
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 6
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: slow vm with high steal

      @tjkreidl

      I rebooted the vm twice and both time it took 9 min. memory usage went up to 4gb during the boot process and returned to under 500 mb once the vm started. So the guess tools did not help.

      I'm still waiting for the second vm to install ubuntu.

      At this point I'm looking to reinstall xcpng.

      I dont know what is going on here.

      posted in Compute
      A
      aHguf5QP
    • RE: slow vm with high steal

      @tjkreidl

      I just installed the xen guest tools. I'm rebooting the vm. Its taking a while.

      The vm has their own nvme ssd and the xcpng is on a sata ssd. So there should be no contention.

      That said. I'm adding another vm with ubuntu server just to see how long it takes.

      posted in Compute
      A
      aHguf5QP
    • RE: slow vm with high steal

      @tjkreidl

      The storage is local on the machine. Its a m.2 2tb nvme ssd. So there is no network involved when the vm is writting to disk.

      Dom0 has 8 vcpus. So it has everything. and the vm has 2 vcpus.

      This is a home server and so it does not need to be powerful. I'm moving up from a pi so I'm assuming that this xeon-d is better.

      That said, I dont know what to do now. Is there a checklist to go through to diagnose xcpng servers?

      posted in Compute
      A
      aHguf5QP
    • RE: slow vm with high steal

      additionally the cpu is suppose to run with a base frequency of 2.4 ghz. So I'm assuming that this cpu is fast enough.

      posted in Compute
      A
      aHguf5QP
    • RE: slow vm with high steal

      @tjkreidl said in slow vm with high steal:

      is iost

      Linux 4.19.0+1 (xcp-ng-iptyubfo) 07/20/2023 x86_64 (8 CPU)

      avg-cpu: %user %nice %system %iowait %steal %idle
      5.85 0.00 4.83 0.01 1.32 87.99

      Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn
      nvme0n1 1.74 53.49 9.16 819462 140304
      sdb 3.50 6.69 19.69 102444 301689
      sda 3.79 13.69 19.69 209780 301689
      md127 4.62 20.34 18.92 311612 289808
      dm-0 1.76 53.45 9.23 818878 141344
      tda 0.19 8.10 0.00 124140 4

      xentop
      dom-0 cpu usage is ranging around 150% to 20%. memory usage is 5.8%.

      the only vm there cpu usage is 1% and memory is 3%.

      as for the ssd speeds.
      I ran dd if=/dev/zero of=~/test bs=512 count=10000

      the dd command ran at 15.8 mb/s so I'm assuming its not the ssd i'm having trouble with.

      That said, I took a look at the tasks and found a lot of this error:

      Xapi#getResource /rrd_updates

      I googled it and found a post about host being behind a nat and not on the same subnet. Xen orchestra and xcpng are on the same subnet. So I'm lost as to what is going on here.

      Here is the post I was looking at: https://xcp-ng.org/forum/topic/4926/thousands-of-tasks-xapi-getresource-rrd_updates-on-xcp-ng-01-0/7

      thanks.

      posted in Compute
      A
      aHguf5QP
    • slow vm with high steal

      Hello, I'm a bit lost because I'm new to xcpng and virtual machines in general. I installed xcpng onto a supermicro xeon-d 1521 a 4 core 8 thread cpu with 128 gb of ram and 2 tb nvme ssd for the vm. There is only one vm currently on the machine.

      The issue is the vm is slow. When I create a vm it takes over an hour installing ubuntu server. Then then I start the vm it takes over 10 min to get to the login prompt.

      From what I found googling I found I should look at mpstat -P ALL. iowait is at around 0.22 so I'm assuming that the ssd is fine. But I dont know why the steal is can be as high as 75.

      There is the only one vm on the machine. The host machine steal is at 1.7.

      I'm at a lost as why the vm is so slow and what more to do to diagnose what might be causing the slowdown.

      Thanks for any help.

      John

      posted in Compute
      A
      aHguf5QP