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.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,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 CEAC2C43142 for ; Tue, 26 Jun 2018 06:16:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 871DF2653D for ; Tue, 26 Jun 2018 06:16:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 871DF2653D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=atomide.com 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 S1751682AbeFZGQJ (ORCPT ); Tue, 26 Jun 2018 02:16:09 -0400 Received: from muru.com ([72.249.23.125]:49044 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751043AbeFZGQI (ORCPT ); Tue, 26 Jun 2018 02:16:08 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id A86E580E1; Tue, 26 Jun 2018 06:18:56 +0000 (UTC) Date: Mon, 25 Jun 2018 23:16:04 -0700 From: Tony Lindgren To: Pavel Machek 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: <20180626061604.GK112168@atomide.com> References: <20180621121542.GA4836@amd> <20180622072005.GF112168@atomide.com> <20180622074936.GG112168@atomide.com> <20180625094949.GA17001@amd> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180625094949.GA17001@amd> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Pavel Machek [180625 09:52]: > Hi! > > > > > V4.18 is slower than it should be. > > > > > > > > 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 > > > > > > > > That bzip should take 12 seconds, not minute. > > > > > > > > Any ideas? Do you see it, too? > > > > > > I've noticed firefox is super slow.. Git bisect time? > > > > 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=y > # CONFIG_CPU_IDLE_GOV_LADDER is not set > CONFIG_CPU_IDLE_GOV_MENU=y > # CONFIG_ARM_CPUIDLE is not set > > In v4.18, I have: > > CONFIG_CPU_FREQ=y > CONFIG_CPU_FREQ_GOV_ATTR_SET=y > CONFIG_CPU_FREQ_GOV_COMMON=y > CONFIG_CPU_FREQ_STAT=y > CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y > > CONFIG_CPU_IDLE=y > CONFIG_CPU_IDLE_GOV_MENU=y > CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED=y I gave it a quick try here with v4.14 and it was 21 seconds on 4430 duovero. But this was with omap2plus_defconfig. Regards, Tony