From: David A. <da...@bo...> - 2008-03-31 21:11:46
|
With the title combination, the guest takes nearly 100% of my real CPU time and still only sees one CPU. Is this a known problem, and does it have a known solution? Thanks in Advance, -- Dave Abrahams Boost Consulting http://boost-consulting.com |
From: Avi K. <av...@qu...> - 2008-04-02 06:50:31
|
David Abrahams wrote: > With the title combination, the guest takes nearly 100% of my real CPU > time and still only sees one CPU. Is this a known problem, and does it > have a known solution? > > Can you send the output of 'kvm_stat -1'? Also, what does the guest think it is doing (in task manager, etc.)? What HAL do you see in device manager? -- error compiling committee.c: too many arguments to function |
From: David A. <da...@bo...> - 2008-04-04 16:14:27
|
on Wed Apr 02 2008, Avi Kivity <avi-AT-qumranet.com> wrote: > David Abrahams wrote: >> With the title combination, the guest takes nearly 100% of my real CPU >> time and still only sees one CPU. Is this a known problem, and does it >> have a known solution? >> >> > > Can you send the output of 'kvm_stat -1'? $ ./kvm_stat -1 exits 5919444 74219 halt_exits 1746937 59420 invlpg 0 0 io_exits 2181506 6569 irq_exits 23055 335 irq_window 2839 77 mmio_exits 200851 0 pf_fixed 1160592 6251 pf_guest 43473 396 request_irq 0 0 signal_exits 24838 281 tlb_flush 37381 1132 > Also, what does the guest > think it is doing (in task manager, etc.)? "System Idle Process" Note that right now, with my laptop running on battery, kvm is taking up "only" about 50% of the real CPU. > What HAL do you see in device manager? Jim Paris wrote: > He's referring to the Windows computer type -- the entry under > "computer" in device manager. See > http://kvm.qumranet.com/kvmwiki/Windows_ACPI_Workaround "Standard PC" For what it's worth, kvm was not started with "-smp 2" when XP was installed; I only discovered that option later. Thanks, -- Dave Abrahams Boost Consulting http://boost-consulting.com |
From: Avi K. <av...@qu...> - 2008-04-05 07:26:13
|
David Abrahams wrote: > on Wed Apr 02 2008, Avi Kivity <avi-AT-qumranet.com> wrote: > > >> David Abrahams wrote: >> >>> With the title combination, the guest takes nearly 100% of my real CPU >>> time and still only sees one CPU. Is this a known problem, and does it >>> have a known solution? >>> >>> >>> >> Can you send the output of 'kvm_stat -1'? >> > > $ ./kvm_stat -1 > exits 5919444 74219 > halt_exits 1746937 59420 > invlpg 0 0 > io_exits 2181506 6569 > irq_exits 23055 335 > irq_window 2839 77 > mmio_exits 200851 0 > pf_fixed 1160592 6251 > pf_guest 43473 396 > request_irq 0 0 > signal_exits 24838 281 > tlb_flush 37381 1132 > > Versions of kvm producing this sort of output are common in archaeological digs. Please try a more recent release. >> What HAL do you see in device manager? >> > "Standard PC" > > This HAL does not support SMP. You need the "ACPI Multiprocessor PC" HAL or some such. Unless you have a recent Intel processor, the combination of SMP and Windows XP will give noticeably lower performance. I recommend sticking with uniprocessor in such cases. -- Any sufficiently difficult bug is indistinguishable from a feature. |
From: David A. <da...@bo...> - 2008-04-12 00:02:54
|
Avi Kivity wrote: > David Abrahams wrote: >> on Wed Apr 02 2008, Avi Kivity <avi-AT-qumranet.com> wrote: >> >> >>> David Abrahams wrote: >>> >>>> With the title combination, the guest takes nearly 100% of my real CPU >>>> time and still only sees one CPU. Is this a known problem, and does it >>>> have a known solution? >>>> >>>> >>> Can you send the output of 'kvm_stat -1'? >> >> $ ./kvm_stat -1 >> exits 5919444 74219 >> halt_exits 1746937 59420 >> invlpg 0 0 >> io_exits 2181506 6569 >> irq_exits 23055 335 >> irq_window 2839 77 >> mmio_exits 200851 0 >> pf_fixed 1160592 6251 >> pf_guest 43473 396 >> request_irq 0 0 >> signal_exits 24838 281 >> tlb_flush 37381 1132 >> >> > > Versions of kvm producing this sort of output are common in > archaeological digs. Please try a more recent release. Well, I'll try Hardy Heron soon enough, I suppose. It's due out in 2 weeks. I'm sure you understand that most people can't afford to rebuild all their important software so that it stays on the bleeding edge. Have you considered getting more recent versions of kvm into the updates or backports repositories of major distros? I'm not really sure how much influence you can have over such things; I'm just asking. >>> What HAL do you see in device manager? >>> >> "Standard PC" >> >> > > This HAL does not support SMP. You need the "ACPI Multiprocessor PC" > HAL or some such. And how would I get that HAL set up? > Unless you have a recent Intel processor, the combination of SMP and > Windows XP will give noticeably lower performance. I recommend sticking > with uniprocessor in such cases. I have a Core Duo; isn't that recent enough? -- Dave Abrahams Boost Consulting http://boost-consulting.com |
From: Avi K. <av...@qu...> - 2008-04-20 10:37:00
|
David Abrahams wrote: >>> >>> >> Versions of kvm producing this sort of output are common in >> archaeological digs. Please try a more recent release. >> > > Well, I'll try Hardy Heron soon enough, I suppose. It's due out in 2 > weeks. > > I'm sure you understand that most people can't afford to rebuild all > their important software so that it stays on the bleeding edge. Have > you considered getting more recent versions of kvm into the updates or > backports repositories of major distros? I'm not really sure how much > influence you can have over such things; I'm just asking. > > That's up to the distro maintainers, or concerned users (who may either volunteer work or apply pressure). >>>> What HAL do you see in device manager? >>>> >>>> >>> "Standard PC" >>> >>> >>> >> This HAL does not support SMP. You need the "ACPI Multiprocessor PC" >> HAL or some such. >> > > And how would I get that HAL set up? > > Follow http://kvm.qumranet.com/kvmwiki/Windows_ACPI_Workaround, substituting your desired HAL for "Standard PC". >> Unless you have a recent Intel processor, the combination of SMP and >> Windows XP will give noticeably lower performance. I recommend sticking >> with uniprocessor in such cases. >> > > I have a Core Duo; isn't that recent enough? > No, this feature is present only on some of the Core 2s, IIRC. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic. |
From: David A. <da...@bo...> - 2008-04-23 19:13:07
|
Avi Kivity wrote: > David Abrahams wrote: >>>> >>> Versions of kvm producing this sort of output are common in >>> archaeological digs. Please try a more recent release. >>> >> >> Well, I'll try Hardy Heron soon enough, I suppose. It's due out in 2 >> weeks. >> >> I'm sure you understand that most people can't afford to rebuild all >> their important software so that it stays on the bleeding edge. Have >> you considered getting more recent versions of kvm into the updates or >> backports repositories of major distros? I'm not really sure how much >> influence you can have over such things; I'm just asking. > > That's up to the distro maintainers, or concerned users (who may either > volunteer work or apply pressure). Well Hardy is due out, like, tomorrow or something. Its kvm seems to be much newer. >>>>> What HAL do you see in device manager? >>>>> >>>> "Standard PC" >>>> >>>> >>> This HAL does not support SMP. You need the "ACPI Multiprocessor PC" >>> HAL or some such. >>> >> >> And how would I get that HAL set up? >> >> > > Follow http://kvm.qumranet.com/kvmwiki/Windows_ACPI_Workaround, > substituting your desired HAL for "Standard PC". Thanks. >>> Unless you have a recent Intel processor, the combination of SMP and >>> Windows XP will give noticeably lower performance. I recommend sticking >>> with uniprocessor in such cases. >>> >> >> I have a Core Duo; isn't that recent enough? >> > > No, this feature is present only on some of the Core 2s, IIRC. Huh. What is the feature called? -- Dave Abrahams Boost Consulting http://boost-consulting.com |
From: Avi K. <av...@qu...> - 2008-04-23 21:05:46
|
David Abrahams wrote: >>>> Unless you have a recent Intel processor, the combination of SMP and >>>> Windows XP will give noticeably lower performance. I recommend sticking >>>> with uniprocessor in such cases. >>>> >>>> >>> I have a Core Duo; isn't that recent enough? >>> >>> >> No, this feature is present only on some of the Core 2s, IIRC. >> > > Huh. What is the feature called FlexPriority. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic. |
From: David A. <da...@bo...> - 2008-04-02 16:48:41
|
on Wed Apr 02 2008, Avi Kivity <avi-AT-qumranet.com> wrote: > David Abrahams wrote: >> With the title combination, the guest takes nearly 100% of my real CPU >> time and still only sees one CPU. Is this a known problem, and does it >> have a known solution? >> >> > > Can you send the output of 'kvm_stat -1'? I don't appear to have a kvm_stat executable anywhere. How do I acquire that? > Also, what does the guest > think it is doing (in task manager, etc.)? System Idle Process :( Everything is calm in the guest, but "top" in the host shows a kvm process at between 50 and 70 percent of the CPU. > What HAL do you see in device manager? In the guest? I don't see anything that obviously appears to be HAL in device manager. Could you be more specific? Sorry to be so clueless, and thanks again in advance, -- Dave Abrahams Boost Consulting http://boost-consulting.com |
From: Liu, E. E <eri...@in...> - 2008-04-03 01:19:48
|
David Abrahams wrote: > on Wed Apr 02 2008, Avi Kivity <avi-AT-qumranet.com> wrote: > >> David Abrahams wrote: >>> With the title combination, the guest takes nearly 100% of my real >>> CPU time and still only sees one CPU. Is this a known problem, and >>> does it have a known solution? >>> >>> >> >> Can you send the output of 'kvm_stat -1'? > > I don't appear to have a kvm_stat executable anywhere. How do I > acquire that? Hi David, Do you have kvm userspace code? If you have, you can find it in kvm-userspace/kvm_stat. And you also can get the code from "git clone git://git.kernel.org/pub/scm/virt/kvm/kvm-userspace.git". |
From: Jim P. <ji...@jt...> - 2008-04-03 02:02:43
|
David Abrahams wrote: > > What HAL do you see in device manager? > > In the guest? I don't see anything that obviously appears to be HAL in > device manager. Could you be more specific? Hi, He's referring to the Windows computer type -- the entry under "computer" in device manager. See http://kvm.qumranet.com/kvmwiki/Windows_ACPI_Workaround -jim |