Return-Path: X-Original-To: apmail-cloudstack-users-archive@www.apache.org Delivered-To: apmail-cloudstack-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D1A4A11786 for ; Thu, 3 Jul 2014 14:37:41 +0000 (UTC) Received: (qmail 50836 invoked by uid 500); 3 Jul 2014 14:37:40 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 50788 invoked by uid 500); 3 Jul 2014 14:37:40 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 50775 invoked by uid 99); 3 Jul 2014 14:37:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2014 14:37:40 +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 (athena.apache.org: domain of giraffeforestg@gmail.com designates 209.85.219.43 as permitted sender) Received: from [209.85.219.43] (HELO mail-oa0-f43.google.com) (209.85.219.43) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2014 14:37:35 +0000 Received: by mail-oa0-f43.google.com with SMTP id o6so305102oag.30 for ; Thu, 03 Jul 2014 07:37:15 -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=+FD2pYEqzpjkRmtHqlUDVkA+6vAziZAIl6R92GrMqz0=; b=1InqwkyxorGUTlUntSH0EsxI/sMzhYxzh7SNVbThy0yTKCYgWexdm9L68FP7ovkB4J cqpT2LIwTqVRDkbid/G/8mKw90Zpova86lzUOm6jQ9TTzEJVUVQwBhfOXumHQ5Fo7xnV Uo9xl+AiFyiU/lDBlv/RveG9awlyUKYXuh3OyUnBH/a/c/kAqGW8IrViS932OmI2Ebg3 wKyN3mt5zxfeCezv5+BN92f2xZA4wM0og/RG/HRL1OMkYDdJLjNRi+Bjy/7ptTC32Hxf fR+lcL+RdC/xrSjvVq0uBlPUX1sX2yPQvsRo/8M1knWhGnooVIb+bsJZZ/SguJe7Bgjf TT9Q== MIME-Version: 1.0 X-Received: by 10.182.102.194 with SMTP id fq2mr5329219obb.38.1404398235422; Thu, 03 Jul 2014 07:37:15 -0700 (PDT) Received: by 10.76.175.194 with HTTP; Thu, 3 Jul 2014 07:37:15 -0700 (PDT) In-Reply-To: References: <2045862386.9838.1403541981113.JavaMail.zimbra@li.nux.ro> Date: Thu, 3 Jul 2014 23:37:15 +0900 Message-ID: Subject: Re: Performance degrades when I use the StaticNAT in Virtual Router. Is there a way to speed up? From: giraffeg forestg To: users@cloudstack.apache.org Content-Type: multipart/alternative; boundary=089e0149c1aef2182104fd4af126 X-Virus-Checked: Checked by ClamAV on apache.org --089e0149c1aef2182104fd4af126 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi All Solved. I gave the performance of the hardware. Speed =E2=80=8B=E2=80=8Bof StaticNA= T for the virtual router is faster now. Performance of the hardware seems to have been insufficient. (VirtualRouter StaticNAT) PhysicalServer--->VirtualRouter--->VM Instance --Before CPU AMD Opteron Processor 3250 HE 2.5GHz Disk 7,200rpm SATA # ./nuttcp 192.168.11.173 738.0000 MB / 10.01 sec =3D 618.6374 Mbps 2 %TX 48 %RX 0 retrans 2.84 --After CPU Xeon X5260 3.33GHz Disk 15,000rpm SAS # ./nuttcp 192.168.11.234 1051.9286 MB / 10.06 sec =3D 876.9177 Mbps 3 %TX 27 %RX 0 retrans 0.38 msRTT Thanks. -------------------------- Satoru Nakaya 2014-06-24 3:34 GMT+09:00 giraffeg forestg : > Thank you for advice. :) > > # Isolation based on Security Groups in Advanced Zone > # > https://cwiki.apache.org/confluence/display/CLOUDSTACK/Security+Groups+Is= olation+in+Advanced+Zone > > However, I'm want to improve the speed of StaticNAT in Virtual Router. > > Trial-1:linux kernel parameter tuning of virural router > > /etc/sysctl.conf > > net.core.rmem_max =3D 16777216 > net.core.wmem_max =3D 16777216 > net.ipv4.tcp_rmem =3D 4096 87380 16777216 > net.ipv4.tcp_wmem =3D 4096 65536 16777216 > > -> Did not improve performance. :( > > > Trial-2:disabling TSO of virural router > > /ethtool -K eth0 tso off > /ethtool -K eth2 tso off > > -> Did not improve performance. :( > > > Thanks. > > -------------------------- > Satoru Nakaya > > > > 2014-06-24 1:46 GMT+09:00 Nux! : > >> Depending on your circumstances, you could move to an Advanced Zone with >> Security Groups, this way traffic will bypass the Virtual Router and go >> directly to the VMs. >> >> HTH >> Lucian >> >> >> -- >> Sent from the Delta quadrant using Borg technology! >> >> Nux! >> www.nux.ro >> >> >> ----- Original Message ----- >> From: "giraffeg forestg" >> To: users@cloudstack.apache.org >> Sent: Monday, 23 June, 2014 4:51:49 PM >> Subject: Performance degrades when I use the StaticNAT in Virtual Router= . >> Is there a way to speed up? >> >> Hi All >> >> Performance degrades when I use the StaticNAT in Virtual Router. Is ther= e >> a >> way to speed up? >> >> Environment: >> Apache CloudStack 4.3.0 >> SystemVM:systemvm64template-2014-01-14-master-xen.vhd >> HyperVisor:XenServer 6.2SP1 >> Network:1Gbps (Catalyst3550-12G) >> >> System Offering: >> CPU:2000 MHz >> Memory:2048 MB >> Network Rate:10000 MB >> >> Network Offering: >> Network Rate:10000 MB >> >> >> (Case-1, Direct Access) Good >> PhysicalServer--->VM Instance1 >> # ./nuttcp 192.168.11.2 >> 1122.3928 MB / 10.07 sec =3D 935.0451 Mbps 4 %TX 59 %RX 0 retrans 0.9= 3 >> msRTT >> >> >> (Case-2, VirtualRouter SourceNAT) Good >> VM Instance2--->VirtualRouter--->PhysicalServer >> # ./nuttcp 192.168.11.248 >> 1123.1641 MB / 10.03 sec =3D 938.9331 Mbps 12 %TX 15 %RX 0 retrans 3.= 11 >> msRTT >> >> >> (Case-3, VirtualRouter StaticNAT) Not Good >> PhysicalServer--->VirtualRouter--->VM Instance2 >> # ./nuttcp 192.168.11.173 >> 738.0000 MB / 10.01 sec =3D 618.6374 Mbps 2 %TX 48 %RX 0 retrans 2.8= 4 >> msRTT >> >> >> Thanks. >> >> -------------------------- >> Satoru Nakaya >> > > --089e0149c1aef2182104fd4af126--