public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Dor Laor <dor.laor@gmail.com>
To: "Jorge Lucángeli Obes" <t4m5yn@gmail.com>
Cc: kvm-devel@lists.sourceforge.net,
	Dhirendra Pal Singh <dpal.singh@gmail.com>
Subject: Re: how increase performance of network io in kvm
Date: Tue, 11 Mar 2008 00:37:13 +0200	[thread overview]
Message-ID: <1205188633.3249.33.camel@localhost.localdomain> (raw)
In-Reply-To: <59abf66e0803101213h2ce5b153k2bd2e71d5c329a2d@mail.gmail.com>


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

  parent reply	other threads:[~2008-03-10 22:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1205188633.3249.33.camel@localhost.localdomain \
    --to=dor.laor@gmail.com \
    --cc=dor.laor@qumranet.com \
    --cc=dpal.singh@gmail.com \
    --cc=kvm-devel@lists.sourceforge.net \
    --cc=t4m5yn@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox