Received: by 10.223.185.116 with SMTP id b49csp4633647wrg; Mon, 26 Feb 2018 23:14:02 -0800 (PST) X-Google-Smtp-Source: AG47ELtkSOqvnTOijDxCTzhbqndCh1q81KcJ2IYwqd2RFt5asx7r+H9vVjbwiffHwKLbEWxQ5G12 X-Received: by 10.99.42.207 with SMTP id q198mr2678270pgq.186.1519715642838; Mon, 26 Feb 2018 23:14:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519715642; cv=none; d=google.com; s=arc-20160816; b=pED5t2w2272qEWGEf/0KvAl0tZNATlwOPmD3cUq+/Vm8TKtMPzHeuzEm7dtoT/LZiB CyEHZUlyFf8++eXnGk1mXPdNv7KgJkDPslzsJ0URu5qyvjhZGSnyrLk9zo8cdilv3pUw 08HriZQlNAe+4q1Mj7BBbvZsiwtoewLScAcSKV1rzkTYlszHQ43IZpv/f6qPAztBejq2 C9I9xC5nyq9I9DSXXeaUXEhh0M9uK23NYJ1kxGrzXQeLXKs1kbOEdntXtRKabJ1pe2SR N397AfjT4Af9CO0lIyStdFKqEgo7l6snJUzugZDmUbMsoWsEEjpUCOxEhOd7bEE6M1sN e/iQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=hBdS5437LBfq2j8yNA/edeDgT/Cc6RovkW8c6sNbRqo=; b=HWBqsYcfMU2/o8xatpYZ3h3DCX+P5xqXmpr/aGdo5cPH5XWr3vhavnLY5/sbZ98PPF LubrnszC0GdL7TV09IBVfxHcE/TeWFryXV2peI12y5qJ0t546/ajYarE8ubn66cRvLut VG6VzfeBG9T4h0SBW1zXvz/Xqmv19NRE1NUA8g9t6uWkj7lP7+5rY7VMIiFCqljGkC5n 3JQm3+Ot6jmOKYUZAe1Zs3DTerOwmCh4iVuS7yCmBiQ1n5zCc3KpBPJKqot30/oQRTA6 X5pN8D5Qe8O6TdUXRB28/femxaXGA0vVXFfNuYytwUL+MZdoChoNEshKg+SmZsHUkEl9 FtjQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g5si6643620pgo.780.2018.02.26.23.13.48; Mon, 26 Feb 2018 23:14:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752332AbeB0HMs (ORCPT + 99 others); Tue, 27 Feb 2018 02:12:48 -0500 Received: from mail.bootlin.com ([62.4.15.54]:43830 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752314AbeB0HMn (ORCPT ); Tue, 27 Feb 2018 02:12:43 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id E8B3E2092C; Tue, 27 Feb 2018 08:12:40 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.free-electrons.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (unknown [185.94.189.187]) by mail.bootlin.com (Postfix) with ESMTPSA id 63BC420956; Tue, 27 Feb 2018 08:12:10 +0100 (CET) Date: Tue, 27 Feb 2018 08:12:11 +0100 From: Maxime Ripard To: Philipp Rossak Cc: linux@armlinux.org.uk, wens@csie.org, davem@davemloft.net, arnd@arndb.de, mchehab@kernel.org, clabbe.montjoie@gmail.com, rask@formelder.dk, krzk@kernel.org, sean@mess.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: Re: [RFC PATCH] ARM: configs: sunxi: Set ondemand govenor as default Message-ID: <20180227071211.4c5okbwcp5qjx4ok@flea> References: <20180217142235.28541-1-embed3d@gmail.com> <20180219081050.vvfhnbw4foved2fb@flea.lan> <15992664-76be-2584-0f8d-424eadc23925@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2xqif3dc46ew3mkr" Content-Disposition: inline In-Reply-To: <15992664-76be-2584-0f8d-424eadc23925@gmail.com> User-Agent: NeoMutt/20180223 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --2xqif3dc46ew3mkr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 26, 2018 at 10:29:29PM +0100, Philipp Rossak wrote: >=20 >=20 > On 19.02.2018 09:10, Maxime Ripard wrote: > > On Sat, Feb 17, 2018 at 03:22:35PM +0100, Philipp Rossak wrote: > > > Right now the performance govenor is the default frequency govenor on > > > sunxi devices. This causes some general problems. > > > When the cpu is idle the cpu runs with its maximum frequency. > > > This causes a higher cpu temperature in the idle state. When the cpu = is > > > now under load the cpu gets with that higher idle temperature now fas= ter > > > to its thermal limits. > > > An other big problem of the performace govenor is the missing > > > thermal throttling. Some tests with cpuburn resulted in a system crash > > > when the soc reached its thermal limits since no thermal throttling > > > occurred. > >=20 > > This won't change anything with cpuburn. While cpuburn will be > > running, ondemand will increase the frequency of the cores to the > > maximum frequency, putting yourself in the exact same situation. > > I see here a totally different behavior on the hardware (Bananapi M2, A31= s). > First ondemand increases the cpu frequency, when the maximum temperature = is > reached, then it throttles down the cpu step by step to its minimum. This is the thermal throttling, not the cpufreq governor. Maxime --=20 Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com --2xqif3dc46ew3mkr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE0VqZU19dR2zEVaqr0rTAlCFNr3QFAlqVBMoACgkQ0rTAlCFN r3S6ig//Yu36CVGyfUqGk2hGDK218HKJIjUxE1fCX4CyZuYfcK5CEH88sEd+70oM mIr/JSAi5mWymOUO8CrIE5/0ajQDbjo2x/lVsZdG6GuU/MpJUK8zc5wFuGKhg9wd YZsx6foZAGRvz47fhHb4YCdQLy+qtfqlOaKL8saHI8qzwff1iiFwhX+T1ZKBD3F2 QlN7gKESCzo+N94uOIzC8mFNWtXRtmJ2vaPd5yOCDFbHl+jZs70L0n46I1/OhAl6 Th5ks5kL+G+8Zn3PYfhC2VVZzgG2nIP9FWSsz5x4npGLd3UWMekOITOrj7aQHScy 8dvlc5MqPNThZDp3YN9UUO1Ju22csKgmiw9fF8A4smGokNTYLlfdexsVf/FhZYe0 zxrszPhEdckmcj+UBvy8eh9QVVBZGrvhdrJS8o+nniS6CWdC0OkoP8DKebpFF/Se JIQ0/98lwFWhHuTxCY4d5kH01RhJlr8CZL7nk7xzt4vUCXjhSWDoe94LJIdz49eJ eBMR9pkHgV4DgqI7oe1CblmPBJXvRITMeCDsnBPlARm03nOASbzkBDC7kH2bM+90 fHDn/qy5kL0bRGn/+WjCuLJ/zwIi9XsQEbE1WowOJh4JjBcO8mSBXM7lhVOmhLw5 3TCpdwMZSI4HYsEX2AIzcTYpbbwXmmknXsi+o+NgANDZyg57pQI= =gRQ4 -----END PGP SIGNATURE----- --2xqif3dc46ew3mkr--