From owner-freebsd-current@FreeBSD.ORG Mon Nov 10 11:27:25 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 9867B1065674 for ; Mon, 10 Nov 2008 11:27:25 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.230]) by mx1.freebsd.org (Postfix) with ESMTP id 57B068FC14 for ; Mon, 10 Nov 2008 11:27:25 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so2298684rvf.43 for ; Mon, 10 Nov 2008 03:27:25 -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=hdVYuuK1dZWyu1DaAORP/bjeYdpTG4yv9yaYsq0czHg=; b=rsg5lkV94g8wC5SHr1CVZCf/+hmCN4IIkJJYckdHbOXim3a8bQlhIg7z1bJXL4XNrB w6x0ihxfAMC4FpOmLTguPOk8ccVDeDqsH2KEKCbeubBg8GjM8v9TdMGZ9BDBElutsQ3+ OmtGNwnykbhyi6QLiw/LyTU4X6Wl7Kgdx4hDU= 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=TGOB2rFKfbzjTAaEaSdvT9ztjO/VNVg7Ibm/hsUMhARpUhyv+DypaSxH/tXeGuVsQr qg40GOfN1dkTPstiWDTWelc6ejGD+Hrl90ooWrwA0JHq+jgYGxMq6u1H+x/c4EA32G0o 6uVdyrlH7SZ1LnIZwp6VptNz7ClAeBYNN603s= Received: by 10.141.171.6 with SMTP id y6mr3521645rvo.1.1226316444986; Mon, 10 Nov 2008 03:27:24 -0800 (PST) Received: from michelle.cdnetworks.co.kr ([211.53.35.84]) by mx.google.com with ESMTPS id l31sm20602179rvb.2.2008.11.10.03.27.22 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 10 Nov 2008 03:27:24 -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 mAABPNvl024271 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 10 Nov 2008 20:25:23 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id mAABPNfJ024270; Mon, 10 Nov 2008 20:25:23 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Mon, 10 Nov 2008 20:25:23 +0900 From: Pyun YongHyeon To: Boris Samorodov Message-ID: <20081110112522.GN22162@cdnetworks.co.kr> References: <20081030040637.GA78796@cdnetworks.co.kr> <20081030114845.GE78796@cdnetworks.co.kr> <20081031034443.GF82781@cdnetworks.co.kr> <20081107064724.GA11486@cdnetworks.co.kr> <20081108052324.GD14970@cdnetworks.co.kr> <84265871@bb.ipt.ru> <20081110041229.GE22162@cdnetworks.co.kr> <39598641@bb.ipt.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <39598641@bb.ipt.ru> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@FreeBSD.org 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: Mon, 10 Nov 2008 11:27:25 -0000 On Mon, Nov 10, 2008 at 01:58:54PM +0300, Boris Samorodov wrote: > Pyun YongHyeon writes: > > On Sat, Nov 08, 2008 at 12:27:12PM +0300, Boris Samorodov wrote: > > > Pyun YongHyeon writes: > > > > [...] > > > > One user reported non-working NFS over UDP and I disabled Rx > > > > checksum offload as AR81xx hardware is not able to handle > > > > fragmented IP datagrams correctly. So it's highly recommended to > > > > disable Rx checksum offload or use the following updated files. > > > > > > > > http://people.freebsd.org/~yongari/ale/ale.20081108.tar.gz > > > > > > Tested at EeePC-1000. The perfomance dropped (seems to be expected) > > > twice -- to 5.5 MB/s (fetching a big file to tmpfs). Other than that > > > works fine. This is for: > > > ----- > > > ale0@pci0:4:0:0: class=0x020000 card=0x83241043 chip=0x10261969 rev=0xb0 hdr=0x00 > > > vendor = 'Attansic (Now owned by Atheros)' > > > class = network > > > subclass = ethernet > > > ----- > > > > Fortunately, I've managed to add work-around for Rx checksum > > offload issue. Would you try latest ale(4) at the fowllowing URL? > > http://people.freebsd.org/~yongari/ale/ale.20081110.tar.gz > > Great, thanks! The perfomance is returning back. ;-) It shows > approx. 10.5 MB/s while ftp'ing a big file to tmpfs. I'd like to show I didn't even expect such a quantum improvement! :-) > you some additional info: > ----- > uname -a ftp://ftp.bsam.ru/pub/tmp/EeePC/uname.2 > netstat -w 1 ftp://ftp.bsam.ru/pub/tmp/EeePC/netstat.ale.2 > sysctl dev.ale.0.stats ftp://ftp.bsam.ru/pub/tmp/EeePC/sysctl.ale.stats.2 > iostat -w 1 ftp://ftp.bsam.ru/pub/tmp/EeePC/iostat.ale.2 > ----- > > The interesting one is a netstat one. I'm not sure what zeroes for > packets mean while trafic exists. > Hmm, I also have no idea why netstat(1) shows such a non-sense value while transfer is in progress. I guess you can easily write a script that extracts interesting MAC statistics of ale(4). For example, sysctl dev.ale.0.stats.rx.good_frames sysctl dev.ale.0.stats.tx.good_frames Use 'sysctl -d dev.ale.0.stats' to get complete descriptoin of each node. > BTW, a flood ping created a 233 packets per second trafic. > Since ale(4) requires a lot of CPU cycles to saturate link, it may completely depend on your CPU power. -- Regards, Pyun YongHyeon