PROBLEM: ARM Cache policy on single armv7 processor lead to low DRAM performance

Fabio Estevam festevam at gmail.com
Wed May 17 13:32:59 PDT 2017


Hi Zhao,

On Tue, May 16, 2017 at 1:06 AM, Zhao Yibin <ybzhao1989 at gmail.com> wrote:
> Hi, ARM maintainers,
>
> We met some DDR performance issue caused by armv7 cache policy, hope
> you can help.
> On a single armv7(Cortex-A7) processor system, the arm linux kernel,
> without CONFIG_SMP, the cache policy is set to write-back no-allocate,
> which lead to very low DRAM speed,
> around 7MB/s for write, 28MB/s for read.

I saw the same behaviour on a mx6ul, which also has a CortexA7.

To fix this issue we had to enable the SMP bit in the bootloader.

As a reference you can look at this U-Boot patch:
https://patchwork.ozlabs.org/patch/747074/



More information about the linux-arm-kernel mailing list