Discussion:
VirtIO Net driver for Ubuntu 11.10
Charles.Tsai-蔡清海-研究發展部
2012-06-04 05:31:12 UTC
Permalink
We recently ran an Ubuntu 11.10 VM which was installed with VirtIO NIC driver. The VirtIO net driver came from the Ubuntu's default package. The VM we installed was configured as a bridge mode. When we ran the Iperf test against the VM, the network interface of the VM was fairly unstable. Sometimes, the network interface of the VM could not receive the packets and we needed to bright the network interface down and up in order to make it work. After we replaced the VirtIo Net driver with ne2k driver and it worked quite stably now.

We know that the performance of virtIO is much better than ne2k in virtual environment. We would like to use virtio driver instead. If this is the virtio driver issue, can you tell us where to get the latest virtIO driver for Ubuntu VM? Otherwise, tell us how to make the virtio net driver work in Ubuntu VM if you have ever had similar issue before.

The version of Qemu
mathslinux
2012-06-04 06:02:34 UTC
Permalink
Post by Charles.Tsai-蔡清海-研究發展部
We recently ran an Ubuntu 11.10 VM which was installed with VirtIO NIC driver. The VirtIO net driver came from the Ubuntu's default package. The VM we installed was configured as a bridge mode. When we ran the Iperf test against the VM, the network interface of the VM was fairly unstable. Sometimes, the network interface of the VM could not receive the packets and we needed to bright the network interface down and up in order to make it work. After we replaced the VirtIo Net driver with ne2k driver and it worked quite stably now.
We know that the performance of virtIO is much better than ne2k in virtual environment. We would like to use virtio driver instead. If this is the virtio driver issue, can you tell us where to get the latest virtIO driver for Ubuntu VM? Otherwise, tell us how to make the virtio net driver work in Ubuntu VM if you have ever had similar issue before.
The version of Qemu installed in Ubuntu is 0.14.1.
The virtio driver is implemented in the guest operating system, it's a
kernel module, so what is your kernel version? Maybe you need a kernel
of higher version.
--
linuxer, emacser and pythoner living in beijing
blog: http://mathslinux.org
twitter: https://twitter.com/mathslinux
google+: https://plus.google.com/118129852578326338750
Charles.Tsai-蔡清海-研究發展部
2012-06-04 06:07:58 UTC
Permalink
The kernel version is 3.0.0.12
The Qemu version is 1.0.0(we upgraded it)

What version of kernel do we need to upgrade?

-----Original Message-----
From: mathslinux [mailto:***@gmail.com]
Sent: Monday, June 04, 2012 2:03 PM
To: Charles.Tsai-蔡清海-研究發展部
Cc: qemu-***@nongnu.org
Subject: Re: [Qemu-devel] VirtIO Net driver for Ubuntu 11.10
Post by Charles.Tsai-蔡清海-研究發展部
We recently ran an Ubuntu 11.10 VM which was installed with VirtIO NIC driver. The VirtIO net driver came from the Ubuntu's default package. The VM we installed was configured as a bridge mode. When we ran the Iperf test against the VM, the network interface of the VM was fairly unstable. Sometimes, the network interface of the VM could not receive the packets and we needed to bright the network interface down and up in order to make it work. After we replaced the VirtIo Net driver with ne2k driver and it worked quite stably now.
We know that the performance of virtIO is much better than ne2k in virtual environment. We would like to use virtio driver instead. If this is the virtio driver issue, can you tell us where to get the latest virtIO driver for Ubuntu VM? Otherwise, tell us how to make the virtio net driver work in Ubuntu VM if you have ever had similar issue before.
The version of Qemu installed in Ubuntu is 0.14.1.
The virtio driver is implemented in the guest operating system, it's a kernel module, so what is your kernel version? Maybe you need a kernel of higher version.
--
linuxer, emacser and pythoner living in beijing
blog: http://mathslinux.org
twitter: https://twitter.com/mathslinux
google+: https:/
Dunrong Huang
2012-06-04 06:17:17 UTC
Permalink
Post by Charles.Tsai-蔡清海-研究發展部
The kernel version is 3.0.0.12
The Qemu version is 1.0.0(we upgraded it)
What version of kernel do we need to upgrade?
The latest version is v3.4, so you can try and upgrade to v3.1, v3.2
or v3.3, and test
it.
Post by Charles.Tsai-蔡清海-研究發展部
-----Original Message-----
Sent: Monday, June 04, 2012 2:03 PM
To: Charles.Tsai-���庣-�о��lչ��
Subject: Re: [Qemu-devel] VirtIO Net driver for Ubuntu 11.10
Post by Charles.Tsai-蔡清海-研究發展部
We recently ran an Ubuntu 11.10 VM which was installed with VirtIO NIC driver. The VirtIO net driver came from the Ubuntu's default package. The VM we installed was configured as a bridge mode. When we ran the Iperf test against the VM, the network interface of the VM was fairly unstable. Sometimes, the network interface of the VM could not receive the packets and we needed to bright the network interface down and up in order to make it work. After we replaced the VirtIo Net driver with ne2k driver and it worked quite stably now.
We know that the performance of virtIO is much better than ne2k in virtual environment. We would like to use virtio driver instead. If this is the virtio driver issue, can you tell us where to get the latest virtIO driver for Ubuntu VM? Otherwise, tell us how to make the virtio net driver work in Ubuntu VM if you have ever had similar issue before.
The version of Qemu installed in Ubuntu is 0.14.1.
The virtio driver is implemented in the guest operating system, it's a kernel module, so what is your kernel version? Maybe you need a kernel of higher version.
--
linuxer and emacser and pythoner living in beijing
blog: http://mathslinux.org
twitter: https://twitter.com/mathslinux
google+: https://plus.google.com/118129852578326338750
Dunrong Huang
2012-06-04 06:18:27 UTC
Permalink
Post by Dunrong Huang
Post by Charles.Tsai-蔡清海-研究發展部
The kernel version is 3.0.0.12
The Qemu version is 1.0.0(we upgraded it)
What version of kernel do we need to upgrade?
The latest version is v3.4, so you can try and upgrade to v3.1, v3.2
or v3.3, and test
it.
Or upgrade your ubuntu VM.
Post by Dunrong Huang
Post by Charles.Tsai-蔡清海-研究發展部
-----Original Message-----
Sent: Monday, June 04, 2012 2:03 PM
To: Charles.Tsai-���庣-�о��lչ��
Subject: Re: [Qemu-devel] VirtIO Net driver for Ubuntu 11.10
Post by Charles.Tsai-蔡清海-研究發展部
We recently ran an Ubuntu 11.10 VM which was installed with VirtIO NIC driver. The VirtIO net driver came from the Ubuntu's default package. The VM we installed was configured as a bridge mode. When we ran the Iperf test against the VM, the network interface of the VM was fairly unstable. Sometimes, the network interface of the VM could not receive the packets and we needed to bright the network interface down and up in order to make it work. After we replaced the VirtIo Net driver with ne2k driver and it worked quite stably now.
We know that the performance of virtIO is much better than ne2k in virtual environment. We would like to use virtio driver instead. If this is the virtio driver issue, can you tell us where to get the latest virtIO driver for Ubuntu VM? Otherwise, tell us how to make the virtio net driver work in Ubuntu VM if you have ever had similar issue before.
The version of Qemu installed in Ubuntu is 0.14.1.
The virtio driver is implemented in the guest operating system, it's a kernel module, so what is your kernel version? Maybe you need a kernel of higher version.
--
linuxer, emacser and pythoner living in beijing
blog: http://mathslinux.org
twitter: https://twitter.com/mathslinux
google+: https://plus.google.com/118129852578326338750
Charles.Tsai-蔡清海-研究發展部
2012-06-04 06:21:30 UTC
Permalink
I am just curious about this issue. Is there any document mentioning the lowest version of the kernel to be supported by VirtIO?


-----Original Message-----
From: Dunrong Huang [mailto:***@gmail.com]
Sent: Monday, June 04, 2012 2:17 PM
To: Charles.Tsai-蔡清海-研究發展部
Cc: qemu-***@nongnu.org
Subject: Re: [Qemu-devel] VirtIO Net driver for Ubuntu 11.10
Post by Charles.Tsai-蔡清海-研究發展部
The kernel version is 3.0.0.12
The Qemu version is 1.0.0(we upgraded it)
What version of kernel do we need to upgrade?
The latest version is v3.4, so you can try and upgrade to v3.1, v3.2 or v3.3, and test it.
Post by Charles.Tsai-蔡清海-研究發展部
-----Original Message-----
Sent: Monday, June 04, 2012 2:03 PM
To: Charles.Tsai-蔡清海-研究發展部
Subject: Re: [Qemu-devel] VirtIO Net driver for Ubuntu 11.10
Post by Charles.Tsai-蔡清海-研究發展部
We recently ran an Ubuntu 11.10 VM which was installed with VirtIO NIC driver. The VirtIO net driver came from the Ubuntu's default package. The VM we installed was configured as a bridge mode. When we ran the Iperf test against the VM, the network interface of the VM was fairly unstable. Sometimes, the network interface of the VM could not receive the packets and we needed to bright the network interface down and up in order to make it work. After we replaced the VirtIo Net driver with ne2k driver and it worked quite stably now.
We know that the performance of virtIO is much better than ne2k in virtual environment. We would like to use virtio driver instead. If this is the virtio driver issue, can you tell us where to get the latest virtIO driver for Ubuntu VM? Otherwise, tell us how to make the virtio net driver work in Ubuntu VM if you have ever had similar issue before.
The version of Qemu installed in Ubuntu is 0.14.1.
The virtio driver is implemented in the guest operating system, it's a kernel module, so what is your kernel version? Maybe you need a kernel of higher version.
--
linuxer and emacser and pythoner living in beijing
blog: http://mathslinux.org
twitter: https://twitter.com/mathslinux
google+: https://plu
Dunrong Huang
2012-06-04 06:25:39 UTC
Permalink
Post by Charles.Tsai-蔡清海-研究發展部
I am just curious about this issue. Is there any document mentioning the lowest version of the kernel to be supported by VirtIO?
See http://www.linux-kvm.org/page/Virtio
Post by Charles.Tsai-蔡清海-研究發展部
-----Original Message-----
Sent: Monday, June 04, 2012 2:17 PM
To: Charles.Tsai-���庣-�о��lչ��
Subject: Re: [Qemu-devel] VirtIO Net driver for Ubuntu 11.10
Post by Charles.Tsai-蔡清海-研究發展部
The kernel version is 3.0.0.12
The Qemu version is 1.0.0(we upgraded it)
What version of kernel do we need to upgrade?
The latest version is v3.4, so you can try and upgrade to v3.1, v3.2 or v3.3, and test it.
Post by Charles.Tsai-蔡清海-研究發展部
-----Original Message-----
Sent: Monday, June 04, 2012 2:03 PM
To: Charles.Tsai-���庣-�о��lչ��
Subject: Re: [Qemu-devel] VirtIO Net driver for Ubuntu 11.10
Post by Charles.Tsai-蔡清海-研究發展部
We recently ran an Ubuntu 11.10 VM which was installed with VirtIO NIC driver. The VirtIO net driver came from the Ubuntu's default package. The VM we installed was configured as a bridge mode. When we ran the Iperf test against the VM, the network interface of the VM was fairly unstable. Sometimes, the network interface of the VM could not receive the packets and we needed to bright the network interface down and up in order to make it work. After we replaced the VirtIo Net driver with ne2k driver and it worked quite stably now.
We know that the performance of virtIO is much better than ne2k in virtual environment. We would like to use virtio driver instead. If this is the virtio driver issue, can you tell us where to get the latest virtIO driver for Ubuntu VM? Otherwise, tell us how to make the virtio net driver work in Ubuntu VM if you have ever had similar issue before.
The version of Qemu installed in Ubuntu is 0.14.1.
The virtio driver is implemented in the guest operating system, it's a kernel module, so what is your kernel version? Maybe you need a kernel of higher version.
--
linuxer and emacser and pythoner living in beijing
blog: http://mathslinux.org
twitter: https://twitter.com/mathslinux
google+: https://plus.google.com/118129852578326338750
Charles.Tsai-蔡清海-研究發展部
2012-06-04 06:27:44 UTC
Permalink
Yes, I saw that page too. But our current kernel version meets the kernel requirement.
Why do we need to upgrade it?

-----Original Message-----
From: Dunrong Huang [mailto:***@gmail.com]
Sent: Monday, June 04, 2012 2:26 PM
To: Charles.Tsai-蔡清海-研究發展部
Cc: qemu-***@nongnu.org
Subject: Re: [Qemu-devel] VirtIO Net driver for Ubuntu 11.10
Post by Charles.Tsai-蔡清海-研究發展部
I am just curious about this issue. Is there any document mentioning the lowest version of the kernel to be supported by VirtIO?
See http://www.linux-kvm.org/page/Virtio
Post by Charles.Tsai-蔡清海-研究發展部
-----Original Message-----
Sent: Monday, June 04, 2012 2:17 PM
To: Charles.Tsai-蔡清海-研究發展部
Subject: Re: [Qemu-devel] VirtIO Net driver for Ubuntu 11.10
Post by Charles.Tsai-蔡清海-研究發展部
The kernel version is 3.0.0.12
The Qemu version is 1.0.0(we upgraded it)
What version of kernel do we need to upgrade?
The latest version is v3.4, so you can try and upgrade to v3.1, v3.2 or v3.3, and test it.
Post by Charles.Tsai-蔡清海-研究發展部
-----Original Message-----
Sent: Monday, June 04, 2012 2:03 PM
To: Charles.Tsai-蔡清海-研究發展部
Subject: Re: [Qemu-devel] VirtIO Net driver for Ubuntu 11.10
Post by Charles.Tsai-蔡清海-研究發展部
We recently ran an Ubuntu 11.10 VM which was installed with VirtIO NIC driver. The VirtIO net driver came from the Ubuntu's default package. The VM we installed was configured as a bridge mode. When we ran the Iperf test against the VM, the network interface of the VM was fairly unstable. Sometimes, the network interface of the VM could not receive the packets and we needed to bright the network interface down and up in order to make it work. After we replaced the VirtIo Net driver with ne2k driver and it worked quite stably now.
We know that the performance of virtIO is much better than ne2k in virtual environment. We would like to use virtio driver instead. If this is the virtio driver issue, can you tell us where to get the latest virtIO driver for Ubuntu VM? Otherwise, tell us how to make the virtio net driver work in Ubuntu VM if you have ever had similar issue before.
The version of Qemu installed in Ubuntu is 0.14.1.
The virtio driver is implemented in the guest operating system, it's a kernel module, so what is your kernel version? Maybe you need a kernel of higher version.
--
linuxer and emacser and pythoner living in beijing
blog: http://mathslinux.org
twitter: https://twitter.com/mathslinux
google+: https
Dunrong Huang
2012-06-04 06:34:01 UTC
Permalink
Post by Charles.Tsai-蔡清海-研究發展部
Yes, I saw that page too. But our current kernel version meets the kernel requirement.
Why do we need to upgrade it?
I mean maybe the virtio drivers you installed in your VM is unstable.
Virtio is implemented
as a kernel module, so if you upgrade your kernel, maybe this problem
can be fixed.

It's just a suggestion.
Post by Charles.Tsai-蔡清海-研究發展部
-----Original Message-----
Sent: Monday, June 04, 2012 2:26 PM
To: Charles.Tsai-���庣-�о��lչ��
Subject: Re: [Qemu-devel] VirtIO Net driver for Ubuntu 11.10
Post by Charles.Tsai-蔡清海-研究發展部
I am just curious about this issue. Is there any document mentioning the lowest version of the kernel to be supported by VirtIO?
See http://www.linux-kvm.org/page/Virtio
Post by Charles.Tsai-蔡清海-研究發展部
-----Original Message-----
Sent: Monday, June 04, 2012 2:17 PM
To: Charles.Tsai-���庣-�о��lչ��
Subject: Re: [Qemu-devel] VirtIO Net driver for Ubuntu 11.10
Post by Charles.Tsai-蔡清海-研究發展部
The kernel version is 3.0.0.12
The Qemu version is 1.0.0(we upgraded it)
What version of kernel do we need to upgrade?
The latest version is v3.4, so you can try and upgrade to v3.1, v3.2 or v3.3, and test it.
Post by Charles.Tsai-蔡清海-研究發展部
-----Original Message-----
Sent: Monday, June 04, 2012 2:03 PM
To: Charles.Tsai-���庣-�о��lչ��
Subject: Re: [Qemu-devel] VirtIO Net driver for Ubuntu 11.10
Post by Charles.Tsai-蔡清海-研究發展部
We recently ran an Ubuntu 11.10 VM which was installed with VirtIO NIC driver. The VirtIO net driver came from the Ubuntu's default package. The VM we installed was configured as a bridge mode. When we ran the Iperf test against the VM, the network interface of the VM was fairly unstable. Sometimes, the network interface of the VM could not receive the packets and we needed to bright the network interface down and up in order to make it work. After we replaced the VirtIo Net driver with ne2k driver and it worked quite stably now.
We know that the performance of virtIO is much better than ne2k in virtual environment. We would like to use virtio driver instead. If this is the virtio driver issue, can you tell us where to get the latest virtIO driver for Ubuntu VM? Otherwise, tell us how to make the virtio net driver work in Ubuntu VM if you have ever had similar issue before.
The version of Qemu installed in Ubuntu is 0.14.1.
The virtio driver is implemented in the guest operating system, it's a kernel module, so what is your kernel version? Maybe you need a kernel of higher version.
--
linuxer and emacser and pythoner living in beijing
blog: http://mathslinux.org
twitter: https://twitter.com/mathslinux
google+: https://plus.google.com/118129852578326338750
Loading...