From owner-freebsd-performance@FreeBSD.ORG Wed Mar 18 08:03:17 2015 Return-Path: Delivered-To: freebsd-performance@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 9FE56F86 for ; Wed, 18 Mar 2015 08:03:17 +0000 (UTC) Received: from mail-we0-x22a.google.com (mail-we0-x22a.google.com [IPv6:2a00:1450:400c:c03::22a]) (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 29589D0C for ; Wed, 18 Mar 2015 08:03:17 +0000 (UTC) Received: by weop45 with SMTP id p45so25645936weo.0 for ; Wed, 18 Mar 2015 01:03:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=gZczPZnV6aqOmoZC2urXGf0eGJGuwrJKYMQaCIHxoDc=; b=p6uM3EQPhZki5WmU+6zesqYtXXkFtPIB839tiM4t/XR0EuRUzCzMchR65CyAllCX5L Mw71af6OLFllIdA8VFk5Dmq+qNkwIS3CttJYsbR9vLBwEgRviqqKovyA2+m/xfb23W1N axKzexnP7QaJLbkz/Dx0JXDphUqGV1LlCqElo1EWdQNc18OwrWUgr62ijSCoLY2KU0k6 CWIbiLUMCllPH1DnFUwl/qstQ/gij33NRjVSsO2ST9ZwVH+HoCyukxTp+WLCqVrB+ATg asJmAUOkAnd3D+dlqq+bRdmI6v8ac0xol+GqghnT1p5qYC79bSBLR3iW0AkYVCQjaMa8 HLJA== X-Received: by 10.181.12.105 with SMTP id ep9mr4419562wid.85.1426665795472; Wed, 18 Mar 2015 01:03:15 -0700 (PDT) Received: from localhost ([2a01:7e00::f03c:91ff:fe70:2696]) by mx.google.com with ESMTPSA id l9sm2000108wij.16.2015.03.18.01.03.14 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Mar 2015 01:03:14 -0700 (PDT) From: Malcolm Matalka To: freebsd-performance@freebsd.org Cc: Subject: Re: NAT under performing direct connection by 10x References: <87fv9bin7t.fsf@gmail.com> Date: Wed, 18 Mar 2015 08:03:13 +0000 In-Reply-To: (Atom Powers's message of "Wed, 11 Mar 2015 08:20:28 -0700") Message-ID: <87bnjqka0u.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2015 08:03:17 -0000 I have done some more experiments and determined the NAT issue is a complete red herring. It looks like the problem is the USB WiFi Dongle. It can receive at ~1 MB/s, but only push out at ~80 KB/s. I am in hostap mode so scping data into it works as expected but scp'ing data out of it does not. The primary two options are that I have configured the interface wrong or the driver has something going on in it. I plan on perusing freebsd-wireless and the Bugzilla for any indication. Perhaps, though, somewhere here has experienced a similar situation. The driver I am using: Mar 17 15:52:39 gizmo kernel: run0: <1.0> on usbus0 Mar 17 15:52:39 gizmo kernel: run0: MAC/BBP RT5390 (rev 0x0502), RF RT5370 (MIMO 1T1R), address 00:0f:60:03:b6:db Mar 17 15:52:39 gizmo kernel: ieee80211_load_module: load the wlan_amrr module by hand for now. Mar 17 15:52:39 gizmo kernel: wlan0: Ethernet address: 00:0f:60:03:b6:db Mar 17 15:52:39 gizmo kernel: run0: firmware RT3071 ver. 0.33 loaded /Malcolm