From owner-freebsd-cloud@FreeBSD.ORG Thu Mar 12 20:38:02 2015 Return-Path: Delivered-To: freebsd-cloud@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 665AC73C for ; Thu, 12 Mar 2015 20:38:02 +0000 (UTC) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3306885D for ; Thu, 12 Mar 2015 20:38:01 +0000 (UTC) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 8465320945 for ; Thu, 12 Mar 2015 16:29:35 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Thu, 12 Mar 2015 16:29:37 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h= x-sasl-enc:from:content-type:content-transfer-encoding:subject :message-id:date:to:mime-version; s=mesmtp; bh=oSljjNuCNUqhH/Qkd DaytQDm1f4=; b=f2QdUmDJVTBuTdkBlchHiURIJvcxrpzr5xRQxYLDGzuBtugkn woXTPYb8J3wi71f3BDz2geWt+YevttXr4bASUIx22K+9kb1+rdap0qpWmoksd3Gp Odh30grU9OA/ft/kenr6D/KwGcosIDNTxcSdCXYvy8bgFdoWcypIC21U2c= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:from:content-type :content-transfer-encoding:subject:message-id:date:to :mime-version; s=smtpout; bh=oSljjNuCNUqhH/QkdDaytQDm1f4=; b=gwI VCZOz2q39JEvRF/gB813kCCIWpZDKqkeeozXZxvuYLxl+rZ/zaQiWysG4uecWWVr QakHWkmOIWPZVjWvzC00oNpA2M7vdhMkTTLyE61hpl3qYksimXTITCgmlQBYlOs2 6J7H3bcwVH4/mIYASJca9LsluwqoM6MGLvQdtxcE= X-Sasl-enc: PJLHQn8Nb2fBiq9x62Rfi80s2llzcU1fZuGC4PtvW/RU 1426192176 Received: from [192.168.0.5] (unknown [84.212.193.93]) by mail.messagingengine.com (Postfix) with ESMTPA id CCDB26800FC for ; Thu, 12 Mar 2015 16:29:36 -0400 (EDT) From: "Bradley T. Hughes" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: FreeBSD/EC2 - MTU on xn0? Message-Id: <708D692E-ED5D-421F-94C3-1984B95E0296@fastmail.fm> Date: Thu, 12 Mar 2015 21:29:35 +0100 To: freebsd-cloud@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) X-Mailer: Apple Mail (2.2070.6) X-BeenThere: freebsd-cloud@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "FreeBSD on cloud platforms \(EC2, GCE, Azure, etc.\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Mar 2015 20:38:02 -0000 The AWS EC2 Instance Types documentation[1] says that the MTU for the = network interfaces is dependent on the instance type. A post on the AWS = forums[2] by an AWS representative states that the MTU configuration is = available via DHCP. I noticed that all of our T2 instances running FreeBSD have an MTU of = 1500. After searching around a bit, I found this patch[3]. I get the = same results when running the reproduction steps in EC2, despite = ifconfig(8) saying it's using an MTU of 9001. I'm wondering if the patch in 187094 is what's needed to make the xn0 = interface on our FreeBSD instances use jumbo frames? Thanks in advance :) [1] = http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html [2] https://forums.aws.amazon.com/thread.jspa?threadID=3D143674 [3] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D187094 -- Bradley T. Hughes bradleythughes@fastmail.fm= From owner-freebsd-cloud@FreeBSD.ORG Thu Mar 12 20:59:56 2015 Return-Path: Delivered-To: freebsd-cloud@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4CADAA3F for ; Thu, 12 Mar 2015 20:59:56 +0000 (UTC) Received: from o3.shared.sendgrid.net (o3.shared.sendgrid.net [208.117.48.85]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 087F3A3B for ; Thu, 12 Mar 2015 20:59:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sendgrid.info; h=from:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; s=smtpapi; bh=JwhCkdzfmOQwbW4ULmDLgKAAs50=; b=zjeCCYjLktMpeRd0Ua HaKAVLRXzzIQImBEXZs+oUrPQEA2EPN0sh3CG92YJXDsu46FcsLEVI6VtyhdIbNQ tamxPlzRzB4lyBp/xW6uG09lthyndsbhWs9YNWgUXVlHwKvQRiJ7k7tCg1tk7AQG wSmU0PK4DMxt72BPfBLSModZc= Received: by filter0170p1mdw1.sendgrid.net with SMTP id filter0170p1mdw1.20653.5501FE299 2015-03-12 20:59:26.284794404 +0000 UTC Received: from mail.tarsnap.com (ec2-54-86-246-204.compute-1.amazonaws.com [54.86.246.204]) by ismtpd-024 (SG) with ESMTP id 14c0fc8e494.1b8c.20251 for ; Thu, 12 Mar 2015 20:59:26 +0000 (UTC) Received: (qmail 40075 invoked from network); 12 Mar 2015 20:57:59 -0000 Received: from unknown (HELO clamshell.daemonology.net) (127.0.0.1) by ec2-107-20-205-189.compute-1.amazonaws.com with ESMTP; 12 Mar 2015 20:57:59 -0000 Received: (qmail 2288 invoked from network); 12 Mar 2015 20:57:09 -0000 Received: from unknown (HELO clamshell.daemonology.net) (127.0.0.1) by clamshell.daemonology.net with SMTP; 12 Mar 2015 20:57:09 -0000 Message-ID: <5501FDA5.9050903@freebsd.org> Date: Thu, 12 Mar 2015 13:57:09 -0700 From: Colin Percival User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: "Bradley T. Hughes" , freebsd-cloud@freebsd.org Subject: Re: FreeBSD/EC2 - MTU on xn0? References: <708D692E-ED5D-421F-94C3-1984B95E0296@fastmail.fm> In-Reply-To: <708D692E-ED5D-421F-94C3-1984B95E0296@fastmail.fm> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SG-EID: XhyBwObMhraAR+zdwMupjd7LSrZ36RouVZZW3oDOpB3CUiNYQ5mq5gKGTBgikFobZlQlz0rH9t5mqx t7vXQ/AF7XhLrj6/jhZ922YCQSnIhPGAVKOGn6hDqRATJ1DFFG2qY9mYrv9UEe79j4CW9ObIpF/nbX Xas4PqmYk0VIu7Flw0+lA5mBo/ZoPCf1kbUb X-BeenThere: freebsd-cloud@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "FreeBSD on cloud platforms \(EC2, GCE, Azure, etc.\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Mar 2015 20:59:56 -0000 On 03/12/15 13:29, Bradley T. Hughes wrote: > The AWS EC2 Instance Types documentation[1] says that the MTU for the network interfaces is dependent on the instance type. A post on the AWS forums[2] by an AWS representative states that the MTU configuration is available via DHCP. Huh, I did not know EC2 supported jumbo frames. > I noticed that all of our T2 instances running FreeBSD have an MTU of 1500. After searching around a bit, I found this patch[3]. I get the same results when running the reproduction steps in EC2, despite ifconfig(8) saying it's using an MTU of 9001. > > I'm wondering if the patch in 187094 is what's needed to make the xn0 interface on our FreeBSD instances use jumbo frames? I have absolutely no clue. This might be a question for -xen or -net since it's not specific to EC2 (and there are more people on those lists). -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid From owner-freebsd-cloud@FreeBSD.ORG Thu Mar 12 21:17:47 2015 Return-Path: Delivered-To: freebsd-cloud@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 46524EB2 for ; Thu, 12 Mar 2015 21:17:47 +0000 (UTC) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0EFE7C58 for ; Thu, 12 Mar 2015 21:17:46 +0000 (UTC) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 0D46C20A62 for ; Thu, 12 Mar 2015 17:17:44 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Thu, 12 Mar 2015 17:17:45 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h= x-sasl-enc:content-type:mime-version:subject:from:in-reply-to :date:cc:content-transfer-encoding:message-id:references:to; s= mesmtp; bh=eQqupl05QGPVY46aJVfI9QHEonM=; b=PDGZQ4I5vUJOB+Bfmz0VH vTxjstcJwKrD4vpsmn1lrLu7W4Cw6x98uYTZhvnUyahVqL5wvWc+L8yQcvvCIeu5 ZiOVR8P4PnAWd/T8jJSJxgCC0lrsxXeV/ogWK5OwYTkI52SH8oo7Gp6vkL8yB/YE llrTdezwGqLsJvDwAGlC/w= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:content-type:mime-version :subject:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to; s=smtpout; bh=eQqupl05QGPVY46aJVfI9QH EonM=; b=qcrhOqIi98jk7UKv2Xapp4L0l6NqFgsdePabgBeyTrS57pplvq1SxqP /3JJgxvOEHE5C8hyHWKVCLvtuUYhe7ceSjGgUG2uaiqzGg8RJnKQPfrwSOo9++wz iiqybAE/e3vU+DUDHNo6APIH+vqJlZGaIfqRIc+0ALVwhW6Pgxmo= X-Sasl-enc: CR83XvgzJxNjac/QKzqbKxpMqoeEzpF0blAfV0iZlBe6 1426195065 Received: from [192.168.0.5] (unknown [84.212.193.93]) by mail.messagingengine.com (Postfix) with ESMTPA id 3C820680130; Thu, 12 Mar 2015 17:17:45 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: FreeBSD/EC2 - MTU on xn0? From: "Bradley T. Hughes" In-Reply-To: <5501FDA5.9050903@freebsd.org> Date: Thu, 12 Mar 2015 22:17:43 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <708D692E-ED5D-421F-94C3-1984B95E0296@fastmail.fm> <5501FDA5.9050903@freebsd.org> To: Colin Percival X-Mailer: Apple Mail (2.2070.6) Cc: freebsd-cloud@freebsd.org X-BeenThere: freebsd-cloud@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "FreeBSD on cloud platforms \(EC2, GCE, Azure, etc.\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Mar 2015 21:17:47 -0000 > On 12 Mar 2015, at 21:57, Colin Percival wrote: >=20 > On 03/12/15 13:29, Bradley T. Hughes wrote: >> I'm wondering if the patch in 187094 is what's needed to make the xn0 = interface on our FreeBSD instances use jumbo frames? >=20 > I have absolutely no clue. This might be a question for -xen or -net > since it's not specific to EC2 (and there are more people on those = lists). I'll post my question there. Thanks for the tip :) -- Bradley T. Hughes bradleythughes@fastmail.fm