Re: Performance difference in mainline and downstream

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 3, 2021 at 3:49 PM Tony Lindgren <tony@xxxxxxxxxxx> wrote:
>
> Hi,
>
> * Mighty M <mightymb17@xxxxxxxxx> [210430 07:49]:
> > I have a Samsung Galaxy Tab 2 which has an OMAP 4430 clocked at 1Ghz,
> > with that there is quite some difference in performance when comparing
> > the mainline and downstream kernels. To confirm my suspicions I ran
> > UnixBench(https://github.com/kdlucas/byte-unixbench) on both of them,
> > the results are as follows -
> > 1) Downstream (running SailfishOS) - Kernel Source -
> > https://github.com/CyanogenMod/android_kernel_samsung_espresso10, I
> > get a result of 580.4 in dual-core and 292.9 in single core. I
> > compiled UnixBench manually.
> > 2) Mainline (running PostMarketOS) - Kernel Source -
> > https://github.com/MightyM17/linux_openpvrsgx/tree/letux-pvrsrvkm-5.12-rc1,
> > when using UnixBench package from PostMarketOS repo, I get a score of
> > 352.7 dual core and 192.7 single core, and compiling it myself and
> > then running gives the score 415.1 dual core and 209.9 single core.
> >
> > The downstream scores are quite high even beating Droid 4 which has
> > CPU clocked at 1.2Ghz when Tab 2 has it at 1 GHz.
> >
> > Why is there so much difference in mainline and downstream and what
> > can be done to improve the performance.
>
> If you have a good test case, it would be nice to narrow down the
> performance issue and fix it. My guess is that the following might
> help with the mainline Linux kernel built with omap2plus_defconfig:
>
> - Disable CONFIG_DEBUG in .config
>
> - Disable CONFIG_ARCH_OMAP2 in .config to disable the build options
>   for ARMv6
>
> If the above does not help, then let's look further in the L2
> settings for example.
>
> Regards,
>
> Tony
>
>

Hello, CONFIG_ARCH_OMAP2 is already disabled in my .config and I
couldnt find CONFIG_DEBUG.
https://pastebin.ubuntu.com/p/qKYpCPCk5Q/ here is my .config file.
Anyways it seems we need to look further now.
Thanks!



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux