Re: Freezing Windows 2008 x64bit guest

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Gleb Natapov wrote:
On Wed, Jul 21, 2010 at 01:09:06PM +0300, Harri Olin wrote:
Gleb Natapov wrote:
Frozen kvm_stat can be seen here; when I grabbed this, windows did
not answer to ping.
stats: http://mizar.remote.agasha.com/k/kvm/kvm_stat_hang.txt
trace: http://mizar.remote.agasha.com/k/kvm/kvm_trace_hang.txt
Not much happens here. Windows gets timer irqs at 1024Hz rate and
process them. What is your host kernel? Does it have hi-res timers?

Host kernel is vanilla 2.6.33.1 from kernel.org. Should have hi-res timers enabled.
full dmesg at: http://mizar.remote.agasha.com/k/kvm/dmesg.txt

[ 0.415380] HPET: 4 timers in total, 0 timers will be used for per-cpu timer
[    0.416004] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0
[    0.416263] hpet0: 4 comparators, 64-bit 14.318180 MHz counter

Here's another frozen state stat dump; when I got this windows did
answer to ping but was otherwise unresponsive:
stats: http://mizar.remote.agasha.com/k/kvm/kvm_stat_2_log.txt
trace: http://mizar.remote.agasha.com/k/kvm/kvm_trace_2.txt

On both times irq_exits go to 10000 but irq_injections stay at
around 4600. On both times qemu process was at 100% cpu load.

irq_exits are exits due to host interrupt. What "cat /proc/interrupts"
show? Which counter grows at this rate there (or 1/4 of the rate but for
each host cpu).

I have to check that next time when freeze happens.

# cat /proc/interrupts
           CPU0       CPU1       CPU2       CPU3
  0:       1144       1056       1081       1072   IO-APIC-edge      timer
  1:        324        329        348        329   IO-APIC-edge      i8042
  3:          1          1          0          0   IO-APIC-edge
  4:          0          0          1          1   IO-APIC-edge
  8:         16         15         15         15   IO-APIC-edge      rtc0
  9:          0          0          0          0   IO-APIC-fasteoi   acpi
 12:          1          1          0          1   IO-APIC-edge      i8042
16: 0 0 0 0 IO-APIC-fasteoi uhci_hcd:usb3 17: 0 0 0 0 IO-APIC-fasteoi uhci_hcd:usb4 18: 47695411 47681526 47693374 47680775 IO-APIC-fasteoi arcmsr, ehci_hcd:usb1, uhci_hcd:usb5, uhci_hcd:usb8 22: 0 0 0 0 IO-APIC-fasteoi uhci_hcd:usb7 23: 0 0 0 0 IO-APIC-fasteoi ehci_hcd:usb2, uhci_hcd:usb6
 28:    2376183    2377506    2376812    2376143   PCI-MSI-edge      ahci
 29:   14545152   14557669   14546472   14559769   PCI-MSI-edge      eth0
NMI:          0          0          0          0   Non-maskable interrupts
LOC: 1522685098  614396609 1720798830  518770603   Local timer interrupts
SPU:          0          0          0          0   Spurious interrupts
PMI: 0 0 0 0 Performance monitoring interrupts
PND:          0          0          0          0   Performance pending work
RES:  109858789  114294880  107422261  113139171   Rescheduling interrupts
CAL:  228945035  210709845  246864690  232136482   Function call interrupts
TLB:       1161       2146       1090       2319   TLB shootdowns
TRM:          0          0          0          0   Thermal event interrupts
THR:          0          0          0          0   Threshold APIC interrupts
MCE:          0          0          0          0   Machine check exceptions
MCP:       4226       4226       4226       4226   Machine check polls
ERR:          0
MIS:          0

Also at: http://mizar.remote.agasha.com/k/kvm/interrupts.txt

--
Harri.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux