* Windows XP + Virtio
@ 2012-05-01 23:33 Sean Kennedy
2012-05-02 12:56 ` Vadim Rozenfeld
2012-05-19 18:01 ` Gordon Messmer
0 siblings, 2 replies; 6+ messages in thread
From: Sean Kennedy @ 2012-05-01 23:33 UTC (permalink / raw)
To: kvm
I am getting crashes (BSoD) when using Virtio for the disk driver in Windows XP.
It boots fine, it seems to run okay most of the time, but whenever the disk begins to get taxed, 9 times out of 10 it will start locking up then eventually crash with a BSoD about virtio.sys.
Here is the environment:
VM Host is a CentOS 6 server running qemu-kvm-0.12.1.2-2.209 with Kernel version 2.6.32-220.13.1.el6.x86_64. It's a dual quad-core Xeon with 24 gigs of ram.
It's connected to backend storage via 2 gigabit ethernet connections. I have created a raw 20gig LVM block device for this XP machine that is exported over iSCSI.
The VM Host is running device-mapper-multipath to utilize both ethernet connections to the SAN.
When I run a disk benchmark tool on the XP machine, the ICMP responses from the box start going through the roof, and even drop off. It usually bluescreens during the test.
I have eliminated multipathd and setup the XP virt machine to just use the iSCSI /dev/disk/by-id/ block directly, and it still behaves this way.
If I set the machine to use IDE instead of Virtio, it's certainly slower, but the machine never crashes and when running I/O benchmarks, pings stay solid as they should, this is while still using multipathd and iSCSI to the storage server.
Have I setup virtio incorrectly? How would you go about finding the real issue?
Here is the virt machine's XML (using IDE for disk currently):
<domain type='kvm' id='12'>
<name>Apollo</name>
<uuid>d32041b8-853e-e679-edce-2b1f3db55e8a</uuid>
<memory>4194304</memory>
<currentMemory>4194304</currentMemory>
<vcpu>2</vcpu>
<os>
<type arch='i686' machine='rhel5.4.0'>hvm</type>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
<pae/>
</features>
<clock offset='localtime'>
<timer name='pit' tickpolicy='delay'/>
</clock>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<devices>
<emulator>/usr/libexec/qemu-kvm</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='raw' cache='none'/>
<source file='/dev/mapper/vm_apollo'/>
<target dev='vda' bus='ide'/>
<alias name='ide0-0-0'/>
<address type='drive' controller='0' bus='0' unit='0'/>
</disk>
<disk type='file' device='cdrom'>
<driver name='qemu' type='raw'/>
<target dev='hdc' bus='ide'/>
<readonly/>
<alias name='ide0-1-0'/>
<address type='drive' controller='0' bus='1' unit='0'/>
</disk>
<controller type='ide' index='0'>
<alias name='ide0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
</controller>
<interface type='bridge'>
<mac address='52:54:00:d7:bb:08'/>
<source bridge='br0'/>
<target dev='vnet0'/>
<model type='virtio'/>
<alias name='net0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</interface>
<serial type='pty'>
<source path='/dev/pts/1'/>
<target port='0'/>
<alias name='serial0'/>
</serial>
<console type='pty' tty='/dev/pts/1'>
<source path='/dev/pts/1'/>
<target type='serial' port='0'/>
<alias name='serial0'/>
</console>
<input type='tablet' bus='usb'>
<alias name='input0'/>
</input>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='5900' autoport='yes' keymap='en-us'/>
<video>
<model type='cirrus' vram='9216' heads='1'/>
<alias name='video0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</video>
<memballoon model='virtio'>
<alias name='balloon0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
</memballoon>
</devices>
</domain>
Thanks,
Sean
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Windows XP + Virtio
2012-05-01 23:33 Windows XP + Virtio Sean Kennedy
@ 2012-05-02 12:56 ` Vadim Rozenfeld
2012-05-02 14:54 ` Sean Kennedy
2012-05-19 18:01 ` Gordon Messmer
1 sibling, 1 reply; 6+ messages in thread
From: Vadim Rozenfeld @ 2012-05-02 12:56 UTC (permalink / raw)
To: Sean Kennedy; +Cc: kvm
On Wednesday, May 02, 2012 02:33:49 AM Sean Kennedy wrote:
> I am getting crashes (BSoD) when using Virtio for the disk driver in
> Windows XP.
>
> It boots fine, it seems to run okay most of the time, but whenever the disk
> begins to get taxed, 9 times out of 10 it will start locking up then
> eventually crash with a BSoD about virtio.sys.
Hi Sean,
Can you tell me the bugcheck code and viostor version?
Thank you,
Vadim.
>
> Here is the environment:
>
> VM Host is a CentOS 6 server running qemu-kvm-0.12.1.2-2.209 with Kernel
> version 2.6.32-220.13.1.el6.x86_64. It's a dual quad-core Xeon with 24
> gigs of ram.
>
> It's connected to backend storage via 2 gigabit ethernet connections. I
> have created a raw 20gig LVM block device for this XP machine that is
> exported over iSCSI.
>
> The VM Host is running device-mapper-multipath to utilize both ethernet
> connections to the SAN.
>
> When I run a disk benchmark tool on the XP machine, the ICMP responses from
> the box start going through the roof, and even drop off. It usually
> bluescreens during the test.
>
> I have eliminated multipathd and setup the XP virt machine to just use the
> iSCSI /dev/disk/by-id/ block directly, and it still behaves this way.
>
> If I set the machine to use IDE instead of Virtio, it's certainly slower,
> but the machine never crashes and when running I/O benchmarks, pings stay
> solid as they should, this is while still using multipathd and iSCSI to
> the storage server.
>
> Have I setup virtio incorrectly? How would you go about finding the real
> issue?
>
> Here is the virt machine's XML (using IDE for disk currently):
>
> <domain type='kvm' id='12'>
> <name>Apollo</name>
> <uuid>d32041b8-853e-e679-edce-2b1f3db55e8a</uuid>
> <memory>4194304</memory>
> <currentMemory>4194304</currentMemory>
> <vcpu>2</vcpu>
> <os>
> <type arch='i686' machine='rhel5.4.0'>hvm</type>
> <boot dev='hd'/>
> </os>
> <features>
> <acpi/>
> <apic/>
> <pae/>
> </features>
> <clock offset='localtime'>
> <timer name='pit' tickpolicy='delay'/>
> </clock>
> <on_poweroff>destroy</on_poweroff>
> <on_reboot>restart</on_reboot>
> <on_crash>restart</on_crash>
> <devices>
> <emulator>/usr/libexec/qemu-kvm</emulator>
> <disk type='file' device='disk'>
> <driver name='qemu' type='raw' cache='none'/>
> <source file='/dev/mapper/vm_apollo'/>
> <target dev='vda' bus='ide'/>
> <alias name='ide0-0-0'/>
> <address type='drive' controller='0' bus='0' unit='0'/>
> </disk>
> <disk type='file' device='cdrom'>
> <driver name='qemu' type='raw'/>
> <target dev='hdc' bus='ide'/>
> <readonly/>
> <alias name='ide0-1-0'/>
> <address type='drive' controller='0' bus='1' unit='0'/>
> </disk>
> <controller type='ide' index='0'>
> <alias name='ide0'/>
> <address type='pci' domain='0x0000' bus='0x00' slot='0x01'
> function='0x1'/> </controller>
> <interface type='bridge'>
> <mac address='52:54:00:d7:bb:08'/>
> <source bridge='br0'/>
> <target dev='vnet0'/>
> <model type='virtio'/>
> <alias name='net0'/>
> <address type='pci' domain='0x0000' bus='0x00' slot='0x03'
> function='0x0'/> </interface>
> <serial type='pty'>
> <source path='/dev/pts/1'/>
> <target port='0'/>
> <alias name='serial0'/>
> </serial>
> <console type='pty' tty='/dev/pts/1'>
> <source path='/dev/pts/1'/>
> <target type='serial' port='0'/>
> <alias name='serial0'/>
> </console>
> <input type='tablet' bus='usb'>
> <alias name='input0'/>
> </input>
> <input type='mouse' bus='ps2'/>
> <graphics type='vnc' port='5900' autoport='yes' keymap='en-us'/>
> <video>
> <model type='cirrus' vram='9216' heads='1'/>
> <alias name='video0'/>
> <address type='pci' domain='0x0000' bus='0x00' slot='0x02'
> function='0x0'/> </video>
> <memballoon model='virtio'>
> <alias name='balloon0'/>
> <address type='pci' domain='0x0000' bus='0x00' slot='0x04'
> function='0x0'/> </memballoon>
> </devices>
> </domain>
>
>
> Thanks,
> Sean--
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Windows XP + Virtio
2012-05-02 12:56 ` Vadim Rozenfeld
@ 2012-05-02 14:54 ` Sean Kennedy
2012-05-02 15:55 ` Vadim Rozenfeld
0 siblings, 1 reply; 6+ messages in thread
From: Sean Kennedy @ 2012-05-02 14:54 UTC (permalink / raw)
To: Vadim Rozenfeld; +Cc: kvm
On May 2, 2012, at 6:56 AM, Vadim Rozenfeld wrote:
> On Wednesday, May 02, 2012 02:33:49 AM Sean Kennedy wrote:
>> I am getting crashes (BSoD) when using Virtio for the disk driver in
>> Windows XP.
>>
>> It boots fine, it seems to run okay most of the time, but whenever the disk
>> begins to get taxed, 9 times out of 10 it will start locking up then
>> eventually crash with a BSoD about virtio.sys.
> Hi Sean,
> Can you tell me the bugcheck code and viostor version?
> Thank you,
> Vadim.
I'm using virtio-win-0.1-22, it looks like viostor.sys is version 02/13/2012,51.63.103.2200.
The BSoD is telling me 'IRQL_NOT_LESS_OR_EQUAL'.
>>
>> Here is the environment:
>>
>> VM Host is a CentOS 6 server running qemu-kvm-0.12.1.2-2.209 with Kernel
>> version 2.6.32-220.13.1.el6.x86_64. It's a dual quad-core Xeon with 24
>> gigs of ram.
>>
>> It's connected to backend storage via 2 gigabit ethernet connections. I
>> have created a raw 20gig LVM block device for this XP machine that is
>> exported over iSCSI.
>>
>> The VM Host is running device-mapper-multipath to utilize both ethernet
>> connections to the SAN.
>>
>> When I run a disk benchmark tool on the XP machine, the ICMP responses from
>> the box start going through the roof, and even drop off. It usually
>> bluescreens during the test.
>>
>> I have eliminated multipathd and setup the XP virt machine to just use the
>> iSCSI /dev/disk/by-id/ block directly, and it still behaves this way.
>>
>> If I set the machine to use IDE instead of Virtio, it's certainly slower,
>> but the machine never crashes and when running I/O benchmarks, pings stay
>> solid as they should, this is while still using multipathd and iSCSI to
>> the storage server.
>>
>> Have I setup virtio incorrectly? How would you go about finding the real
>> issue?
>>
>> Here is the virt machine's XML (using IDE for disk currently):
>>
>> <domain type='kvm' id='12'>
>> <name>Apollo</name>
>> <uuid>d32041b8-853e-e679-edce-2b1f3db55e8a</uuid>
>> <memory>4194304</memory>
>> <currentMemory>4194304</currentMemory>
>> <vcpu>2</vcpu>
>> <os>
>> <type arch='i686' machine='rhel5.4.0'>hvm</type>
>> <boot dev='hd'/>
>> </os>
>> <features>
>> <acpi/>
>> <apic/>
>> <pae/>
>> </features>
>> <clock offset='localtime'>
>> <timer name='pit' tickpolicy='delay'/>
>> </clock>
>> <on_poweroff>destroy</on_poweroff>
>> <on_reboot>restart</on_reboot>
>> <on_crash>restart</on_crash>
>> <devices>
>> <emulator>/usr/libexec/qemu-kvm</emulator>
>> <disk type='file' device='disk'>
>> <driver name='qemu' type='raw' cache='none'/>
>> <source file='/dev/mapper/vm_apollo'/>
>> <target dev='vda' bus='ide'/>
>> <alias name='ide0-0-0'/>
>> <address type='drive' controller='0' bus='0' unit='0'/>
>> </disk>
>> <disk type='file' device='cdrom'>
>> <driver name='qemu' type='raw'/>
>> <target dev='hdc' bus='ide'/>
>> <readonly/>
>> <alias name='ide0-1-0'/>
>> <address type='drive' controller='0' bus='1' unit='0'/>
>> </disk>
>> <controller type='ide' index='0'>
>> <alias name='ide0'/>
>> <address type='pci' domain='0x0000' bus='0x00' slot='0x01'
>> function='0x1'/> </controller>
>> <interface type='bridge'>
>> <mac address='52:54:00:d7:bb:08'/>
>> <source bridge='br0'/>
>> <target dev='vnet0'/>
>> <model type='virtio'/>
>> <alias name='net0'/>
>> <address type='pci' domain='0x0000' bus='0x00' slot='0x03'
>> function='0x0'/> </interface>
>> <serial type='pty'>
>> <source path='/dev/pts/1'/>
>> <target port='0'/>
>> <alias name='serial0'/>
>> </serial>
>> <console type='pty' tty='/dev/pts/1'>
>> <source path='/dev/pts/1'/>
>> <target type='serial' port='0'/>
>> <alias name='serial0'/>
>> </console>
>> <input type='tablet' bus='usb'>
>> <alias name='input0'/>
>> </input>
>> <input type='mouse' bus='ps2'/>
>> <graphics type='vnc' port='5900' autoport='yes' keymap='en-us'/>
>> <video>
>> <model type='cirrus' vram='9216' heads='1'/>
>> <alias name='video0'/>
>> <address type='pci' domain='0x0000' bus='0x00' slot='0x02'
>> function='0x0'/> </video>
>> <memballoon model='virtio'>
>> <alias name='balloon0'/>
>> <address type='pci' domain='0x0000' bus='0x00' slot='0x04'
>> function='0x0'/> </memballoon>
>> </devices>
>> </domain>
>>
>>
>> Thanks,
>> Sean--
>> To unsubscribe from this list: send the line "unsubscribe kvm" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Windows XP + Virtio
2012-05-02 14:54 ` Sean Kennedy
@ 2012-05-02 15:55 ` Vadim Rozenfeld
2012-05-03 1:40 ` skennedy
0 siblings, 1 reply; 6+ messages in thread
From: Vadim Rozenfeld @ 2012-05-02 15:55 UTC (permalink / raw)
To: Sean Kennedy; +Cc: kvm
On Wednesday, May 02, 2012 05:54:50 PM Sean Kennedy wrote:
> On May 2, 2012, at 6:56 AM, Vadim Rozenfeld wrote:
> > On Wednesday, May 02, 2012 02:33:49 AM Sean Kennedy wrote:
> >> I am getting crashes (BSoD) when using Virtio for the disk driver in
> >> Windows XP.
> >>
> >> It boots fine, it seems to run okay most of the time, but whenever the
> >> disk begins to get taxed, 9 times out of 10 it will start locking up
> >> then eventually crash with a BSoD about virtio.sys.
> >
> > Hi Sean,
> > Can you tell me the bugcheck code and viostor version?
> > Thank you,
> > Vadim.
>
> I'm using virtio-win-0.1-22, it looks like viostor.sys is version
> 02/13/2012,51.63.103.2200.
>
Could you please try the more recent one, available at
http://people.redhat.com/vrozenfe/build-26/virtio-win-prewhql-0.1.zip ?
> The BSoD is telling me 'IRQL_NOT_LESS_OR_EQUAL'.
>
> >> Here is the environment:
> >>
> >> VM Host is a CentOS 6 server running qemu-kvm-0.12.1.2-2.209 with Kernel
> >> version 2.6.32-220.13.1.el6.x86_64. It's a dual quad-core Xeon with 24
> >> gigs of ram.
> >>
> >> It's connected to backend storage via 2 gigabit ethernet connections. I
> >> have created a raw 20gig LVM block device for this XP machine that is
> >> exported over iSCSI.
> >>
> >> The VM Host is running device-mapper-multipath to utilize both ethernet
> >> connections to the SAN.
> >>
> >> When I run a disk benchmark tool on the XP machine, the ICMP responses
> >> from the box start going through the roof, and even drop off. It
> >> usually bluescreens during the test.
> >>
> >> I have eliminated multipathd and setup the XP virt machine to just use
> >> the iSCSI /dev/disk/by-id/ block directly, and it still behaves this
> >> way.
> >>
> >> If I set the machine to use IDE instead of Virtio, it's certainly
> >> slower, but the machine never crashes and when running I/O benchmarks,
> >> pings stay solid as they should, this is while still using multipathd
> >> and iSCSI to the storage server.
> >>
> >> Have I setup virtio incorrectly? How would you go about finding the
> >> real issue?
> >>
> >> Here is the virt machine's XML (using IDE for disk currently):
> >>
> >> <domain type='kvm' id='12'>
> >>
> >> <name>Apollo</name>
> >> <uuid>d32041b8-853e-e679-edce-2b1f3db55e8a</uuid>
> >> <memory>4194304</memory>
> >> <currentMemory>4194304</currentMemory>
> >> <vcpu>2</vcpu>
> >> <os>
> >>
> >> <type arch='i686' machine='rhel5.4.0'>hvm</type>
> >> <boot dev='hd'/>
> >>
> >> </os>
> >> <features>
> >>
> >> <acpi/>
> >> <apic/>
> >> <pae/>
> >>
> >> </features>
> >> <clock offset='localtime'>
> >>
> >> <timer name='pit' tickpolicy='delay'/>
> >>
> >> </clock>
> >> <on_poweroff>destroy</on_poweroff>
> >> <on_reboot>restart</on_reboot>
> >> <on_crash>restart</on_crash>
> >> <devices>
> >>
> >> <emulator>/usr/libexec/qemu-kvm</emulator>
> >> <disk type='file' device='disk'>
> >>
> >> <driver name='qemu' type='raw' cache='none'/>
> >> <source file='/dev/mapper/vm_apollo'/>
> >> <target dev='vda' bus='ide'/>
> >> <alias name='ide0-0-0'/>
> >> <address type='drive' controller='0' bus='0' unit='0'/>
> >>
> >> </disk>
> >> <disk type='file' device='cdrom'>
> >>
> >> <driver name='qemu' type='raw'/>
> >> <target dev='hdc' bus='ide'/>
> >> <readonly/>
> >> <alias name='ide0-1-0'/>
> >> <address type='drive' controller='0' bus='1' unit='0'/>
> >>
> >> </disk>
> >> <controller type='ide' index='0'>
> >>
> >> <alias name='ide0'/>
> >> <address type='pci' domain='0x0000' bus='0x00' slot='0x01'
> >>
> >> function='0x1'/> </controller>
> >>
> >> <interface type='bridge'>
> >>
> >> <mac address='52:54:00:d7:bb:08'/>
> >> <source bridge='br0'/>
> >> <target dev='vnet0'/>
> >> <model type='virtio'/>
> >> <alias name='net0'/>
> >> <address type='pci' domain='0x0000' bus='0x00' slot='0x03'
> >>
> >> function='0x0'/> </interface>
> >>
> >> <serial type='pty'>
> >>
> >> <source path='/dev/pts/1'/>
> >> <target port='0'/>
> >> <alias name='serial0'/>
> >>
> >> </serial>
> >> <console type='pty' tty='/dev/pts/1'>
> >>
> >> <source path='/dev/pts/1'/>
> >> <target type='serial' port='0'/>
> >> <alias name='serial0'/>
> >>
> >> </console>
> >> <input type='tablet' bus='usb'>
> >>
> >> <alias name='input0'/>
> >>
> >> </input>
> >> <input type='mouse' bus='ps2'/>
> >> <graphics type='vnc' port='5900' autoport='yes' keymap='en-us'/>
> >> <video>
> >>
> >> <model type='cirrus' vram='9216' heads='1'/>
> >> <alias name='video0'/>
> >> <address type='pci' domain='0x0000' bus='0x00' slot='0x02'
> >>
> >> function='0x0'/> </video>
> >>
> >> <memballoon model='virtio'>
> >>
> >> <alias name='balloon0'/>
> >> <address type='pci' domain='0x0000' bus='0x00' slot='0x04'
> >>
> >> function='0x0'/> </memballoon>
> >>
> >> </devices>
> >>
> >> </domain>
> >>
> >>
> >> Thanks,
> >> Sean--
> >> To unsubscribe from this list: send the line "unsubscribe kvm" in
> >> the body of a message to majordomo@vger.kernel.org
> >> More majordomo info at http://vger.kernel.org/majordomo-info.html
> >
> > --
> > To unsubscribe from this list: send the line "unsubscribe kvm" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Windows XP + Virtio
2012-05-02 15:55 ` Vadim Rozenfeld
@ 2012-05-03 1:40 ` skennedy
0 siblings, 0 replies; 6+ messages in thread
From: skennedy @ 2012-05-03 1:40 UTC (permalink / raw)
To: Vadim Rozenfeld; +Cc: kvm
> On Wednesday, May 02, 2012 05:54:50 PM Sean Kennedy wrote:
>> On May 2, 2012, at 6:56 AM, Vadim Rozenfeld wrote:
>> > On Wednesday, May 02, 2012 02:33:49 AM Sean Kennedy wrote:
>> >> I am getting crashes (BSoD) when using Virtio for the disk driver in
>> >> Windows XP.
>> >>
>> >> It boots fine, it seems to run okay most of the time, but whenever
>> the
>> >> disk begins to get taxed, 9 times out of 10 it will start locking up
>> >> then eventually crash with a BSoD about virtio.sys.
>> >
>> > Hi Sean,
>> > Can you tell me the bugcheck code and viostor version?
>> > Thank you,
>> > Vadim.
>>
>> I'm using virtio-win-0.1-22, it looks like viostor.sys is version
>> 02/13/2012,51.63.103.2200.
>>
>
> Could you please try the more recent one, available at
> http://people.redhat.com/vrozenfe/build-26/virtio-win-prewhql-0.1.zip ?
This version seems to be working just fine. ICMP doesn't go through the
roof during high I/O and so far no BSoDs. Hopefully these newer drivers
are put on the KVM wiki soon ;)
Thanks!
>
>> The BSoD is telling me 'IRQL_NOT_LESS_OR_EQUAL'.
>>
>> >> Here is the environment:
>> >>
>> >> VM Host is a CentOS 6 server running qemu-kvm-0.12.1.2-2.209 with
>> Kernel
>> >> version 2.6.32-220.13.1.el6.x86_64. It's a dual quad-core Xeon with
>> 24
>> >> gigs of ram.
>> >>
>> >> It's connected to backend storage via 2 gigabit ethernet connections.
>> I
>> >> have created a raw 20gig LVM block device for this XP machine that is
>> >> exported over iSCSI.
>> >>
>> >> The VM Host is running device-mapper-multipath to utilize both
>> ethernet
>> >> connections to the SAN.
>> >>
>> >> When I run a disk benchmark tool on the XP machine, the ICMP
>> responses
>> >> from the box start going through the roof, and even drop off. It
>> >> usually bluescreens during the test.
>> >>
>> >> I have eliminated multipathd and setup the XP virt machine to just
>> use
>> >> the iSCSI /dev/disk/by-id/ block directly, and it still behaves this
>> >> way.
>> >>
>> >> If I set the machine to use IDE instead of Virtio, it's certainly
>> >> slower, but the machine never crashes and when running I/O
>> benchmarks,
>> >> pings stay solid as they should, this is while still using multipathd
>> >> and iSCSI to the storage server.
>> >>
>> >> Have I setup virtio incorrectly? How would you go about finding the
>> >> real issue?
>> >>
>> >> Here is the virt machine's XML (using IDE for disk currently):
>> >>
>> >> <domain type='kvm' id='12'>
>> >>
>> >> <name>Apollo</name>
>> >> <uuid>d32041b8-853e-e679-edce-2b1f3db55e8a</uuid>
>> >> <memory>4194304</memory>
>> >> <currentMemory>4194304</currentMemory>
>> >> <vcpu>2</vcpu>
>> >> <os>
>> >>
>> >> <type arch='i686' machine='rhel5.4.0'>hvm</type>
>> >> <boot dev='hd'/>
>> >>
>> >> </os>
>> >> <features>
>> >>
>> >> <acpi/>
>> >> <apic/>
>> >> <pae/>
>> >>
>> >> </features>
>> >> <clock offset='localtime'>
>> >>
>> >> <timer name='pit' tickpolicy='delay'/>
>> >>
>> >> </clock>
>> >> <on_poweroff>destroy</on_poweroff>
>> >> <on_reboot>restart</on_reboot>
>> >> <on_crash>restart</on_crash>
>> >> <devices>
>> >>
>> >> <emulator>/usr/libexec/qemu-kvm</emulator>
>> >> <disk type='file' device='disk'>
>> >>
>> >> <driver name='qemu' type='raw' cache='none'/>
>> >> <source file='/dev/mapper/vm_apollo'/>
>> >> <target dev='vda' bus='ide'/>
>> >> <alias name='ide0-0-0'/>
>> >> <address type='drive' controller='0' bus='0' unit='0'/>
>> >>
>> >> </disk>
>> >> <disk type='file' device='cdrom'>
>> >>
>> >> <driver name='qemu' type='raw'/>
>> >> <target dev='hdc' bus='ide'/>
>> >> <readonly/>
>> >> <alias name='ide0-1-0'/>
>> >> <address type='drive' controller='0' bus='1' unit='0'/>
>> >>
>> >> </disk>
>> >> <controller type='ide' index='0'>
>> >>
>> >> <alias name='ide0'/>
>> >> <address type='pci' domain='0x0000' bus='0x00' slot='0x01'
>> >>
>> >> function='0x1'/> </controller>
>> >>
>> >> <interface type='bridge'>
>> >>
>> >> <mac address='52:54:00:d7:bb:08'/>
>> >> <source bridge='br0'/>
>> >> <target dev='vnet0'/>
>> >> <model type='virtio'/>
>> >> <alias name='net0'/>
>> >> <address type='pci' domain='0x0000' bus='0x00' slot='0x03'
>> >>
>> >> function='0x0'/> </interface>
>> >>
>> >> <serial type='pty'>
>> >>
>> >> <source path='/dev/pts/1'/>
>> >> <target port='0'/>
>> >> <alias name='serial0'/>
>> >>
>> >> </serial>
>> >> <console type='pty' tty='/dev/pts/1'>
>> >>
>> >> <source path='/dev/pts/1'/>
>> >> <target type='serial' port='0'/>
>> >> <alias name='serial0'/>
>> >>
>> >> </console>
>> >> <input type='tablet' bus='usb'>
>> >>
>> >> <alias name='input0'/>
>> >>
>> >> </input>
>> >> <input type='mouse' bus='ps2'/>
>> >> <graphics type='vnc' port='5900' autoport='yes' keymap='en-us'/>
>> >> <video>
>> >>
>> >> <model type='cirrus' vram='9216' heads='1'/>
>> >> <alias name='video0'/>
>> >> <address type='pci' domain='0x0000' bus='0x00' slot='0x02'
>> >>
>> >> function='0x0'/> </video>
>> >>
>> >> <memballoon model='virtio'>
>> >>
>> >> <alias name='balloon0'/>
>> >> <address type='pci' domain='0x0000' bus='0x00' slot='0x04'
>> >>
>> >> function='0x0'/> </memballoon>
>> >>
>> >> </devices>
>> >>
>> >> </domain>
>> >>
>> >>
>> >> Thanks,
>> >> Sean--
>> >> To unsubscribe from this list: send the line "unsubscribe kvm" in
>> >> the body of a message to majordomo@vger.kernel.org
>> >> More majordomo info at http://vger.kernel.org/majordomo-info.html
>> >
>> > --
>> > To unsubscribe from this list: send the line "unsubscribe kvm" in
>> > the body of a message to majordomo@vger.kernel.org
>> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Windows XP + Virtio
2012-05-01 23:33 Windows XP + Virtio Sean Kennedy
2012-05-02 12:56 ` Vadim Rozenfeld
@ 2012-05-19 18:01 ` Gordon Messmer
1 sibling, 0 replies; 6+ messages in thread
From: Gordon Messmer @ 2012-05-19 18:01 UTC (permalink / raw)
To: kvm
On 05/01/2012 04:33 PM, Sean Kennedy wrote:
> I am getting crashes (BSoD) when using Virtio for the disk driver in Windows XP.
I was getting the same thing on Windows Server 2008 guests. The systems
would crash and some of them corrupted their filesystems pretty badly.
I ended up reverting to running them with IDE emulation so that the
virtio block driver wasn't used.
The odd thing was that I benchmarked disk IO using iozone and found that
there was no consistent behavior difference between virtio and emulated
IDE. In fact, emulated IDE sometimes performed better than virtio.
Who else is benchmarking the virtio block devices to see what
performance benefits they provide? What's the best way for users to
measure the difference between the two block IO systems?
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-05-19 18:06 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-01 23:33 Windows XP + Virtio Sean Kennedy
2012-05-02 12:56 ` Vadim Rozenfeld
2012-05-02 14:54 ` Sean Kennedy
2012-05-02 15:55 ` Vadim Rozenfeld
2012-05-03 1:40 ` skennedy
2012-05-19 18:01 ` Gordon Messmer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).