From: Sebastian Hetze <s.hetze@linux-ag.com>
To: Balachandar <bala1486@gmail.com>
Cc: kvm@vger.kernel.org
Subject: Re: Virtio network performance poorer than emulated e1000
Date: Fri, 23 Jul 2010 15:37:31 +0200 [thread overview]
Message-ID: <20100723133731.53EECB0016@mail.linux-ag.de> (raw)
In-Reply-To: <AANLkTimK2rwvMYaGa5B0pdba3tTVKQcNnoIaxyQSki__@mail.gmail.com>
I did some benchmarking mainly with tbench and found virtio better
with big packages/maximum throughput and e1000 better with small
packages/latency. vhost-net improves virtio quite a lot and makes
it superior to the emulated devices.
If network performance is a real issue, DMAR/IOMMU gives you direct
access to dedicated network devices with nearly 100% native throughput
and latency.
Best regards,
Sebastian
On Thu, Jul 22, 2010 at 04:13:29PM -0400, Balachandar wrote:
> I can see that virtio network performance is poorer than emaulated
> e1000 nic. I did some simple ping test and with emulated e1000 the
> average rtt is around 600 microsec. With virtio the average rtt is 800
> microsec. I am using a tap + bridge configuration. I run kvm as
> follows
>
> kvm -m 512 -hda vdisk.img \
> -net nic,model=virtio \
> -net tap,ifname=tap0,script=qemu-ifup,downscript=no
>
> I am running Debian squeeze distribution with guest and host kernel 2.6.34.
>
> Does anyone else see some results like this or is it only me? Could
> changing the distribution help as i am running a testing one?
>
> Thanks,
> Bala
next prev parent reply other threads:[~2010-07-23 13:47 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-22 20:13 Virtio network performance poorer than emulated e1000 Balachandar
2010-07-22 21:28 ` Freddie Cash
2010-07-23 13:37 ` Sebastian Hetze [this message]
[not found] ` <20100723133731.32ED2B0016@mail.linux-ag.de>
2010-07-23 14:47 ` Balachandar
-- strict thread matches above, loose matches on Subject: below --
2010-07-22 23:53 Balachandar
2010-07-23 0:18 ` Sridhar Samudrala
2010-07-23 1:31 ` Balachandar
2010-07-23 7:11 ` Jes Sorensen
2010-07-24 15:04 ` Balachandar
2010-07-26 8:26 ` Jes Sorensen
2010-07-26 13:44 ` Michael Tokarev
2010-07-26 14:39 ` Balachandar
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=20100723133731.53EECB0016@mail.linux-ag.de \
--to=s.hetze@linux-ag.com \
--cc=bala1486@gmail.com \
--cc=kvm@vger.kernel.org \
/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