From: Michael Tokarev <mjt@tls.msk.ru>
To: linux_kvm@proinbox.com
Cc: KVM mailing list <kvm@vger.kernel.org>
Subject: Re: suggested vhost link speed settings
Date: Sun, 28 Nov 2010 16:03:52 +0300 [thread overview]
Message-ID: <4CF25338.6030206@msgid.tls.msk.ru> (raw)
In-Reply-To: <1290911168.20434.1407472791@webmail.messagingengine.com>
28.11.2010 05:26, linux_kvm@proinbox.com wrote:
> Hi list,
>
> Being that the virtio interfaces are stated as acheiving 5-8 Gb
> throughput now with vhost, as opposed to 1Gb without, how should their
> link speed be defined when the choices are 2500M or 10000M?
The reported link speed for _any_ virtual NIC has no meaning at all,
except of the numbers somewhere in ifconfig or equivalent. The actual
speed is always limited by the host CPU and the effectiveness of the
implementation currently in use. So, it is merely a cosmetic thing,
nothing more.
The only possible usage for this number (reported link speed) is to
let some visualisation tools to draw their graphs, to show "link
utilisation" percentage for example. But for that, there's no actual
utilisation either - it depends on the current host CPU speed, - f.e.
you put additional load to the CPU and the max speed will be lower,
but your visualisator will report low utilization.
In short: don't try to visualize "link utilization", it has no meaning.
As of actual speeds, I can reach ~2Gbps on my somewhat-old-now 2.4GHz
Phenom 9750 (first gen) even without vhost-net.
/mjt
prev parent reply other threads:[~2010-11-28 13:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-28 2:26 suggested vhost link speed settings linux_kvm
2010-11-28 13:03 ` Michael Tokarev [this message]
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=4CF25338.6030206@msgid.tls.msk.ru \
--to=mjt@tls.msk.ru \
--cc=kvm@vger.kernel.org \
--cc=linux_kvm@proinbox.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