* how increase performance of network io in kvm
@ 2008-03-10 18:58 Dhirendra Pal Singh
2008-03-10 19:13 ` Jorge Lucángeli Obes
[not found] ` <90eb1dc70803101209m3b9b23fbhd3959b740b6a8d7f@mail.gmail.com>
0 siblings, 2 replies; 12+ messages in thread
From: Dhirendra Pal Singh @ 2008-03-10 18:58 UTC (permalink / raw)
To: kvm-devel
[-- Attachment #1.1: Type: text/plain, Size: 1106 bytes --]
Hi Guys,
I am trying to evaluate, kvm at my work for virtual support in our product..
I had setup up a windows guest, in my ubuntu host, on hardware with Intel VT
support.
Now when I try to download a 1 GB file present, inside windows virtual
machine, using samba, from a another linux box, I get the following...
a) time when coping from windows in kvm
linux:~/tmp # time cp /media/hdisk/1GB_text.txt .
real 6m36.478s
user 0m0.060s
sys 0m8.293s
linux:~/tmp #
b) time when coping from linux native..
linux:~/tmp/tmp # time cp /media/hdisk/1GB_text .
real 0m49.501s
user 0m0.040s
sys 0m8.657s
linux:~/tmp/tmp #
So its like 50second (linux native) Vs 6+minutes(windows guest in KVM),
which is huge.
This is using user based networking, where I am just forwarding all the
netbios ports from host to guest.
Are there any links, pointers, faqs, ideas , suggestions I could try out to
increase the performance of this kvm virtual machine? Will using public
bridge (option 3), as described on page
http://kvm.qumranet.com/kvmwiki/Networking help?
--
Thanks
/dev/deep
[-- Attachment #1.2: Type: text/html, Size: 1515 bytes --]
[-- Attachment #2: Type: text/plain, Size: 228 bytes --]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
[-- Attachment #3: Type: text/plain, Size: 158 bytes --]
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: how increase performance of network io in kvm 2008-03-10 18:58 how increase performance of network io in kvm Dhirendra Pal Singh @ 2008-03-10 19:13 ` Jorge Lucángeli Obes 2008-03-10 19:20 ` Dhirendra Pal Singh 2008-03-10 22:37 ` Dor Laor [not found] ` <90eb1dc70803101209m3b9b23fbhd3959b740b6a8d7f@mail.gmail.com> 1 sibling, 2 replies; 12+ messages in thread From: Jorge Lucángeli Obes @ 2008-03-10 19:13 UTC (permalink / raw) To: Dhirendra Pal Singh; +Cc: kvm-devel On Mon, Mar 10, 2008 at 11:58 AM, Dhirendra Pal Singh <dpal.singh@gmail.com> wrote: > Hi Guys, > > I am trying to evaluate, kvm at my work for virtual support in our product.. > > I had setup up a windows guest, in my ubuntu host, on hardware with Intel VT > support. > > Now when I try to download a 1 GB file present, inside windows virtual > machine, using samba, from a another linux box, I get the following... > > > a) time when coping from windows in kvm > > linux:~/tmp # time cp /media/hdisk/1GB_text.txt . > > real 6m36.478s > > user 0m0.060s > > sys 0m8.293s > > linux:~/tmp # > > > b) time when coping from linux native.. > > linux:~/tmp/tmp # time cp /media/hdisk/1GB_text . > > real 0m49.501s > > user 0m0.040s > > sys 0m8.657s > > linux:~/tmp/tmp # > > > So its like 50second (linux native) Vs 6+minutes(windows guest in KVM), > which is huge. > > This is using user based networking, where I am just forwarding all the > netbios ports from host to guest. > > Are there any links, pointers, faqs, ideas , suggestions I could try out to > increase the performance of this kvm virtual machine? Will using public > bridge (option 3), as described on page > http://kvm.qumranet.com/kvmwiki/Networking help? Most probably. When I was trying VMGL (http://www.cs.toronto.edu/~andreslc/xen-gl/) in KVM I got a 20-fold increase in performance when I switched from usermode networking to the tap/bridge approach. Definitely try it. I assume you are forced to use a Windows guest, but if not you might also want to try virtio (http://kvm.qumranet.com/kvmwiki/Virtio). ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: how increase performance of network io in kvm 2008-03-10 19:13 ` Jorge Lucángeli Obes @ 2008-03-10 19:20 ` Dhirendra Pal Singh 2008-03-10 22:37 ` Dor Laor 1 sibling, 0 replies; 12+ messages in thread From: Dhirendra Pal Singh @ 2008-03-10 19:20 UTC (permalink / raw) To: Jorge Lucángeli Obes; +Cc: kvm-devel [-- Attachment #1.1: Type: text/plain, Size: 2230 bytes --] Thanks for the tip.. okay.. I am going to set up the public bridge in that case.. and see what can I do.. Yes I am being forced to use windows guest... :( I am a die hard linux fan and hasn't used windows for almost 3 -4 years now.. Will update you guys again after I do the test.. Thanks for a quick reply.. Regards /dev/deep On Mon, Mar 10, 2008 at 12:13 PM, Jorge Lucángeli Obes <t4m5yn@gmail.com> wrote: > On Mon, Mar 10, 2008 at 11:58 AM, Dhirendra Pal Singh > <dpal.singh@gmail.com> wrote: > > Hi Guys, > > > > I am trying to evaluate, kvm at my work for virtual support in our > product.. > > > > I had setup up a windows guest, in my ubuntu host, on hardware with > Intel VT > > support. > > > > Now when I try to download a 1 GB file present, inside windows virtual > > machine, using samba, from a another linux box, I get the following... > > > > > > a) time when coping from windows in kvm > > > > linux:~/tmp # time cp /media/hdisk/1GB_text.txt . > > > > real 6m36.478s > > > > user 0m0.060s > > > > sys 0m8.293s > > > > linux:~/tmp # > > > > > > b) time when coping from linux native.. > > > > linux:~/tmp/tmp # time cp /media/hdisk/1GB_text . > > > > real 0m49.501s > > > > user 0m0.040s > > > > sys 0m8.657s > > > > linux:~/tmp/tmp # > > > > > > So its like 50second (linux native) Vs 6+minutes(windows guest in KVM), > > which is huge. > > > > This is using user based networking, where I am just forwarding all the > > netbios ports from host to guest. > > > > Are there any links, pointers, faqs, ideas , suggestions I could try > out to > > increase the performance of this kvm virtual machine? Will using public > > bridge (option 3), as described on page > > http://kvm.qumranet.com/kvmwiki/Networking help? > > Most probably. When I was trying VMGL > (http://www.cs.toronto.edu/~andreslc/xen-gl/<http://www.cs.toronto.edu/%7Eandreslc/xen-gl/>) > in KVM I got a 20-fold > increase in performance when I switched from usermode networking to > the tap/bridge approach. Definitely try it. I assume you are forced to > use a Windows guest, but if not you might also want to try virtio > (http://kvm.qumranet.com/kvmwiki/Virtio). > -- Thanks Dp [The force is feminine in nature] [-- Attachment #1.2: Type: text/html, Size: 3134 bytes --] [-- Attachment #2: Type: text/plain, Size: 228 bytes --] ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ [-- Attachment #3: Type: text/plain, Size: 158 bytes --] _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: how increase performance of network io in kvm 2008-03-10 19:13 ` Jorge Lucángeli Obes 2008-03-10 19:20 ` Dhirendra Pal Singh @ 2008-03-10 22:37 ` Dor Laor 2008-03-11 15:07 ` Javier Guerra 2008-03-11 20:58 ` Dhirendra Pal Singh 1 sibling, 2 replies; 12+ messages in thread From: Dor Laor @ 2008-03-10 22:37 UTC (permalink / raw) To: Jorge Lucángeli Obes; +Cc: kvm-devel, Dhirendra Pal Singh On Mon, 2008-03-10 at 12:13 -0700, Jorge Lucángeli Obes wrote: > On Mon, Mar 10, 2008 at 11:58 AM, Dhirendra Pal Singh > <dpal.singh@gmail.com> wrote: > > Hi Guys, > > > > I am trying to evaluate, kvm at my work for virtual support in our product.. > > > > I had setup up a windows guest, in my ubuntu host, on hardware with Intel VT > > support. > > > > Now when I try to download a 1 GB file present, inside windows virtual > > machine, using samba, from a another linux box, I get the following... > > > > > > a) time when coping from windows in kvm > > > > linux:~/tmp # time cp /media/hdisk/1GB_text.txt . > > > > real 6m36.478s > > > > user 0m0.060s > > > > sys 0m8.293s > > > > linux:~/tmp # > > > > > > b) time when coping from linux native.. > > > > linux:~/tmp/tmp # time cp /media/hdisk/1GB_text . > > > > real 0m49.501s > > > > user 0m0.040s > > > > sys 0m8.657s > > > > linux:~/tmp/tmp # > > > > > > So its like 50second (linux native) Vs 6+minutes(windows guest in KVM), > > which is huge. > > > > This is using user based networking, where I am just forwarding all the > > netbios ports from host to guest. > > > > Are there any links, pointers, faqs, ideas , suggestions I could try out to > > increase the performance of this kvm virtual machine? Will using public > > bridge (option 3), as described on page > > http://kvm.qumranet.com/kvmwiki/Networking help? > > Most probably. When I was trying VMGL > (http://www.cs.toronto.edu/~andreslc/xen-gl/) in KVM I got a 20-fold > increase in performance when I switched from usermode networking to > the tap/bridge approach. Definitely try it. I assume you are forced to > use a Windows guest, but if not you might also want to try virtio > (http://kvm.qumranet.com/kvmwiki/Virtio). > We published virtio network drivers for Linux but not yet for Windows. Our virtio drivers for windows are almost done (for rev#1), we'll surely release the binaries for them. In the mean time you can use e1000 nic device & driver. It has the best results among the emulated devices and even close to virtio performance. Regards, Dor ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: how increase performance of network io in kvm 2008-03-10 22:37 ` Dor Laor @ 2008-03-11 15:07 ` Javier Guerra 2008-03-11 20:58 ` Dhirendra Pal Singh 1 sibling, 0 replies; 12+ messages in thread From: Javier Guerra @ 2008-03-11 15:07 UTC (permalink / raw) To: dor.laor; +Cc: kvm-devel, Dhirendra Pal Singh On Mon, Mar 10, 2008 at 5:37 PM, Dor Laor <dor.laor@gmail.com> wrote: > We published virtio network drivers for Linux but not yet for Windows. > Our virtio drivers for windows are almost done (for rev#1), we'll surely > release the binaries for them. great!! no need to fool around with xen/vmware then :-) any word about availability/license/price on the windows drivers? > In the mean time you can use e1000 nic device & driver. It has the best > results among the emulated devices and even close to virtio performance. and for storage? i'm guessing one of the SCSI emulations would be the best... -- Javier ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: how increase performance of network io in kvm 2008-03-10 22:37 ` Dor Laor 2008-03-11 15:07 ` Javier Guerra @ 2008-03-11 20:58 ` Dhirendra Pal Singh 2008-03-11 21:03 ` Jorge Lucángeli Obes 1 sibling, 1 reply; 12+ messages in thread From: Dhirendra Pal Singh @ 2008-03-11 20:58 UTC (permalink / raw) To: dor.laor; +Cc: kvm-devel [-- Attachment #1.1: Type: text/plain, Size: 3264 bytes --] On Mon, Mar 10, 2008 at 3:37 PM, Dor Laor <dor.laor@gmail.com> wrote: > > On Mon, 2008-03-10 at 12:13 -0700, Jorge Lucángeli Obes wrote: > > On Mon, Mar 10, 2008 at 11:58 AM, Dhirendra Pal Singh > > <dpal.singh@gmail.com> wrote: > > > Hi Guys, > > > > > > I am trying to evaluate, kvm at my work for virtual support in our > product.. > > > > > > I had setup up a windows guest, in my ubuntu host, on hardware with > Intel VT > > > support. > > > > > > Now when I try to download a 1 GB file present, inside windows virtual > > > machine, using samba, from a another linux box, I get the following... > > > > > > > > > a) time when coping from windows in kvm > > > > > > linux:~/tmp # time cp /media/hdisk/1GB_text.txt . > > > > > > real 6m36.478s > > > > > > user 0m0.060s > > > > > > sys 0m8.293s > > > > > > linux:~/tmp # > > > > > > > > > b) time when coping from linux native.. > > > > > > linux:~/tmp/tmp # time cp /media/hdisk/1GB_text . > > > > > > real 0m49.501s > > > > > > user 0m0.040s > > > > > > sys 0m8.657s > > > > > > linux:~/tmp/tmp # > > > > > > > > > So its like 50second (linux native) Vs 6+minutes(windows guest in > KVM), > > > which is huge. > > > > > > This is using user based networking, where I am just forwarding all > the > > > netbios ports from host to guest. > > > > > > Are there any links, pointers, faqs, ideas , suggestions I could try > out to > > > increase the performance of this kvm virtual machine? Will using > public > > > bridge (option 3), as described on page > > > http://kvm.qumranet.com/kvmwiki/Networking help? > > > > Most probably. When I was trying VMGL > > (http://www.cs.toronto.edu/~andreslc/xen-gl/<http://www.cs.toronto.edu/%7Eandreslc/xen-gl/>) > in KVM I got a 20-fold > > increase in performance when I switched from usermode networking to > > the tap/bridge approach. Definitely try it. I assume you are forced to > > use a Windows guest, but if not you might also want to try virtio > > (http://kvm.qumranet.com/kvmwiki/Virtio). > > > > > We published virtio network drivers for Linux but not yet for Windows. > Our virtio drivers for windows are almost done (for rev#1), we'll surely > release the binaries for them. > > In the mean time you can use e1000 nic device & driver. It has the best > results among the emulated devices and even close to virtio performance. > > Regards, > Dor > Thanks a lot for your help.. man So, the performance numbers with public bridge, actually increases the performance by many folds. Now I can copy the same 1 gb file in 1.30 mins.. which is awesome. Now a dumb question (sorry :( ), but how do I use e1000 nic device and driver. -net option can only support "ne2k_pci", "ne2k_isa", "rtl8139", "smc91c111" and "lance". Which one of them is e1000. Also I am assuming, that somewhere I can get e1000 device driver for window server 2003 too.. If there is already a wiki then can you please point me to it. Also I had a suggestion. Would it make sense to update the wiki page to say, that if you use NAT it will be slower, and for performance, the bridge model should be used. Just to make it explicit. I am ready to make the change, if everyone blesses it.. Thanks a lot Regards Deep -- Thanks Dp [The force is feminine in nature] [-- Attachment #1.2: Type: text/html, Size: 4448 bytes --] [-- Attachment #2: Type: text/plain, Size: 228 bytes --] ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ [-- Attachment #3: Type: text/plain, Size: 158 bytes --] _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: how increase performance of network io in kvm 2008-03-11 20:58 ` Dhirendra Pal Singh @ 2008-03-11 21:03 ` Jorge Lucángeli Obes 2008-03-11 22:30 ` Dhirendra Pal Singh 0 siblings, 1 reply; 12+ messages in thread From: Jorge Lucángeli Obes @ 2008-03-11 21:03 UTC (permalink / raw) To: Dhirendra Pal Singh; +Cc: kvm-devel > Thanks a lot for your help.. man > > So, the performance numbers with public bridge, actually increases the > performance by many folds. Now I can copy the same 1 gb file in 1.30 mins.. > which is awesome. Cool! > Now a dumb question (sorry :( ), but how do I use e1000 nic device and > driver. -net option can only support "ne2k_pci", "ne2k_isa", "rtl8139", > "smc91c111" and "lance". Which one of them is e1000. Also I am assuming, > that somewhere I can get e1000 device driver for window server 2003 too.. I don't know if the driver is included in Windows 2K3 but it should be easy to find if not. I would try using 'e1000' as the device, that's probably how it was named and it's not yet included in the help text. > If there is already a wiki then can you please point me to it. > > Also I had a suggestion. Would it make sense to update the wiki page to say, > that if you use NAT it will be slower, and for performance, the bridge model > should be used. > Just to make it explicit. I am ready to make the change, if everyone > blesses it.. The VMGL/KVM mini-HOWTO mentions the massive drop in performance using usermode networking, but I think it would be useful to have it in the main networking page also. I would say go ahead, that's what wikis are for =). Jorge ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: how increase performance of network io in kvm 2008-03-11 21:03 ` Jorge Lucángeli Obes @ 2008-03-11 22:30 ` Dhirendra Pal Singh 2008-03-12 9:46 ` Dor Laor 0 siblings, 1 reply; 12+ messages in thread From: Dhirendra Pal Singh @ 2008-03-11 22:30 UTC (permalink / raw) To: Jorge Lucángeli Obes; +Cc: kvm-devel [-- Attachment #1.1: Type: text/plain, Size: 2122 bytes --] On Tue, Mar 11, 2008 at 2:03 PM, Jorge Lucángeli Obes <t4m5yn@gmail.com> wrote: > > Thanks a lot for your help.. man > > > > So, the performance numbers with public bridge, actually increases the > > performance by many folds. Now I can copy the same 1 gb file in 1.30mins.. > > which is awesome. > > Cool! > > > Now a dumb question (sorry :( ), but how do I use e1000 nic device and > > driver. -net option can only support "ne2k_pci", "ne2k_isa", "rtl8139", > > "smc91c111" and "lance". Which one of them is e1000. Also I am assuming, > > that somewhere I can get e1000 device driver for window server 2003 > too.. > > I don't know if the driver is included in Windows 2K3 but it should be > easy to find if not. I would try using 'e1000' as the device, that's > probably how it was named and it's not yet included in the help text. I tried e1000 and it says "qemu: Unsupported NIC: e1000".... :( Did I miss something.. ? I downloaded the latest code base for qemu, and I see the following lines in qemu-doc.texi ********************* @code{i82551}, @code{i82557b}, @code{i82559er}, @code{ne2k_pci}, @code{ne2k_isa}, @code{pcnet}, @code{rtl8139}, @code{smc91c111}, @code{lance} and @code{mcf_fec}. ********************* I don't see any e1000 entry there? Meanwhile I am trying to build latest version of qemu and see if it gets me anywhere. > > > If there is already a wiki then can you please point me to it. > > > > Also I had a suggestion. Would it make sense to update the wiki page to > say, > > that if you use NAT it will be slower, and for performance, the bridge > model > > should be used. > > Just to make it explicit. I am ready to make the change, if everyone > > blesses it.. > > The VMGL/KVM mini-HOWTO mentions the massive drop in performance using > usermode networking, but I think it would be useful to have it in the > main networking page also. I would say go ahead, that's what wikis are > for =). Done... :) Also when I get this e1000 thingi working, I am going to add this to the wiki too :) Thanks and Regards Deep > > Jorge > -- Thanks Dp [The force is feminine in nature] [-- Attachment #1.2: Type: text/html, Size: 3063 bytes --] [-- Attachment #2: Type: text/plain, Size: 228 bytes --] ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ [-- Attachment #3: Type: text/plain, Size: 158 bytes --] _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: how increase performance of network io in kvm 2008-03-11 22:30 ` Dhirendra Pal Singh @ 2008-03-12 9:46 ` Dor Laor 2008-03-14 15:26 ` Dhirendra Pal Singh 0 siblings, 1 reply; 12+ messages in thread From: Dor Laor @ 2008-03-12 9:46 UTC (permalink / raw) To: Dhirendra Pal Singh; +Cc: kvm-devel On Tue, 2008-03-11 at 15:30 -0700, Dhirendra Pal Singh wrote: > I tried e1000 and it says "qemu: Unsupported NIC: e1000".... :( Did I > miss something.. ? > > I downloaded the latest code base for qemu, and I see the following > lines in qemu-doc.texi > > ********************* > @code{i82551}, @code{i82557b}, @code{i82559er}, > @code{ne2k_pci}, @code{ne2k_isa}, @code{pcnet}, @code{rtl8139}, > @code{smc91c111}, @code{lance} and @code{mcf_fec}. The new source contains e1000 line too > ********************* > > I don't see any e1000 entry there? Meanwhile I am trying to build > latest version of qemu and see if it gets me anywhere. > > You probably use the qemu that comes with your distribution and not the new source. You should find a qemu/hw/e1000.c file if you have an updated repository. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: how increase performance of network io in kvm 2008-03-12 9:46 ` Dor Laor @ 2008-03-14 15:26 ` Dhirendra Pal Singh 2008-03-14 15:55 ` Anthony Liguori 0 siblings, 1 reply; 12+ messages in thread From: Dhirendra Pal Singh @ 2008-03-14 15:26 UTC (permalink / raw) To: dor.laor; +Cc: kvm-devel [-- Attachment #1.1: Type: text/plain, Size: 1558 bytes --] On Wed, Mar 12, 2008 at 2:46 AM, Dor Laor <dor.laor@gmail.com> wrote: > > On Tue, 2008-03-11 at 15:30 -0700, Dhirendra Pal Singh wrote: > > I tried e1000 and it says "qemu: Unsupported NIC: e1000".... :( Did I > > miss something.. ? > > > > I downloaded the latest code base for qemu, and I see the following > > lines in qemu-doc.texi > > > > ********************* > > @code{i82551}, @code{i82557b}, @code{i82559er}, > > @code{ne2k_pci}, @code{ne2k_isa}, @code{pcnet}, @code{rtl8139}, > > @code{smc91c111}, @code{lance} and @code{mcf_fec}. > > The new source contains e1000 line too > > ********************* > > > > I don't see any e1000 entry there? Meanwhile I am trying to build > > latest version of qemu and see if it gets me anywhere. > > > > > > You probably use the qemu that comes with your distribution and not the > new source. > > You should find a qemu/hw/e1000.c file if you have an updated > repository. > > I got the latest snapshot of qemu and sure enough there was e1000 driver support in it.. Though I didn't see much difference between RealTek Driver Vs e1000... Following was the test result... Copying 1GB file real 3m48.284s user 0m0.072s sys 0m8.609s Though a bit lesser then RealTek, it isn't much.. It seems i will have to wait for VirtIO drivers... If you or anyone else has any ideas on how to improve network performance then please do share.. BTW where can I check when windows binary will be ready as I would like to give it a shot? Thanks and Regards Deep -- Thanks Dp [The force is feminine in nature] [-- Attachment #1.2: Type: text/html, Size: 2111 bytes --] [-- Attachment #2: Type: text/plain, Size: 228 bytes --] ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ [-- Attachment #3: Type: text/plain, Size: 158 bytes --] _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: how increase performance of network io in kvm 2008-03-14 15:26 ` Dhirendra Pal Singh @ 2008-03-14 15:55 ` Anthony Liguori 0 siblings, 0 replies; 12+ messages in thread From: Anthony Liguori @ 2008-03-14 15:55 UTC (permalink / raw) To: Dhirendra Pal Singh; +Cc: kvm-devel Dhirendra Pal Singh wrote: > I got the latest snapshot of qemu and sure enough there was e1000 > driver support in it.. Though I didn't see much difference between > RealTek Driver Vs e1000... > Following was the test result... > > Copying 1GB file > real 3m48.284s > user 0m0.072s > sys 0m8.609s You won't see much of a performance improvement unless you're using tap instead of usernet. Regards, Anthony Liguori ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ^ permalink raw reply [flat|nested] 12+ messages in thread
[parent not found: <90eb1dc70803101209m3b9b23fbhd3959b740b6a8d7f@mail.gmail.com>]
* Re: how increase performance of network io in kvm [not found] ` <90eb1dc70803101209m3b9b23fbhd3959b740b6a8d7f@mail.gmail.com> @ 2008-03-10 19:23 ` Dhirendra Pal Singh 0 siblings, 0 replies; 12+ messages in thread From: Dhirendra Pal Singh @ 2008-03-10 19:23 UTC (permalink / raw) To: Javier Guerra; +Cc: kvm-devel [-- Attachment #1.1: Type: text/plain, Size: 1434 bytes --] sure.. I am going to do bridged networking next thing and re-run my test and see where I get.. Thanks for the info... I am using rtl8139 driver as windows 2003 server wasn't recognizing the default one... ********* the very best would be to have paravirtualized drivers on windows... there's some work on GPL'ed drivers for windows on Xen; does anybody knows if they use a similar interface? (virtio?) ********* Now I don't know where to find that? :( Sorry I am a newbie Thanks again Regards /dev/deep On Mon, Mar 10, 2008 at 12:09 PM, Javier Guerra <javier@guerrag.com> wrote: > On Mon, Mar 10, 2008 at 1:58 PM, Dhirendra Pal Singh > <dpal.singh@gmail.com> wrote: > > This is using user based networking, where I am just forwarding all the > > netbios ports from host to guest. > > user based networking is a nice option to have, but a HUGE performance > hog. get bridged networking. > > also, the choice of emulated NIC makes a noticeable difference. i > think e1000 is the fastest these days. > > the very best would be to have paravirtualized drivers on windows... > there's some work on GPL'ed drivers for windows on Xen; does anybody > knows if they use a similar interface? (virtio?) so far their > performance isn't so great, much lower than KVM's e1000, it seems. > but once they optimize it, it could be similar to linux's virtio > drivers. > > > > -- > Javier > -- Thanks Dp [The force is feminine in nature] [-- Attachment #1.2: Type: text/html, Size: 1949 bytes --] [-- Attachment #2: Type: text/plain, Size: 228 bytes --] ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ [-- Attachment #3: Type: text/plain, Size: 158 bytes --] _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2008-03-14 15:55 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-10 18:58 how increase performance of network io in kvm Dhirendra Pal Singh
2008-03-10 19:13 ` Jorge Lucángeli Obes
2008-03-10 19:20 ` Dhirendra Pal Singh
2008-03-10 22:37 ` Dor Laor
2008-03-11 15:07 ` Javier Guerra
2008-03-11 20:58 ` Dhirendra Pal Singh
2008-03-11 21:03 ` Jorge Lucángeli Obes
2008-03-11 22:30 ` Dhirendra Pal Singh
2008-03-12 9:46 ` Dor Laor
2008-03-14 15:26 ` Dhirendra Pal Singh
2008-03-14 15:55 ` Anthony Liguori
[not found] ` <90eb1dc70803101209m3b9b23fbhd3959b740b6a8d7f@mail.gmail.com>
2008-03-10 19:23 ` Dhirendra Pal Singh
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox