You are not logged in.

#1 2024-12-11 08:40:52

rican-linux
Member
Registered: 2014-11-16
Posts: 66

[SOLVED] CPUIO_WAIT warnings when running Win10 in virt-manager/qemu

I have noticed that my desktop freezes when my Win10 VM. I decided to delete and rebuild the VM but the issue persists. I notice that when the VM is running that I am seeing these events in glances "CRITICAL on CPUIO_WAIT". In my research some people were able to fix by hetting the h"htep" value to yes in the xml file. However that is not working for me. Here are my system stats. Any help would be appreciated

ricanlinux@archlinux ~> neofetch 
                   -`                    ricanlinux@archlinux 
                  .o+`                   -------------------- 
                 `ooo/                   OS: Arch Linux x86_64 
                `+oooo:                  Host: Precision WorkStation T3500 
               `+oooooo:                 Kernel: 6.11.6-arch1-1 
               -+oooooo+:                Uptime: 1 day, 3 hours, 29 mins 
             `/:-:++oooo+:               Packages: 2183 (pacman), 25 (flatpak) 
            `/++++/+++++++:              Shell: bash 5.2.37 
           `/++++++++++++++:             Resolution: 1920x1080, 1920x1080, 1920x1080 
          `/+++ooooooooooooo/`           DE: GNOME 47.1 
         ./ooosssso++osssssso+`          WM: Mutter 
        .oossssso-````/ossssss+`         WM Theme: Nordic-darker-v40 
       -osssssso.      :ssssssso.        Theme: Nordic-darker-v40 [GTK2/3] 
      :osssssss/        osssso+++.       Icons: Nordzy--dark_panel [GTK2/3] 
     /ossssssss/        +ssssooo/-       Terminal: kitty 
   `/ossssso+/:-        -:/+osssso+-     CPU: Intel Xeon X5675 (12) @ 3.060GHz 
  `+sso+:-`                 `.-/+oso:    GPU: AMD ATI Radeon RX Vega 56/64 
 `++:.                           `-/+/   Memory: 13446MiB / 24030MiB 
 .`                                 `/
                                                                 
                                                                 


ricanlinux@archlinux ~> 

Last edited by rican-linux (2024-12-12 03:06:34)

Offline

#2 2024-12-12 02:11:05

rican-linux
Member
Registered: 2014-11-16
Posts: 66

Re: [SOLVED] CPUIO_WAIT warnings when running Win10 in virt-manager/qemu

When the iowait percentage reaches 20%+ the desktop freezes. This happens only when Windows 10 is running in qemu

ricanlinux@archlinux ~> sar -u ALL  1 100
Linux 6.11.6-arch1-1 (archlinux) 	12/11/2024 	_x86_64_	(12 CPU)

07:05:57 PM     CPU      %usr     %nice      %sys   %iowait    %steal      %irq     %soft    %guest    %gnice     %idle
07:05:58 PM     all      1.52      0.00      3.20     16.25      0.00      0.25      0.17      0.34      0.00     78.28
07:05:59 PM     all      1.34      0.00      3.35      7.38      0.00      0.50      0.34      0.17      0.00     86.92
07:06:00 PM     all      1.01      0.00      2.45      8.19      0.00      0.34      0.08      0.17      0.00     87.68
07:06:01 PM     all      0.58      0.00      2.42      7.18      0.00      0.25      0.25      0.17      0.00     89.14
07:06:02 PM     all      0.34      0.00      2.44     10.68      0.00      0.34      0.25      0.17      0.00     85.79
07:06:03 PM     all     14.11      0.00      3.95     11.25      0.00      0.42      0.17      0.25      0.00     69.86
07:06:04 PM     all     14.53      0.00      4.53      6.63      0.00      0.34      0.17      0.17      0.00     73.64
07:06:05 PM     all      2.97      0.00      3.90      7.20      0.00      0.51      0.25      0.51      0.00     84.66
07:06:06 PM     all      1.43      0.00      3.61      6.89      0.00      0.34      0.42      0.50      0.00     86.81
07:06:07 PM     all      0.17      0.00      2.70      7.34      0.00      0.34      0.34      0.25      0.00     88.78
07:06:08 PM     all      2.44      0.00      1.93     11.94      0.00      0.42      0.08      0.17      0.00     83.01
07:06:09 PM     all      1.26      0.00      2.61     15.26      0.00      0.08      0.17      0.08      0.00     80.52
07:06:10 PM     all      0.75      0.00      3.16     10.82      0.00      0.58      0.25      0.00      0.00     84.44
07:06:11 PM     all      0.93      0.00      2.70      9.71      0.00      0.25      0.25      0.08      0.00     86.06
07:06:12 PM     all      1.09      0.00      3.10      6.96      0.00      0.25      0.34      0.17      0.00     88.10
07:06:13 PM     all      0.50      0.00      2.85      7.04      0.00      0.34      0.08      0.00      0.00     89.20
07:06:14 PM     all      0.42      0.00      3.02      6.80      0.00      0.08      0.17      0.25      0.00     89.25
07:06:15 PM     all      1.76      0.00      3.18     11.72      0.00      0.59      0.17      0.25      0.00     82.34
07:06:16 PM     all      0.76      0.00      3.47      6.85      0.00      0.42      0.17      0.68      0.00     87.57
07:06:17 PM     all      1.51      0.00      4.12      7.06      0.00      0.42      0.17      0.59      0.00     86.13
07:06:18 PM     all      1.94      0.00      4.05      7.42      0.00      0.42      0.42      0.51      0.00     85.24
07:06:19 PM     all      1.26      0.00      6.03      9.97      0.00      0.42      0.34      0.08      0.00     81.91
07:06:20 PM     all      2.27      0.00      3.37     12.46      0.00      0.34      0.34      0.08      0.00     81.14
07:06:21 PM     all      0.34      0.00      2.19     14.66      0.00      0.17      0.17      0.00      0.00     82.48
07:06:22 PM     all      0.84      0.00      3.35     21.09      0.00      0.42      0.08      0.00      0.00     74.23
07:06:23 PM     all      0.67      0.00      2.85     29.19      0.00      0.34      0.17      0.00      0.00     66.78
07:06:24 PM     all      0.50      0.00      2.78     26.58      0.00      0.34      0.34      0.00      0.00     69.47
07:06:25 PM     all      2.69      0.00      4.45     19.98      0.00      0.17      0.08      0.00      0.00     72.63
07:06:26 PM     all      1.26      0.00      2.60     14.18      0.00      0.50      0.17      0.00      0.00     81.29
07:06:27 PM     all      0.67      0.00      2.19     18.63      0.00      0.34      0.08      0.00      0.00     78.08
07:06:28 PM     all      0.17      0.00      2.35     20.08      0.00      0.17      0.25      0.00      0.00     76.97
07:06:29 PM     all      1.54      0.00      7.96     11.04      0.00      0.26      0.09      0.00      0.00     79.11
07:06:30 PM     all      0.92      0.00      1.51      7.86      0.00      0.59      0.25      0.00      0.00     88.88
07:06:31 PM     all      0.92      0.00      1.42      9.09      0.00      0.25      0.17      0.00      0.00     88.16
07:06:32 PM     all      0.76      0.00      1.26     16.81      0.00      0.17      0.17      0.00      0.00     80.84
07:06:33 PM     all      0.84      0.00      1.00     22.51      0.00      0.33      0.25      0.00      0.00     75.06
07:06:34 PM     all      0.84      0.00      1.34     20.00      0.00      0.25      0.25      0.00      0.00     77.32
07:06:35 PM     all      1.43      0.00      1.17     23.74      0.00      0.50      0.17      0.00      0.00     72.99
07:06:36 PM     all      1.18      0.00      7.00     12.31      0.00      0.17      0.17      0.00      0.00     79.17
07:06:37 PM     all      2.10      0.00      2.10     16.71      0.00      0.42      0.34      0.00      0.00     78.34
07:06:38 PM     all      1.26      0.00      1.51     12.08      0.00      0.08      0.17      0.00      0.00     84.90
07:06:39 PM     all      1.26      0.00      1.09     21.18      0.00      0.25      0.17      0.00      0.00     76.05

Offline

#3 2024-12-12 03:05:15

rican-linux
Member
Registered: 2014-11-16
Posts: 66

Re: [SOLVED] CPUIO_WAIT warnings when running Win10 in virt-manager/qemu

running xfs_scrub_all improved performance greatly.

Offline

Board footer

Powered by FluxBB