From mboxrd@z Thu Jan 1 00:00:00 1970 From: linux_kvm@proinbox.com Subject: Re: limit conectivity of a VM Date: Sat, 20 Nov 2010 13:00:57 -0500 Message-ID: <1290276057.18521.1406316485@webmail.messagingengine.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: "Javier Guerra Giraldez" Return-path: Received: from out1.smtp.messagingengine.com ([66.111.4.25]:44953 "EHLO out1.smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752969Ab0KTSA6 (ORCPT ); Sat, 20 Nov 2010 13:00:58 -0500 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: > if you had infinitely fast processors, every virtual network would be > infinitely fast. I see on a Vyatta VM, that an interface's link speed attribute can be explicitly defined, along with duplex. Possible values are 10 100 & 1000 Mb, and are configured independently of the driver/model of NIC. I haven't tested it yet, and since discovering this detail, have been somewhat disheartened at the thought of ~8 Gb vhost throughput being throttled by the highest possible link speed setting being 1000 Mb. So maybe plan b could be to install a test router just for that function, and loop through it. -C On Sat, 20 Nov 2010 10:39 -0500, "Javier Guerra Giraldez" wrote: > On Sat, Nov 20, 2010 at 3:40 AM, Thomas Mueller > wrote: > > maybe one of the virtual network cards is 10mbit? start kvm with "-net > > nic,model=?" to get a list. > > wouldn't matter. different models emulate the hardware registers > used to transmit, not the performance. > > if you had infinitely fast processors, every virtual network would be > infinitely fast. > > -- > Javier > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >