* soft lockup after stop/cont
@ 2007-10-10 8:01 Jim Paris
[not found] ` <20071010080152.GA27601-lSbMZ+N7itA@public.gmane.org>
0 siblings, 1 reply; 14+ messages in thread
From: Jim Paris @ 2007-10-10 8:01 UTC (permalink / raw)
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
If I stop KVM in the monitor with "stop", wait a minute, and do
"cont", a Linux guest gives me a "BUG: soft lockup detected on CPU#0".
Is that expected behavior? What isn't virtualized that allows it to
detect that? The host is a core 2 duo.
I have bigger problems in the guest after migrating to a file and
restoring from that, but this seems like a good place to start..
-jim
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
^ permalink raw reply [flat|nested] 14+ messages in thread[parent not found: <20071010080152.GA27601-lSbMZ+N7itA@public.gmane.org>]
* Re: soft lockup after stop/cont [not found] ` <20071010080152.GA27601-lSbMZ+N7itA@public.gmane.org> @ 2007-10-10 8:04 ` Avi Kivity [not found] ` <470C87AB.6050900-atKUWr5tajBWk0Htik3J/w@public.gmane.org> 0 siblings, 1 reply; 14+ messages in thread From: Avi Kivity @ 2007-10-10 8:04 UTC (permalink / raw) To: Jim Paris; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Jim Paris wrote: > If I stop KVM in the monitor with "stop", wait a minute, and do > "cont", a Linux guest gives me a "BUG: soft lockup detected on CPU#0". > Is that expected behavior? No. > What isn't virtualized that allows it to > detect that? The host is a core 2 duo. > > It may be that the timer correction code detects that zillions of timer interrupts have not been serviced by the guest so it floods the guest with these interrupts. Does -no-kvm-irqchip help? -- Do not meddle in the internals of kernels, for they are subtle and quick to panic. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <470C87AB.6050900-atKUWr5tajBWk0Htik3J/w@public.gmane.org>]
* Re: soft lockup after stop/cont [not found] ` <470C87AB.6050900-atKUWr5tajBWk0Htik3J/w@public.gmane.org> @ 2007-10-10 8:50 ` Dong, Eddie [not found] ` <10EA09EFD8728347A513008B6B0DA77A023643BD-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org> 2007-10-10 18:54 ` Jim Paris 1 sibling, 1 reply; 14+ messages in thread From: Dong, Eddie @ 2007-10-10 8:50 UTC (permalink / raw) To: Avi Kivity, Jim Paris; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org wrote: > > It may be that the timer correction code detects that zillions of > timer interrupts have not been serviced by the guest so it floods the > guest with these interrupts. Does -no-kvm-irqchip help? > In Xen, we decide to froze the guest time after save/restore. In this way the guest see contiguous timer and thus avoid this issue. Probably we should do similar here, comments? thx,eddie ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <10EA09EFD8728347A513008B6B0DA77A023643BD-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>]
* Re: soft lockup after stop/cont [not found] ` <10EA09EFD8728347A513008B6B0DA77A023643BD-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org> @ 2007-10-10 9:09 ` Avi Kivity [not found] ` <470C96B2.3080905-atKUWr5tajBWk0Htik3J/w@public.gmane.org> 0 siblings, 1 reply; 14+ messages in thread From: Avi Kivity @ 2007-10-10 9:09 UTC (permalink / raw) To: Dong, Eddie; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Dong, Eddie wrote: > kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org wrote: > >> It may be that the timer correction code detects that zillions of >> timer interrupts have not been serviced by the guest so it floods the >> guest with these interrupts. Does -no-kvm-irqchip help? >> >> > In Xen, we decide to froze the guest time after save/restore. In this > way the guest see contiguous timer and thus avoid this issue. > > Probably we should do similar here, comments? > This is pause/resume, not save/restore. I think save/restore now has contiguous lapic timer and discontiguous real time. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <470C96B2.3080905-atKUWr5tajBWk0Htik3J/w@public.gmane.org>]
* Re: soft lockup after stop/cont [not found] ` <470C96B2.3080905-atKUWr5tajBWk0Htik3J/w@public.gmane.org> @ 2007-10-10 9:11 ` Dong, Eddie [not found] ` <10EA09EFD8728347A513008B6B0DA77A02364404-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org> 0 siblings, 1 reply; 14+ messages in thread From: Dong, Eddie @ 2007-10-10 9:11 UTC (permalink / raw) To: Avi Kivity; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Avi Kivity wrote: > Dong, Eddie wrote: >> kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org wrote: >> >>> It may be that the timer correction code detects that zillions of >>> timer interrupts have not been serviced by the guest so it floods >>> the guest with these interrupts. Does -no-kvm-irqchip help? >>> >>> >> In Xen, we decide to froze the guest time after save/restore. In this >> way the guest see contiguous timer and thus avoid this issue. >> >> Probably we should do similar here, comments? >> > > This is pause/resume, not save/restore. I think save/restore now has > contiguous lapic timer and discontiguous real time. > If save/restore means live migration here, yes you are right. save to file and later resume from file will have this issue. thx,eddie ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <10EA09EFD8728347A513008B6B0DA77A02364404-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>]
* Re: soft lockup after stop/cont [not found] ` <10EA09EFD8728347A513008B6B0DA77A02364404-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org> @ 2007-10-10 9:18 ` Avi Kivity [not found] ` <470C98EB.1080602-atKUWr5tajBWk0Htik3J/w@public.gmane.org> 0 siblings, 1 reply; 14+ messages in thread From: Avi Kivity @ 2007-10-10 9:18 UTC (permalink / raw) To: Dong, Eddie; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Dong, Eddie wrote: > Avi Kivity wrote: > >> Dong, Eddie wrote: >> >>> kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org wrote: >>> >>> >>>> It may be that the timer correction code detects that zillions of >>>> timer interrupts have not been serviced by the guest so it floods >>>> the guest with these interrupts. Does -no-kvm-irqchip help? >>>> >>>> >>>> >>> In Xen, we decide to froze the guest time after save/restore. In this >>> way the guest see contiguous timer and thus avoid this issue. >>> >>> Probably we should do similar here, comments? >>> >>> >> This is pause/resume, not save/restore. I think save/restore now has >> contiguous lapic timer and discontiguous real time. >> >> > > If save/restore means live migration here, yes you are right. > No, I didn't mean that. > save to file and later resume from file will have this issue. > Why? after saving to a file, the local apic in the kernel is destroyed when qemu quits. Or is the timer saved in absolute time? if so you are right, and yes, your solution is needed. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <470C98EB.1080602-atKUWr5tajBWk0Htik3J/w@public.gmane.org>]
* Re: soft lockup after stop/cont [not found] ` <470C98EB.1080602-atKUWr5tajBWk0Htik3J/w@public.gmane.org> @ 2007-10-10 9:57 ` Dong, Eddie [not found] ` <10EA09EFD8728347A513008B6B0DA77A0236442D-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org> 0 siblings, 1 reply; 14+ messages in thread From: Dong, Eddie @ 2007-10-10 9:57 UTC (permalink / raw) To: Avi Kivity; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f >Or is the timer saved in absolute time? if so you are right, and yes, >your solution is needed. > Looks like current live migration, also save/restore, doesn't migrate guest time. (do I miss something?) So the new guest will see a totally different TSC and OS feel stranger or many lost ticks etc. Should we add this one? thx,eddie ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <10EA09EFD8728347A513008B6B0DA77A0236442D-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>]
* Re: soft lockup after stop/cont [not found] ` <10EA09EFD8728347A513008B6B0DA77A0236442D-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org> @ 2007-10-10 10:06 ` Avi Kivity [not found] ` <470CA429.2080607-atKUWr5tajBWk0Htik3J/w@public.gmane.org> 0 siblings, 1 reply; 14+ messages in thread From: Avi Kivity @ 2007-10-10 10:06 UTC (permalink / raw) To: Dong, Eddie; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Dong, Eddie wrote: >> Or is the timer saved in absolute time? if so you are right, and yes, >> your solution is needed. >> >> > Looks like current live migration, also save/restore, doesn't migrate > guest time. (do I miss something?) So the new guest will > see a totally different TSC and OS feel stranger or > many lost ticks etc. > > Should we add this one? > thx,eddie > cpu_save (qemu/hw/pc.c) has this: #ifdef USE_KVM if (kvm_allowed) { for (i = 0; i < NR_IRQ_WORDS ; i++) { qemu_put_be32s(f, &env->kvm_interrupt_bitmap[i]); } qemu_put_be64s(f, &env->tsc); } #endif And I think the apic code saves the timer? -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <470CA429.2080607-atKUWr5tajBWk0Htik3J/w@public.gmane.org>]
* Re: soft lockup after stop/cont [not found] ` <470CA429.2080607-atKUWr5tajBWk0Htik3J/w@public.gmane.org> @ 2007-10-11 1:17 ` Dong, Eddie 0 siblings, 0 replies; 14+ messages in thread From: Dong, Eddie @ 2007-10-11 1:17 UTC (permalink / raw) To: Avi Kivity; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Avi Kivity wrote: > cpu_save (qemu/hw/pc.c) has this: > > #ifdef USE_KVM > if (kvm_allowed) { > for (i = 0; i < NR_IRQ_WORDS ; i++) { > qemu_put_be32s(f, &env->kvm_interrupt_bitmap[i]); } > qemu_put_be64s(f, &env->tsc); > } > #endif Mmm, so this is not the root cause. > > And I think the apic code saves the timer? > APIC timer is restored at kvm_vcpu_ioctl_set_lapic/kvm_apic_post_state_restore/start_apic_timer. Thx, Eddie ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: soft lockup after stop/cont [not found] ` <470C87AB.6050900-atKUWr5tajBWk0Htik3J/w@public.gmane.org> 2007-10-10 8:50 ` Dong, Eddie @ 2007-10-10 18:54 ` Jim Paris [not found] ` <20071010185443.GA14525-lSbMZ+N7itA@public.gmane.org> 1 sibling, 1 reply; 14+ messages in thread From: Jim Paris @ 2007-10-10 18:54 UTC (permalink / raw) To: Avi Kivity; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Avi Kivity wrote: > Jim Paris wrote: > > If I stop KVM in the monitor with "stop", wait a minute, and do > > "cont", a Linux guest gives me a "BUG: soft lockup detected on CPU#0". > > Is that expected behavior? > > No. > > > What isn't virtualized that allows it to > > detect that? The host is a core 2 duo. > > It may be that the timer correction code detects that zillions of timer > interrupts have not been serviced by the guest so it floods the guest > with these interrupts. Does -no-kvm-irqchip help? I can't seem to reproduce the "soft lockup" at the moment, but there's a "clocksource tsc unstable" that happens pretty reliably when I pause the VM using stop/cont for about 15 seconds: $ kvm -M pc -m 256 -smp 1 -boot c -hda test -net none stop/cont, guest reports: Clocksource tsc unstable (delta = 15877929568 ns) Time: acpi_pm clocksource has been installed. $ kvm -no-kvm-irqchip -M pc -m 256 -smp 1 -boot c -hda test -net none stop/cont, guest seems not to notice. (Host is 2.6.20.4, kvm-45 modules & userspace, guest 2.6.21) -jim ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <20071010185443.GA14525-lSbMZ+N7itA@public.gmane.org>]
* Re: soft lockup after stop/cont [not found] ` <20071010185443.GA14525-lSbMZ+N7itA@public.gmane.org> @ 2007-10-11 9:03 ` Carsten Otte [not found] ` <470DE6F8.9090801-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org> 0 siblings, 1 reply; 14+ messages in thread From: Carsten Otte @ 2007-10-11 9:03 UTC (permalink / raw) To: Jim Paris; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Avi Kivity Jim Paris wrote: > If I stop KVM in the monitor with "stop", wait a minute, and do > "cont", a Linux guest gives me a "BUG: soft lockup detected on CPU#0". > Is that expected behavior? We have the same behavior on s390 when running in a virtual environment. The issue is, that the guest physical cpu may be scheduled away while a timer runs down. I don't think there's anything kvm could do better regerding the soft lockup code. Soft lockup is just broken for virtualized environments and needs to be fixed. For the time being, just disable it in kconfig. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <470DE6F8.9090801-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>]
* Re: soft lockup after stop/cont [not found] ` <470DE6F8.9090801-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org> @ 2007-10-11 9:29 ` Dong, Eddie [not found] ` <10EA09EFD8728347A513008B6B0DA77A02364AD6-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org> 0 siblings, 1 reply; 14+ messages in thread From: Dong, Eddie @ 2007-10-11 9:29 UTC (permalink / raw) To: carsteno-tA70FqPdS9bQT0dZR+AlfA, Jim Paris Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Avi Kivity kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org wrote: > Jim Paris wrote: >> If I stop KVM in the monitor with "stop", wait a minute, and do >> "cont", a Linux guest gives me a "BUG: soft lockup detected on >> CPU#0". Is that expected behavior? > We have the same behavior on s390 when running in a virtual > environment. The issue is, that the guest physical cpu may be > scheduled away while a timer runs down. I don't think there's anything > kvm could do better regerding the soft lockup code. Soft lockup is > just broken for virtualized environments and needs to be fixed. For > the time being, just disable it in kconfig. > This is a well known issue, but we can fix by syncing TSC with PIT etc. But doing this we need to froze guest TSC when a VP is descheduled. We enable this in Xen but feel it is too complicated so never wanna to do same thing in KVM per previous discussion. There are some side effect of course due to this. In Xen some time you will see PV domain soft lockup, but never in hardware HVM :-) Hopefully Linux will have pv timer soon. thx, eddie ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <10EA09EFD8728347A513008B6B0DA77A02364AD6-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>]
* Re: soft lockup after stop/cont [not found] ` <10EA09EFD8728347A513008B6B0DA77A02364AD6-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org> @ 2007-10-11 10:57 ` Carsten Otte [not found] ` <470E01A2.104-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org> 0 siblings, 1 reply; 14+ messages in thread From: Carsten Otte @ 2007-10-11 10:57 UTC (permalink / raw) To: Dong, Eddie Cc: carsteno-tA70FqPdS9bQT0dZR+AlfA, kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Jan Glauber1, Avi Kivity Dong, Eddie wrote: > kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org wrote: >> Jim Paris wrote: >>> If I stop KVM in the monitor with "stop", wait a minute, and do >>> "cont", a Linux guest gives me a "BUG: soft lockup detected on >>> CPU#0". Is that expected behavior? >> We have the same behavior on s390 when running in a virtual >> environment. The issue is, that the guest physical cpu may be >> scheduled away while a timer runs down. I don't think there's anything >> kvm could do better regerding the soft lockup code. Soft lockup is >> just broken for virtualized environments and needs to be fixed. For >> the time being, just disable it in kconfig. >> > This is a well known issue, but we can fix by syncing TSC with PIT etc. > But doing this we need to froze guest TSC when a VP is descheduled. > > We enable this in Xen but feel it is too complicated so never wanna > to do same thing in KVM per previous discussion. There are some > side effect of course due to this. > > In Xen some time you will see PV domain soft lockup, but never in > hardware HVM :-) Hopefully Linux will have pv timer soon. Yes, virtual timers will be the right fix for it. I believe Jan has a patch for that. Am I mistaken Jan? [adding Jan to CC:] ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <470E01A2.104-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>]
* Re: soft lockup after stop/cont [not found] ` <470E01A2.104-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org> @ 2007-10-11 16:18 ` Jan Glauber1 0 siblings, 0 replies; 14+ messages in thread From: Jan Glauber1 @ 2007-10-11 16:18 UTC (permalink / raw) To: carsteno-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8 Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, carsteno-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8, Avi Kivity Carsten Otte/Germany/IBM@IBMDE wrote on 10/11/2007 12:57:38 PM: > Dong, Eddie wrote: > > kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org wrote: > >> Jim Paris wrote: > >>> If I stop KVM in the monitor with "stop", wait a minute, and do > >>> "cont", a Linux guest gives me a "BUG: soft lockup detected on > >>> CPU#0". Is that expected behavior? > >> We have the same behavior on s390 when running in a virtual > >> environment. The issue is, that the guest physical cpu may be > >> scheduled away while a timer runs down. I don't think there's anything > >> kvm could do better regerding the soft lockup code. Soft lockup is > >> just broken for virtualized environments and needs to be fixed. For > >> the time being, just disable it in kconfig. > >> > > This is a well known issue, but we can fix by syncing TSC with PIT etc. > > But doing this we need to froze guest TSC when a VP is descheduled. > > > > We enable this in Xen but feel it is too complicated so never wanna > > to do same thing in KVM per previous discussion. There are some > > side effect of course due to this. > > > > In Xen some time you will see PV domain soft lockup, but never in > > hardware HVM :-) Hopefully Linux will have pv timer soon. > Yes, virtual timers will be the right fix for it. I believe Jan has a > patch for that. Am I mistaken Jan? [adding Jan to CC:] Well, we have an instruction for that ;- (but that's not the whole story). The idea is simply to make sched_clock using a virtual timer, so softlockup does only account time the guest was scheduled. Currently we have softlockup disabled on s390 too, since there are some open issues with CFS and the virtual sched_clock. -- Jan ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2007-10-11 16:18 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-10 8:01 soft lockup after stop/cont Jim Paris
[not found] ` <20071010080152.GA27601-lSbMZ+N7itA@public.gmane.org>
2007-10-10 8:04 ` Avi Kivity
[not found] ` <470C87AB.6050900-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-10 8:50 ` Dong, Eddie
[not found] ` <10EA09EFD8728347A513008B6B0DA77A023643BD-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-10-10 9:09 ` Avi Kivity
[not found] ` <470C96B2.3080905-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-10 9:11 ` Dong, Eddie
[not found] ` <10EA09EFD8728347A513008B6B0DA77A02364404-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-10-10 9:18 ` Avi Kivity
[not found] ` <470C98EB.1080602-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-10 9:57 ` Dong, Eddie
[not found] ` <10EA09EFD8728347A513008B6B0DA77A0236442D-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-10-10 10:06 ` Avi Kivity
[not found] ` <470CA429.2080607-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-11 1:17 ` Dong, Eddie
2007-10-10 18:54 ` Jim Paris
[not found] ` <20071010185443.GA14525-lSbMZ+N7itA@public.gmane.org>
2007-10-11 9:03 ` Carsten Otte
[not found] ` <470DE6F8.9090801-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
2007-10-11 9:29 ` Dong, Eddie
[not found] ` <10EA09EFD8728347A513008B6B0DA77A02364AD6-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-10-11 10:57 ` Carsten Otte
[not found] ` <470E01A2.104-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
2007-10-11 16:18 ` Jan Glauber1
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox