Return-path: Received: from yw-out-2324.google.com ([74.125.46.31]:26812 "EHLO yw-out-2324.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751632AbZEVA07 convert rfc822-to-8bit (ORCPT ); Thu, 21 May 2009 20:26:59 -0400 Received: by yw-out-2324.google.com with SMTP id 5so865133ywb.1 for ; Thu, 21 May 2009 17:27:00 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1242854588.7048.13.camel@localhost.localdomain> References: <60ce8d250905191048t46e3848fw3416ecd793dab9d1@mail.gmail.com> <20090519175336.GF2691@tuxdriver.com> <60ce8d250905200748p5984df0bl1984f0d3bdaf79b5@mail.gmail.com> <1242854588.7048.13.camel@localhost.localdomain> Date: Fri, 22 May 2009 08:27:00 +0800 Message-ID: <60ce8d250905211727m71f2d17eice895fa961d82e17@mail.gmail.com> Subject: Re: Throughput is not changed when setting to a much higher bit rate From: Dongas To: Dan Williams Cc: "John W. Linville" , linux-wireless@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: 2009/5/21 Dan Williams : > On Wed, 2009-05-20 at 22:48 +0800, Dongas wrote: >> 2009/5/20 John W. Linville : >> > On Wed, May 20, 2009 at 01:48:32AM +0800, Dongas wrote: >> > >> >> Why the bandwidth is not changed when bit rate is changed to 11Mb/s? >> >> Any thing wrong? >> > >> > More errors at higher bit rate, resulting in more retries? ?Just a >> > thought... >> > >> Is there a quick way to verify this possible reason? I'm using Libertas driver. >> >> BTW, my sdio host driver is using polling mode to handle SDIO IRQ. >> Could this be the cause of such poor performance? > > Definitely. ?With libertas, the largest class of issues by *far* that > we've seen are controller related. ?I seem to recall that I've pulled > about 6Mbps through the card using a normal Ricoh controller from a > Fujitsu laptop. ?I can recheck that. > Thanks for your info,Dan. For Libertas driver , do you know which reason would be the cause of the issue i encounterred? Basically if i set the bit rate of Marvell card to a much higher value such as 11Mb/s or even 48Mb/s, the HW should be capable of transferring in hign bit rate. However , the result from iperf indicates that the real bandwidth is remain around 1.1Mbps, even no improvement. It seems Marvell 8686 WiFi module will adjust the bit rate according to the real situation. So the bottleneck would be host side , HW or driver, right? If there a way for me to debug this issue in libertas driver to find out the root reason? If the issue is related to our HW, we would like to take some modifications on it. >> (However I just can't believe the performance is so poor ,only around >> 1.1Mbps, with polling mode of SDIO IRQ) There must be something wrong. Regards Dongas