[PATCH] Onenand Reset IOBE bit in SYS_CFG register in onenand_release
Kyungmin Park
kmpark at infradead.org
Mon Apr 27 23:59:40 EDT 2009
On Tue, Apr 28, 2009 at 12:54 PM, Gaurav Singh <gausinghnsit at gmail.com> wrote:
> Hi,
>
>> I think that the interrupt mode will help when there is high load on
>> the CPU. Will run tests in interrupt and polling mode in two
>> scenarios. 1. Copy of a large file to ONENAND with no CPU load. 2.
>> Copy of a Large file to ONENAND with an infinite loop running in the
>> background - this generates CPU load. Little bit busy today but will
>> run it and mail the results by tomorrow. In my opinion Scenario 2
>> should give better results in interrupt mode.
>
> Interrupt mode is giving better results than the normal polling mode.
> In terms of time taken to copy both the modes are taking the same time
> for both scenarios. But in the case of interrupt mode the CPU usage is
> coming out to be less as indicated by top. Average CPU usage in
> Scenario 2 is 40% for interrupt mode whereas it is 57% for polling
> mode.
>
Thank you for info.
Right, in view of CPU interrupt mode is better, but not much
performance gain. overall read/write performance.
Thank you,
Kyungmin Park
More information about the linux-mtd
mailing list