linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Mighty M <mightymb17@gmail.com>
Cc: linux-omap@vger.kernel.org
Subject: Re: Performance difference in mainline and downstream
Date: Mon, 3 May 2021 13:19:34 +0300	[thread overview]
Message-ID: <YI/ONvCE4RuUV6SC@atomide.com> (raw)
In-Reply-To: <CACLAQJFHyYESWO0_N8Qin8eY2moswN-eeWi5bHcRWhCJpjsjjg@mail.gmail.com>

Hi,

* Mighty M <mightymb17@gmail.com> [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



  reply	other threads:[~2021-05-03 10:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-30  7:49 Performance difference in mainline and downstream Mighty M
2021-05-03 10:19 ` Tony Lindgren [this message]
2021-05-04  6:02   ` Mighty M
2021-05-04 12:50     ` Tony Lindgren
2021-05-04 16:48       ` Dev Null
2021-05-05 12:04         ` Mighty M

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YI/ONvCE4RuUV6SC@atomide.com \
    --to=tony@atomide.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=mightymb17@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).