Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 92129D30F for ; Wed, 5 Dec 2012 01:05:21 +0000 (UTC) Received: (qmail 47996 invoked by uid 500); 5 Dec 2012 01:05:21 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 47968 invoked by uid 500); 5 Dec 2012 01:05:21 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 47957 invoked by uid 99); 5 Dec 2012 01:05:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Dec 2012 01:05:21 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mailing.son@gmail.com designates 209.85.215.47 as permitted sender) Received: from [209.85.215.47] (HELO mail-la0-f47.google.com) (209.85.215.47) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Dec 2012 01:05:14 +0000 Received: by mail-la0-f47.google.com with SMTP id u2so3458776lag.6 for ; Tue, 04 Dec 2012 17:04:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=D7QddZozw0OI+oRUa6dSQ1cnx5U7KvXqtfNMSj97eX4=; b=s2nJqlorvB/6Arx6zgc/WdaesdEqe4Y/GQt4ch8CwbU4cCJHlg6NLvEXaFZZKFGZV7 DpM0cbl6awWyvPbg9UUqv3qX0OTJOVnxV8lUlqJ7HfFel1YC0AY0G3LKxw0Usl+mn27M Vfg58+OyLyoUteKPlZOejHxg2dGde86gjanvBLpycBLGd4pnaPMp1gcB03mghcQCldeO nosR8oNI4Uoo7pQ+Z3JnA8TE9B0lD0Sh0uHJ8i4qxynnj4YCK4vJjuC15AWetOEqS56N zTa25ziWPSAwT3ly34h9AL7ibqBaKC0BXr+EL2bwISW7zbztZIWBHpY8IqNEb7u4jXPH U4oA== MIME-Version: 1.0 Received: by 10.152.110.229 with SMTP id id5mr14893112lab.36.1354669494476; Tue, 04 Dec 2012 17:04:54 -0800 (PST) Received: by 10.114.60.209 with HTTP; Tue, 4 Dec 2012 17:04:54 -0800 (PST) In-Reply-To: References: <20121204105828.GD2721@bla.fasel.org> Date: Wed, 5 Dec 2012 10:04:54 +0900 Message-ID: Subject: Re: Router VM peaks at ~920 Mbit/s instad of 4000 Mbit/s network offering rate limit From: Andrew Son To: cloudstack-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=f46d040713e301a0fb04d0109245 X-Virus-Checked: Checked by ClamAV on apache.org --f46d040713e301a0fb04d0109245 Content-Type: text/plain; charset=ISO-8859-1 The network throughput mostly depends on your hardware configuration, instead of cloudstack. The key components are - Network card : intel ixgbe or broadcom ? - Network device driver version - Network device driver configuration : GRO - using VLAN or not : - using linux bridge or not If you have default configuration with Xenserver 5.6 sp2, the maximum network throughput will be about 2 Gbps. Our experiment shows that - instance to instance : 7Gbps - instance - router vm - instance : 4Gbps with - XenServer 6.0.2 - Custom Intel ixgbe driver - GRO settings - ovs (open vswitch) Cheers, Choonho Son 2012/12/5 Bryan Whitehead > What is network.throttling.rate and vm.network.throttling.rate set to in > global settings? > > Please correct me if I'm wrong about how these global settings work, but I > think these values override the templates. > > > On Tue, Dec 4, 2012 at 2:58 AM, Wolfram Schlich > wrote: > > > Hi! > > > > Does a router VM have another kind of network rate > > limitation besides the one from the network offering? > > > > We have the network offering set to 4000 Mbit/s > > which is resembled by XenServer through limiting > > the interface bandwidth to 500MByte/s (checked that). > > > > With unrouted traffic within a CloudStack network > > (between instances running on different nodes that > > all have 10 GbE links), the instances peak at the > > configured 4000 Mbit/s (so, as expected). When > > doing routed traffic between different CloudStack > > networks (passing 2 router VMs), the same test peaks > > at around ~920 Mbit/s while the router VM CPU shows > > to idle about 99% (25k interrupts/s). > > > > The instances used for testing as well as the router > > VMs run on Citrix XenServer 6.0.2 and are all using > > xen_netfront as the virtual ethernet driver (which > > does not even supply a speed value to the VM). > > > > I've also looked for any kind of tc/iptables rules > > on the router VM but couldn't find any that seem > > relevant for this issue. > > > > Ideas, anyone? :-) > > > > Cheers, > > Wolfram > > > --f46d040713e301a0fb04d0109245--