From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D62B8C43144 for ; Mon, 25 Jun 2018 09:49:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 909B925701 for ; Mon, 25 Jun 2018 09:49:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 909B925701 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ucw.cz Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755167AbeFYJty (ORCPT ); Mon, 25 Jun 2018 05:49:54 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:36023 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755103AbeFYJtw (ORCPT ); Mon, 25 Jun 2018 05:49:52 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id A3831804B7; Mon, 25 Jun 2018 11:49:49 +0200 (CEST) Date: Mon, 25 Jun 2018 11:49:49 +0200 From: Pavel Machek To: Tony Lindgren Cc: kernel list , linux-arm-kernel , linux-omap@vger.kernel.org, sre@kernel.org, nekit1000@gmail.com, mpartap@gmx.net, merlijn@wizzup.org Subject: Re: v4.18-rc1 on droid 4: very bad CPU performance Message-ID: <20180625094949.GA17001@amd> References: <20180621121542.GA4836@amd> <20180622072005.GF112168@atomide.com> <20180622074936.GG112168@atomide.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8t9RHnE3ZwKMSgU+" Content-Disposition: inline In-Reply-To: <20180622074936.GG112168@atomide.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --8t9RHnE3ZwKMSgU+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > > V4.18 is slower than it should be. > > >=20 > > > user@devuan:~$ time cat /dev/urandom | head -c 10000000 | bzip2 -9 - > > > | wc -c > > > 10044291 > > > 52.73user 2.40system 61.53 (1m1.534s) elapsed 89.60%CPU > > > user@devuan:~$ uname -a > > > Linux devuan 4.18.0-rc1-87964-gfa19934-dirty #743 SMP Sun Jun 17 > > > 19:26:37 CEST 2018 armv7l GNU/Linux > > >=20 > > > That bzip should take 12 seconds, not minute. > > >=20 > > > Any ideas? Do you see it, too? > >=20 > > I've noticed firefox is super slow.. Git bisect time? >=20 > Hmm not happening for me at least on duovero and droid4, > I'm getting about 20s for v4.17 and v4.18-rc1. Something weird is going on here. My notes say it should be 12 seconds. It is indeed 20 seconds for v4.17, but it is 12 seconds in v4.14. v4.14 is: # CONFIG_CPU_FREQ is not set CONFIG_CPU_IDLE=3Dy # CONFIG_CPU_IDLE_GOV_LADDER is not set CONFIG_CPU_IDLE_GOV_MENU=3Dy # CONFIG_ARM_CPUIDLE is not set In v4.18, I have: CONFIG_CPU_FREQ=3Dy CONFIG_CPU_FREQ_GOV_ATTR_SET=3Dy CONFIG_CPU_FREQ_GOV_COMMON=3Dy CONFIG_CPU_FREQ_STAT=3Dy CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=3Dy CONFIG_CPU_IDLE=3Dy CONFIG_CPU_IDLE_GOV_MENU=3Dy CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED=3Dy Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --8t9RHnE3ZwKMSgU+ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlswur0ACgkQMOfwapXb+vKhQACgrGFTcCBW/YNXoN9+czegpDxS mikAn1yfOKJwJhXspoJRWg86iz8itTRQ =opgR -----END PGP SIGNATURE----- --8t9RHnE3ZwKMSgU+--