Skip to contentSkip to conversation

KVM Test result, kernel a16664b.., userspace 3017d05.. one new issue

DISCUSSION Yunfeng Zhao 4 participants 7 messages Mar 10, 2008 – Mar 18, 2008

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hi All,
This is today's KVM test result against kvm.git a16664b59065b8ae877b213e68a6f962ac359ca4 and kvm-userspace.git 3017d054a6a9f37bfffee4ebf0bf52a51c9860b5.

One new issue:
1. booting smp windows guests has 30% chance of hang
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1910923&group_id=180599

Four old issues:
2. qcow based smp linux guests likely hang
https://sourceforge.net/tracker/index.php?func=detail&aid=1901980&group_id=180599&atid=893831

3. smp windows installer crashes while rebooting
https://sourceforge.net/tracker/index.php?func=detail&aid=1877875&group_id=180599&atid=893831

4. Timer of guest is inaccurate
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1826080&group_id=180599

This issue should have been fixed. we did a test on up linux guest, the time difference between guest and network time is very small. We will do further tests on smp linux guests and windows guests.
5. Installer of 64bit vista guest will pause for ten minutes after reboot
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1836905&group_id=180599

Test environment
================================================

Platform Woodcrest
CPU 4
Memory size 8G'

Details
================================================

IA32-pae:

1. boot guest with 256M memory PASS
2. boot two windows xp guest PASS
3. boot 4 same guest in parallel PASS
4. boot linux and windows guest in parallel PASS
5. boot guest with 1500M memory PASS
6. boot windows 2003 with ACPI enabled PASS
7. boot Windows xp with ACPI enabled PASS
8. boot Windows 2000 without ACPI PASS
9. kernel build on SMP linux guest PASS
10. LTP on SMP linux guest PASS
11. boot base kernel linux PASS
12. save/restore 32-bit HVM guests PASS
13. live migration 32-bit HVM guests PASS
14. boot SMP Windows xp with ACPI enabled PASS
15. boot SMP Windows 2003 with ACPI enabled PASS
16. boot SMP Windows 2000 with ACPI enabled PASS

================================================

IA32e:

1. boot four 32-bit guest in
parallel PASS
2. boot four 64-bit guest in
parallel PASS
3. boot 4G 64-bit
guest PASS
4. boot 4G pae
guest PASS
5. boot 32-bit linux and 32 bit windows guest in parallel PASS
6. boot 32-bit guest with 1500M memory PASS
7. boot 64-bit guest with 1500M memory PASS
8. boot 32-bit guest with 256M memory PASS
9. boot 64-bit guest with 256M memory PASS
10. boot two 32-bit windows xp in parallel PASS
11. boot four 32-bit different guest in para PASS
12. save/restore 64-bit linux guests
PASS
13. save/restore 32-bit linux guests
PASS
14. boot 32-bit SMP windows 2003 with ACPI enabled PASS
15. boot 32-bit SMP Windows 2000 with ACPI enabled PASS
16. boot 32-bit SMP Windows xp with ACPI enabled FAIL
17. boot 32-bit Windows 2000 without ACPI PASS
18. boot 64-bit Windows xp with ACPI enabled PASS
19. boot 32-bit Windows xp without ACPI PASS
20. boot 64-bit UP
vista PASS
21. boot 64-bit SMP
vista PASS
22. kernel build in 32-bit linux guest OS PASS
23. kernel build in 64-bit linux guest OS PASS
24. LTP on SMP 32-bit linux guest OS PASS
25. LTP on SMP 64-bit linux guest OS PASS
26. boot 64-bit guests with ACPI enabled PASS
27. boot 32-bit
x-server PASS
28. boot 64-bit SMP windows XP with ACPI enabled PASS
29. boot 64-bit SMP windows 2003 with ACPI enabled PASS
30. live migration 64bit linux
guests PASS
31. live migration 32bit linux
guests PASS

Report Summary on IA32-pae

Summary Test Report of Last Session
=====================================================================
Total Pass Fail NoResult Crash
=====================================================================

control_panel               7       7       0         0        0
Restart                     2       2       0         0        0
gtest                       15      15      0         0        0
=====================================================================
control_panel               7       7       0         0        0
 :KVM_LM_PAE_gPAE           1       1       0         0        0
 :KVM_four_sguest_PAE_gPA   1       1       0         0        0
 :KVM_256M_guest_PAE_gPAE   1       1       0         0        0
 :KVM_linux_win_PAE_gPAE    1       1       0         0        0
 :KVM_1500M_guest_PAE_gPA   1       1       0         0        0
 :KVM_SR_PAE_gPAE           1       1       0         0        0
 :KVM_two_winxp_PAE_gPAE    1       1       0         0        0
Restart                     2       2       0         0        0
 :GuestPAE_PAE_gPAE         1       1       0         0        0
 :BootTo32pae_PAE_gPAE      1       1       0         0        0
gtest                       15      15      0         0        0
 :ltp_nightly_PAE_gPAE      1       1       0         0        0
 :boot_up_acpi_PAE_gPAE     1       1       0         0        0
 :reboot_xp_PAE_gPAE        1       1       0         0        0
 :boot_up_vista_PAE_gPAE    1       1       0         0        0
 :boot_up_acpi_xp_PAE_gPA   1       1       0         0        0
 :boot_up_acpi_win2k3_PAE   1       1       0         0        0
 :boot_base_kernel_PAE_gP   1       1       0         0        0
 :boot_smp_acpi_win2k3_PA   1       1       0         0        0
 :boot_smp_acpi_win2k_PAE   1       1       0         0        0
 :boot_up_acpi_win2k_PAE_   1       1       0         0        0
 :boot_smp_acpi_xp_PAE_gP   1       1       0         0        0
 :boot_up_noacpi_win2k_PA   1       1       0         0        0
 :boot_smp_vista_PAE_gPAE   1       1       0         0        0
 :bootx_PAE_gPAE            1       1       0         0        0
 :kb_nightly_PAE_gPAE       1       1       0         0        0

=====================================================================
Total 24 24 0 0 0

Report Summary on IA32e

Summary Test Report of Last Session
=====================================================================
Total Pass Fail NoResult Crash
=====================================================================

control_panel               15      15      0         0        0
Restart                     3       3       0         0        0
gtest                       23      22      1         0        0
=====================================================================
control_panel               15      15      0         0        0
 :KVM_LM_64_g64             1       1       0         0        0
 :KVM_four_sguest_64_gPAE   1       1       0         0        0
 :KVM_4G_guest_64_g64       1       1       0         0        0
 :KVM_four_sguest_64_g64    1       1       0         0        0
 :KVM_linux_win_64_gPAE     1       1       0         0        0
 :KVM_1500M_guest_64_gPAE   1       1       0         0        0
 :KVM_SR_64_g64             1       1       0         0        0
 :KVM_LM_64_gPAE            1       1       0         0        0
 :KVM_256M_guest_64_g64     1       1       0         0        0
 :KVM_1500M_guest_64_g64    1       1       0         0        0
 :KVM_4G_guest_64_gPAE      1       1       0         0        0
 :KVM_SR_64_gPAE            1       1       0         0        0
 :KVM_256M_guest_64_gPAE    1       1       0         0        0
 :KVM_two_winxp_64_gPAE     1       1       0         0        0
 :KVM_four_dguest_64_gPAE   1       1       0         0        0
Restart                     3       3       0         0        0
 :GuestPAE_64_gPAE          1       1       0         0        0
 :BootTo64_64_gPAE          1       1       0         0        0
 :Guest64_64_gPAE           1       1       0         0        0
gtest                       23      22      1         0        0
 :boot_up_acpi_64_gPAE      1       1       0         0        0
 :boot_up_noacpi_xp_64_gP   1       1       0         0        0
 :boot_smp_acpi_xp_64_g64   1       1       0         0        0
 :boot_base_kernel_64_gPA   1       1       0         0        0
 :boot_smp_acpi_win2k3_64   1       1       0         0        0
 :boot_smp_acpi_win2k_64_   1       1       0         0        0
 :boot_base_kernel_64_g64   1       1       0         0        0
 :bootx_64_gPAE             1       1       0         0        0
 :kb_nightly_64_gPAE        1       1       0         0        0
 :ltp_nightly_64_g64        1       1       0         0        0
 :boot_up_acpi_64_g64       1       1       0         0        0
 :boot_up_noacpi_win2k_64   1       1       0         0        0
 :boot_smp_acpi_xp_64_gPA   1       0       1         0        0
 :boot_smp_vista_64_gPAE    1       1       0         0        0
 :boot_up_acpi_win2k3_64_   1       1       0         0        0
 :bootx_64_g64              1       1       0         0        0
 :boot_up_vista_64_g64      1       1       0         0        0
 :boot_up_acpi_xp_64_g64    1       1       0         0        0
 :boot_up_vista_64_gPAE     1       1       0         0        0
 :ltp_nightly_64_gPAE       1       1       0         0        0
 :boot_smp_acpi_win2k3_64   1       1       0         0        0
 :boot_up_noacpi_win2k3_6   1       1       0         0        0
 :kb_nightly_64_g64         1       1       0         0        0

=====================================================================
Total 41 40 1 0 0

Best Regards,
Yunfeng

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

#1 lore raw
Quoted 7 lines · Yunfeng Zhao

One new issue:
1. booting smp windows guests has 30% chance of hang
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1910923&group_id=180599

Platform Woodcrest
CPU 4
Memory size 8G'

Is that a CPU with FlexPriority?

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

#2 lore raw

Re: KVM Test result, kernel a16664b.., userspace3017d05.. one new issue

Quoted 9 lines · Chris Wedgwood
Quoted 4 lines · Yunfeng Zhao

One new issue:
1. booting smp windows guests has 30% chance of hang
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1910923&group_id=180599

Quoted 8 lines
Quoted 4 lines

Platform Woodcrest
CPU 4
Memory size 8G'

Is that a CPU with FlexPriority?

Yes, it has FlexPriority.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

#3 lore raw

Re: KVM Test result, kernel a16664b.., userspace3017d05.. one new issue

Quoted 15 lines · Yunfeng Zhao
Quoted 14 lines · Chris Wedgwood
Quoted 10 lines · Yunfeng Zhao

One new issue:
1. booting smp windows guests has 30% chance of hang
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1910923&group_id=180599

Platform Woodcrest
CPU 4
Memory size 8G'

Quoted 4 lines
Quoted 3 lines

Is that a CPU with FlexPriority?

Yes, it has FlexPriority.

We have some minor issues with FlexPriority (mainly crashes after 100+ reboots).
Can you try the following patch that disables flex priority:

Author: Uri Lublin <[email protected]>
Date:   Thu Mar 6 17:38:11 2008 +0200

kvm: vmx: for 4.0 disable Flex-Priority and always use Avi's tpr
optimization

arch/x86/kvm/vmx.c +1 -0
index 76c4508..bc8dc16 100644
@@ -201,6 +201,7 @@ static inline int cpu_has_secondary_exec_ctrls(void)
 
 static inline bool cpu_has_vmx_virtualize_apic_accesses(void)
 {
+       return false; /* disable Flex-Priority, use Avi's tpr

optimization */
return (vmcs_config.cpu_based_2nd_exec_ctrl &
SECONDARY_EXEC_VIRTUALIZE_APIC_ACCESSES);
}

Quoted 9 lines

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

#4 lore raw

Re: KVM Test result, kernel a16664b.., userspace3017d05.. one new issue

Quoted 1 line · Dor Laor

Can you try the following patch that disables flex priority:

FWIW, Your MUA ate the patch.

Quoted 2 lines

kvm: vmx: for 4.0 disable Flex-Priority and always use Avi's tpr
optimization

TPR patching doesn't work for SMP which is what he reported.

I started some work on making tpr patching work for SMP but it's far from usable (XP crashes after a few minutes of uptime, sometimes more, sometimes less).

So something else needs to be done, I'm not sure what though. I probably need to learn how to read windows crash dumps and figure out why it blows up.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

#5 lore raw
In reply to Yunfeng Zhao
Quoted 11 lines · Yunfeng Zhao

Hi All,
This is today's KVM test result against kvm.git a16664b59065b8ae877b213e68a6f962ac359ca4 and kvm-userspace.git 3017d054a6a9f37bfffee4ebf0bf52a51c9860b5.

One new issue:
1. booting smp windows guests has 30% chance of hang
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1910923&group_id=180599

Is this a regression? What was the last known good commit?

Signature · 7 lines
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
#6 lore raw
Quoted 8 lines · Avi Kivity
Quoted 6 lines · Yunfeng Zhao

Hi All,
This is today's KVM test result against kvm.git a16664b59065b8ae877b213e68a6f962ac359ca4 and kvm-userspace.git 3017d054a6a9f37bfffee4ebf0bf52a51c9860b5.

Quoted 9 lines
Quoted 6 lines

One new issue:
1. booting smp windows guests has 30% chance of hang
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1910923&group_id=180599

Is this a regression? What was the last known good commit?

It should be a regression. We haven't identified which commit was the last workable commit yet.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/