Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B51DF10463 for ; Mon, 28 Oct 2013 20:26:02 +0000 (UTC) Received: (qmail 28531 invoked by uid 500); 28 Oct 2013 20:25:58 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 28476 invoked by uid 500); 28 Oct 2013 20:25:58 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 28456 invoked by uid 99); 28 Oct 2013 20:25:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Oct 2013 20:25:57 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of msweet.dev@gmail.com designates 209.85.219.47 as permitted sender) Received: from [209.85.219.47] (HELO mail-oa0-f47.google.com) (209.85.219.47) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Oct 2013 20:25:53 +0000 Received: by mail-oa0-f47.google.com with SMTP id i1so4124374oag.6 for ; Mon, 28 Oct 2013 13:25:33 -0700 (PDT) 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=q5aiKv1u4dm4SDGAhXlPIc1zGw+N7x3+yEoqcJB8u+M=; b=g0KcbM6jUPiN3hebn9LiwuQW1SecHl0msBjQA7NKMiCU+gfqBzZCp6Oqkenk1r70rT xjNnR7aITA58xD7gGzQ5uwizFJAp6DdBStBLmKN9Ii0uk0k6p3M3IUU/9J+iyteluSgP eFSQ4dPTtPdFWuI54oXGcxzgN9KaEzO6UY5+AiDbOoDyRECdRMgXKvD50FF5dtDeOtmv w7nfY0XqfkXyUrP6LahQOTntbO/OmuMtvagVNVju8mC8Poo9q7Tm4LGU/fF835hobuh1 d7gDoMZNjspePflokbHjuurZ+9m7n/Sh7hhFQXhz1j/0ph/TeMKzO1CYiY1QmDFHMN4M epGQ== MIME-Version: 1.0 X-Received: by 10.182.129.106 with SMTP id nv10mr302225obb.85.1382991932745; Mon, 28 Oct 2013 13:25:32 -0700 (PDT) Received: by 10.76.88.233 with HTTP; Mon, 28 Oct 2013 13:25:32 -0700 (PDT) In-Reply-To: References: Date: Mon, 28 Oct 2013 20:25:32 +0000 Message-ID: Subject: Re: Bandwidth Shaping - Ubuntu 12.04.3 KVM From: Marty Sweet To: "dev@cloudstack.apache.org" Content-Type: multipart/alternative; boundary=e89a8fb1fbf6e0edab04e9d2e65a X-Virus-Checked: Checked by ClamAV on apache.org --e89a8fb1fbf6e0edab04e9d2e65a Content-Type: text/plain; charset=ISO-8859-1 Hi Marcus, My earlier email mentioned those configurations, unfortunately not really complying with what was set out in the compute offering. After setting the compute offering network limit and stop/starting the VMs the lines do not appear, and outbound traffic has returned to normal speeds but inbound is proving an issue. Also tried rebooting the hypervisor hosts with no success. How is this traffic shaping implemented, is it just via KVM and virsh, or does cloudstack run custom tc rules? Thanks, Marty On Mon, Oct 28, 2013 at 8:19 PM, Marcus Sorensen wrote: > Check the XML that was generated when the VM in question was started: > > # virsh dumpxml i-2-15-VM | egrep "inbound|outbound" > > > > > See if the settings match what you put in your network offering or > properties (whichever applies to your situation). > > > On Oct 28, 2013 1:44 PM, "Marty Sweet" wrote: > > > Thanks for the links, while I have set 0 for all the properties the > > following results still occur: > > > > Guest -> Other Server : >900Mbps (As expected) > > Other Server -> Guest (so inbound to the VM) : Varies depending on > > hypervisor host: 121, 405, 233, 234Mbps > > > > Each hypervisor has 2 NICS in an LACP bond, was working perfectly before > > 4.2.0 :( > > > > Thanks, > > Marty > > > > > > > > On Mon, Oct 28, 2013 at 2:44 PM, Marcus Sorensen > >wrote: > > > > > Yeah, the bandwidth limiting for KVM was dropped into 4.2. You just > > > need to tweak your settings, whether it's on network offerings or > > > global. > > > > > > On Mon, Oct 28, 2013 at 8:25 AM, Wei ZHOU > wrote: > > > > Please read this artcle http://support.citrix.com/article/CTX132019 > > > > Hope this help you. > > > > > > > > > > > > 2013/10/28 Marty Sweet > > > > > > > >> Hi Guys, > > > >> > > > >> Following my upgrade from 4.1.1 -> 4.2.0, I have noticed that VM > > > traffic is > > > >> now limited to 2Mbits. > > > >> My compute offerings were already 1000 for network limit and I have > > > created > > > >> new offerings to ensure this wasn't the issue (this fixed it for > > > someone in > > > >> the mailing list). > > > >> > > > >> Is there anything that I am missing? I can't remember reading this > as > > a > > > bug > > > >> fix or new feature. > > > >> If there is a way to resolve or disable it, it would be most > > > appreciated - > > > >> have been going round in circles for hours. > > > >> > > > >> Thanks, > > > >> Marty > > > >> > > > > > > --e89a8fb1fbf6e0edab04e9d2e65a--