[PATCH] MTD performance issues on XIP configuration.
David Woodhouse
dwmw2 at infradead.org
Tue Jun 27 09:40:59 EDT 2006
On Mon, 2006-06-26 at 16:37 +0100, Alexey Korolev wrote:
> Hi All,
>
> Current implementation of cfi_cmdset_0001 driver has serious performance issues in case of enabled MTD XIP configuration.
> Performance tests showed RAW write performance on XIP configuration ~60Kb/sec on Sibley (It should be over 400Kb/s)
> I investigated this problem:
> When we perform write or lock/unlock operation we call WAIT_TIMEOUT which passes chip_op_time = 0 to function xip_wait_for_operation. When zero timeout is passed to xip_wait_for_operation it automatically sets the usec = 500000 - and we send cpu to idle when it is unnecessary.
> To fix the issue I corrected the condition for sending CPU to idle.
>
> If you don't have any concerns regarding the following code could you please put it into the repository?
Code looks fine but please could you resubmit with an appropriate
Signed-off-by: line?
And how did you send your mail, btw? You should be sending from
akorolev at infradead.org rather than at any specific host.
--
dwmw2
More information about the linux-mtd
mailing list