From owner-freebsd-current@FreeBSD.ORG Fri Dec 12 03:40:50 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F06C1065672 for ; Fri, 12 Dec 2008 03:40:50 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.234]) by mx1.freebsd.org (Postfix) with ESMTP id 5012E8FC1F for ; Fri, 12 Dec 2008 03:40:50 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1179299rvf.43 for ; Thu, 11 Dec 2008 19:40:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:date:from :to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=wHPv22D/RwWqEndn7v1MYZsEXqHPKuk6c70JBDHXLNE=; b=IRBcGwQfaEqSqwDOemejhDCbizCQ9EEEV6wAlTzaWQMhF3hYbwXXyGS1gBS+rZ+rKb XOBa3xV75eZXv3yaq1w1zAUgtOgfDRbTFy/K4YNhBeVladFNzElMH4y0i/m/7ZIASiFg dRyNjLf+lIOMNJUpLZ4IQ9kAJUMmPorWHz5k0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=xVbAzmBSc49ne2AnFcXEQ0rL42z8cCyYlcY642pzAxn7tBWTYoneLLGqaPHP3L8G1y h/b+jM+an1bkBf0GBoWjPg0hqAnhEeRUXhXb/x+lhKqDMn170O6KfFfujlbFDhMupgPN IPFq9c/Aykg2kWy0BfMyTYD57FXtFZJMe7xiE= Received: by 10.141.88.3 with SMTP id q3mr1648444rvl.229.1229053249907; Thu, 11 Dec 2008 19:40:49 -0800 (PST) Received: from michelle.cdnetworks.co.kr ([211.53.35.84]) by mx.google.com with ESMTPS id k37sm17407294rvb.1.2008.12.11.19.40.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 11 Dec 2008 19:40:48 -0800 (PST) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id mBC3egap047572 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 12 Dec 2008 12:40:42 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id mBC3egsZ047571; Fri, 12 Dec 2008 12:40:42 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Fri, 12 Dec 2008 12:40:42 +0900 From: Pyun YongHyeon To: Josh Carroll Message-ID: <20081212034042.GL46707@cdnetworks.co.kr> References: <4910C055.8000505@janh.de> <20081105013558.GA99795@cdnetworks.co.kr> <20081203090658.GJ9639@cdnetworks.co.kr> <37502393@bb.ipt.ru> <20081206023016.GF22093@cdnetworks.co.kr> <539c60b90812081127s4ffb509fnea9d44d4298da666@mail.gmail.com> <8cb6106e0812081252j2b0c8e78g4dcecf8d3770c269@mail.gmail.com> <8cb6106e0812101745l54b23a08k7fbeddeb605f88ea@mail.gmail.com> <20081212020539.GI46707@cdnetworks.co.kr> <8cb6106e0812111923l15f1f715g6f20f5925e1d471a@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8cb6106e0812111923l15f1f715g6f20f5925e1d471a@mail.gmail.com> User-Agent: Mutt/1.4.2.1i Cc: Steve Franks , current-list freebsd Subject: Re: Call for testers: Atheros AR8121(L1E)/AR8113/AR8114(L2E) ethernet X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2008 03:40:50 -0000 On Thu, Dec 11, 2008 at 10:23:50PM -0500, Josh Carroll wrote: > > Would you show me the output of "sysctl dev.ale.0.stats"? > > Here is the output shortly after a reboot, before I try to stream anything: > > dev.ale.0.stats.rx.good_frames: 1843 > dev.ale.0.stats.rx.good_bcast_frames: 9 > dev.ale.0.stats.rx.good_mcast_frames: 0 > dev.ale.0.stats.rx.pause_frames: 0 > dev.ale.0.stats.rx.control_frames: 0 > dev.ale.0.stats.rx.crc_errs: 0 [...] > And after trying to stream (I let it struggle along for about 30-40 seconds): > > dev.ale.0.stats.rx.good_frames: 4350 > dev.ale.0.stats.rx.good_bcast_frames: 35 > dev.ale.0.stats.rx.good_mcast_frames: 0 > dev.ale.0.stats.rx.pause_frames: 3636 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > dev.ale.0.stats.rx.control_frames: 0 > dev.ale.0.stats.rx.crc_errs: 0 [...] I guess it's caused by flow-control frames. The flow-control feature is disabled in most drivers as mii(4) layer still lacks the feture. ale(4) has flow-control support code but it is in disabled state. When mii(4) is ready to handle flow-controls ale(4) may work better. em(4) does not rely on mii(4) layer so it implemented flow-controls in driver. You can check flow-control satus of em(4) with "sysctl dev.em.0.stats=1"(See XON/XOFF). -- Regards, Pyun YongHyeon