From owner-freebsd-current@FreeBSD.ORG Wed Mar 9 03:07:41 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1CC216A4CE for ; Wed, 9 Mar 2005 03:07:41 +0000 (GMT) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66E3643D60 for ; Wed, 9 Mar 2005 03:07:41 +0000 (GMT) (envelope-from sam@errno.com) Received: from [66.127.85.89] ([66.127.85.89]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.6) with ESMTP id j2937cms056147 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 8 Mar 2005 19:07:40 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <422E68AA.9040504@errno.com> Date: Tue, 08 Mar 2005 19:08:26 -0800 From: Sam Leffler Organization: Errno Consulting User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Marcin Jessa References: <20050309025313.090eecd7.lists@yazzy.org> In-Reply-To: <20050309025313.090eecd7.lists@yazzy.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: current@freebsd.org Subject: Re: ath_rate_onoe and ath_rate_amrr X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2005 03:07:41 -0000 Marcin Jessa wrote: > Hi. > > What are the exact functions of ath_rate_onoe and ath_rate_amrr ? How do they differ? > > UPDATING says just a little: > > 20041201: > The ath driver has been updated to split the tx rate control > algorithm into a separate module. You need to include either > ath_rate_onoe or ath_rate_amrr when configuring the kernel. > > > The api is defined in sys/dev/ath/if_athrate.h. Since this api is internal to the ath driver I've not done a manual page. As to the difference between the modules, ath_rate_onoe is the algorithm that's been used forever. ath_rate_amrr is an alternative algorithm that is purported to be better. It so happens that Josh Bicket has just come out with a new rate control algorithm that looks to be an improvement over both and as soon as we resolve some issues I intend to commit it to -current for folks to try instead of the onoe algorithm. If it pans out we'll make it the default. Sam