From owner-freebsd-virtualization@freebsd.org Sun Nov 6 01:54:07 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 07C8AC328E7 for ; Sun, 6 Nov 2016 01:54:07 +0000 (UTC) (envelope-from rajil.s@gmail.com) Received: from mail-pf0-x233.google.com (mail-pf0-x233.google.com [IPv6:2607:f8b0:400e:c00::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CBCEF635 for ; Sun, 6 Nov 2016 01:54:06 +0000 (UTC) (envelope-from rajil.s@gmail.com) Received: by mail-pf0-x233.google.com with SMTP id d2so72664983pfd.0 for ; Sat, 05 Nov 2016 18:54:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=bnnI/QRRN9KuclwmVyaH8xCifhAEPN7u+qKAPd9pDZs=; b=N2YR7sGu9a2TMs6pHzEEOIsAFoYw86IqK1RBa3AkHfRdXxN6xpGcnB+hyZuIuwBqur LpgmLwq1TRf/DRSAA/bruEogjnzCGEraxv3ekiUGvIh6FpbNtmS7vZEdKEBFbZBzuq2J U1UqRlo9eHqZPe1H18yzODWbGAHVeoRi1WouwkPoLTrnKXLqJGs86ixuJz+8+iSYdgnU 96SvVnAxWJE7BOfVHhyZh4nGYQn7Af8F4FaYrPsjTsQyht0LyhDFKTRj48EMJYSYJKnk 5JAJ2DqMMvhaaa3oQcXTjt8857f8dkoMuZQ1bQZy09c2TKHM9SRGomcHhQIUAq+n9Xgo 5OVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=bnnI/QRRN9KuclwmVyaH8xCifhAEPN7u+qKAPd9pDZs=; b=DVRKyUcSzAow8/L5WJJe9xYIVUZNAuvLjQxtM6uXxx5gHTndBa2/pE0lF/nTTxtThk daGDsQSmKecOS6bIbuw+60jPoJUv4vx4p+ydHhI4+h3fMDIWJI8Y6aXiDfLo4X6o6foz e3v8o5WHxAvOhISqS3AfQ7Ufo+qKbHsoY2wkGfTPIP3D++Ztx4/Sv1aYFjDyyDfJr4ZR 75V6h3Rmc8kEqz03jA2hCAMXrqTFr3cJBbCv/jjABvGiEHglSGsvyZEOSxO8mbbOVsxS yQQfVIPmKToCy0Z0yRR674UcKJBqJrAu1aW5Oke4kZHO2FIPAt+jrR1Sa/8bzYwILFud 0t6g== X-Gm-Message-State: ABUngveykUmwcrzAouY20z718zAJbA+nyXR5mjGw2FtzB/dRmNKEP4oXuWsSaUSoOsVnjg== X-Received: by 10.99.144.65 with SMTP id a62mr608334pge.103.1478397246084; Sat, 05 Nov 2016 18:54:06 -0700 (PDT) Received: from ?IPv6:2601:2c2:200:12c7:202:c9ff:fe4e:1dc0? ([2601:2c2:200:12c7:202:c9ff:fe4e:1dc0]) by smtp.gmail.com with ESMTPSA id yz6sm30159768pab.35.2016.11.05.18.54.04 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 05 Nov 2016 18:54:05 -0700 (PDT) Subject: Re: Bhyve and Poor network speed with Intel X540-AT2 To: freebsd-virtualization@FreeBSD.org References: <9fe097c5-c2ef-fda6-8b99-b4e4d7afff05@gmail.com> From: Rajil Saraswat Message-ID: Date: Sat, 5 Nov 2016 20:54:01 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <9fe097c5-c2ef-fda6-8b99-b4e4d7afff05@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Nov 2016 01:54:07 -0000 On 11/05/16 14:24, Rajil Saraswat wrote: > Hello, > > I am running debian8 in a bhyve instance. The host has a 10g network and > uses Intel X540-AT2 NIC. The guest has a poor network speed in the order > of 2-3 kBps. However, if i disable the hardware offload features of the > NIC it brings the host speed from 10g to 1g, and bhyve shows 1g speed as > well. I use the following in rc.conf > > ifconfig_ix0="-rxcsum -txcsum -vlanmtu -vlanhwtso -tso4 -tso6 > -vlanhwtso -vlanhwcsum up" > > Is there anyway around to get 10g speed on host and better speed in the > vm simultaneously? > > > Thanks > > Rajil > I see the same poor speeds with the host running Mellanox Connectx-2 SFP+ card too.