Re: v4.18-rc1 on droid 4: very bad CPU performance

From: Pavel Machek
Date: Wed Jul 04 2018 - 16:12:57 EST


Hi!

> > I was about to add "facepalm" emoji here, as disabling l2 cache is
> > major mistake. OTOH if you also see 20 seconds, then either there is
> > another problem, or you need to enable l2 cache, too (and I don't have
> > to feel too bad for misconfiguring it).
>
> OK. I checked and duovero runs only at 600MHz. I can only
> get down to 19 seconds with omap2plus_defconfig if I disable
> CONFIG_CPU_FREQ so the max speed is maintained from bootloader.
> Otherwise it runs at most at 1GHz, I think any higher speeds
> need smartreflex and voltage scaling working which we don't
> have in the mainline kernel. Not sure what happens with higher
> speeds with mainline kernel or if they are unsafe in the long
> run.
>
> Anyways, care to post your .config somewhere so I can see what
> the numbers are for me with it?

I'm attaching config I'm using for v4.18. In current boot, bzip2 takes
16 seconds.

user@devuan:~$ time cat /dev/urandom | head -c 10000000 | sudo nice
-n -19 bzip2 -9 - | wc -c
10044705
15.68user 0.53system 15.93 (0m15.931s) elapsed 101.82%CPU

I guess I should go back to v4.17 to get 12 seconds..?!

Confused,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: config.gz
Description: application/gzip

Attachment: signature.asc
Description: Digital signature