Re: XP smp using a lot of CPU

2009-05-25 Thread Avi Kivity
Erik Rull wrote: Hi Avi, no I'm using a partition as a drive, here's my command-line: taskset 0x0002 /usr/X11R6/bin/qemu-system-x86_64 -usb -drive file=/dev/hda2,cache=off -m 1536 -net nic,macaddr=$MACADDR -net tap,script=/etc/qemu-ifup -no-acpi -monitor stdio -L /usr/X11R6/share/qemu

Re: XP smp using a lot of CPU

2009-05-24 Thread Avi Kivity
Erik Rull wrote: Hi Avi, there are some .NET apps running, doing some calculations and graphic 2D display, HDD access w/ database and some TCP/IP transfer. Are you using qcow2? What is your qemu command line? -- error compiling committee.c: too many arguments to function -- To

Re: XP smp using a lot of CPU

2009-05-20 Thread Avi Kivity
Erik Rull wrote: Hi Avi, here is the cpuinfo - what do you mean with workload? The CPU isage is around 33%. What programs is the guest running? -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a

Re: XP smp using a lot of CPU

2009-05-19 Thread Erik Rull
Hi Avi, here is the cpuinfo - what do you mean with workload? The CPU isage is around 33%. processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz stepping: 2 cpu MHz :

Re: XP smp using a lot of CPU

2009-05-17 Thread Avi Kivity
Erik Rull wrote: Hi all, very very interesting. I have a similar problem but the other way round. If my XP runs up tp 100% CPU usage top on the linux host reports only 33% cpu usage. I would expect around 50% because I only provide one core for the guest. I already increased the process

Re: XP smp using a lot of CPU

2009-05-15 Thread Ross Boylan
On Fri, 2009-05-15 at 11:56 -0300, Marcelo Tosatti wrote: Ross, Can you confirm the qemu process CPU consumption is down to acceptable levels if you dont specify -no-acpi? Thanks Simply starting without -no-acpi did not help. I tried to do a Windows XP repair, but seemed to end up

Re: XP smp using a lot of CPU [SOLVED]

2009-05-15 Thread Ross Boylan
Using ACPI fixes the problem; CPU useage is now quite low. Start line was sudo vdeq kvm -net nic,vlan=1,macaddr=52:54:a0:12:01:00 \ -net vde,vlan=1,sock=/var/run/vde2/tap0.ctl \ -boot d -cdrom /usr/local/backup/XPProSP3.iso \ -std-vga -hda /dev/turtle/XP00 \ -soundhw es1370

Re: XP smp using a lot of CPU [SOLVED]

2009-05-15 Thread Brian Jackson
On May 15, 2009, at 3:24 PM, Ross Boylan wrote: Using ACPI fixes the problem; CPU useage is now quite low. Start line was sudo vdeq kvm -net nic,vlan=1,macaddr=52:54:a0:12:01:00 \ -net vde,vlan=1,sock=/var/run/vde2/tap0.ctl \ -boot d -cdrom /usr/local/backup/XPProSP3.iso \ -std-vga

XP smp using a lot of CPU

2009-05-14 Thread Johannes Schlatow
I had a similar problem some weeks ago. Finally I found out that my VM running WinXP was working on a non-acpi system (maybe I started kvm with -no-acpi option during the installation). In the Device Manager there has to be the entry Computer-ACPI Multiprocessor PC. Otherwise the VM produced 100%

Re: XP smp using a lot of CPU

2009-05-14 Thread Kevin Shanahan
On Wed, May 13, 2009 at 09:56:18AM +0300, Avi Kivity wrote: Ross Boylan wrote: I just installed XP into a new VM, specifying -smp 2 for the machine. According to top, it's using nearly 200% of a cpu even when I'm not doing anything. Is this real CPU useage, or just a reporting problem (just

Re: XP smp using a lot of CPU

2009-05-14 Thread Ross Boylan
On Thu, 2009-05-14 at 12:19 +0200, Johannes Schlatow wrote: I had a similar problem some weeks ago. Finally I found out that my VM running WinXP was working on a non-acpi system (maybe I started kvm with -no-acpi option during the installation). In the Device Manager there has to be the entry

Re: XP smp using a lot of CPU

2009-05-14 Thread Ross Boylan
On Wed, 2009-05-13 at 09:56 +0300, Avi Kivity wrote: Ross Boylan wrote: I just installed XP into a new VM, specifying -smp 2 for the machine. According to top, it's using nearly 200% of a cpu even when I'm not doing anything. Is this real CPU useage, or just a reporting problem (just as

Re: XP smp using a lot of CPU

2009-05-13 Thread Avi Kivity
Ross Boylan wrote: I just installed XP into a new VM, specifying -smp 2 for the machine. According to top, it's using nearly 200% of a cpu even when I'm not doing anything. Is this real CPU useage, or just a reporting problem (just as my disk image is big according to ls, but isn't really)? If

Re: XP smp using a lot of CPU

2009-05-13 Thread Erik Rull
Hi all, very very interesting. I have a similar problem but the other way round. If my XP runs up tp 100% CPU usage top on the linux host reports only 33% cpu usage. I would expect around 50% because I only provide one core for the guest. I already increased the process priority of qemu and

XP smp using a lot of CPU

2009-05-12 Thread Ross Boylan
I just installed XP into a new VM, specifying -smp 2 for the machine. According to top, it's using nearly 200% of a cpu even when I'm not doing anything. Is this real CPU useage, or just a reporting problem (just as my disk image is big according to ls, but isn't really)? If it's real, is there

Re: XP smp using a lot of CPU

2009-05-12 Thread Elias Probst
Hi, I'm facing the same problem here. A Windows XP (SP3 + all current Updates) which uses constantly ~95% CPU on each core. I've already tried: - Using only 1 core - Replacing the HAL in Windows - Using another KVM version - Using different timer options for KVM I'm currently on KVM-85 where