From: Simon Horman Subject: Re: SDHC Read Performance Date: Thu, 20 Jan 2011 16:07:40 +0900 Message-ID: <20110120070738.GA32495@verge.net.au> References: <20110119000909.GA9412@verge.net.au> <20110119080542.GE1960@verge.net.au> <20110120033020.GA32120@verge.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-sh-owner@vger.kernel.org To: Magnus Damm Cc: linux-mmc@vger.kernel.org, linux-sh@vger.kernel.org, Arnd Hannemann , Guennadi Liakhovetski List-Id: linux-mmc@vger.kernel.org On Thu, Jan 20, 2011 at 01:01:04PM +0900, Magnus Damm wrote: > 1) Can you try a different SDHC Class 10 card? I'd just simply buy a > top-of-the-line SanDisk card myself and try that, but anything > different from what you're having is probably useful as a contrast. Sure, will do. > 2) How about the MMC4.0 down-clocking. Is there anything we can do > about that software-wise? As I understand it, the problem is that the SDHI allows a simple divisor to applied to a clock source. Effectively this means that the driver may use use 12Mhz, 24Mhz and 50Mhz. In the case of MMC the desired speed is 20Mhz, but the highest value from the list above that the driver can use is 12Mhz. As we discussed (offline) yesterday, it ought to be possible to change the frequency of the clock source. And in the case of the mackerel this can probably be done without disturbing anything else as there are per SHDI clock sources. I imagine it would be possible to manipulate the frequency such that MMC can be run closer to 20Mhz than 12Mhz. However, I am unsure if this would improve performance in any way.