Received: by 10.223.185.116 with SMTP id b49csp3476682wrg; Mon, 19 Feb 2018 00:11:46 -0800 (PST) X-Google-Smtp-Source: AH8x2245wPDl0gf2BXGXI9XNbYqkzWm4m2o5DaaOCGP3O3TurO7XdGitjE4WLIr+BJHQUG+v7K7U X-Received: by 2002:a17:902:3183:: with SMTP id x3-v6mr13637369plb.290.1519027906473; Mon, 19 Feb 2018 00:11:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519027906; cv=none; d=google.com; s=arc-20160816; b=rHQyVbVagGvZU71G9jKP6jSr7BGjch5mjysJMO6T84rlSJVR0HCfIVZUcsfutpXvkB os+2dZVwnT0adXuN0EeaQqy8tOMlkVUBtONIORm+DfcKkA+dfUZ1dWl1tnmnFElo948y G5o68Cn3qDEqrmtngDrC7T3HQrXd90o/oNUH3aQ7tFyRK6KHTWlh+SiWqMNvnpdWCII3 S/BlD6LLd3eAuQ3cb7Bi20OA5bNskKCLS7gDiVjEovfA6sGy0+3S6EdTH4z08ArPvwGL S4sq8T+9DtFN2XV/v5jBqdcDFaXX2009qQg4b4mjHoBExlL8BvGzS7htQSeZjpOushAR FIoA== 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=XNVf+mud43xMqXAIC/I0F5QA+CMKnqGMuzHhDmAqidk=; b=M3cjXlPhan3FExUoOFYac8Rk8IcZD3k1hInMbuQvi589JF2ne6SzeJ+HDLeG6rtbEg YR0xoi2srJfJiGAPw9EwB7xfb9EPUpTCxOkyWQ+AflLmMwa0KKgu+GWJkZ2QqAfBEwLl JLEzFWcOuSlj71Y42F4fFmnkZrDM1/B0IXGA6VVftpSk52RhLUTpiErNV5jd5+wTrP+d EfrKGjyNZZGt5GiG7J5vfMF7fcirCEXeKuQBJBrtabmTYG86X/ORP5krV5HsTrrHMWGr j4FHmvyHGV+dsVSdCHgEztcj2EHoBNubgaG48XJ0smAzq0Un3KV0xIfviDv5vmjz7Y6o UUVA== 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 k128si5090440pgc.609.2018.02.19.00.11.32; Mon, 19 Feb 2018 00:11:46 -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 S1751998AbeBSIKx (ORCPT + 99 others); Mon, 19 Feb 2018 03:10:53 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:54400 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751628AbeBSIKw (ORCPT ); Mon, 19 Feb 2018 03:10:52 -0500 Received: by mail.free-electrons.com (Postfix, from userid 110) id 428FE20715; Mon, 19 Feb 2018 09:10:50 +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 (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id 0F92F20376; Mon, 19 Feb 2018 09:10:50 +0100 (CET) Date: Mon, 19 Feb 2018 09:10:50 +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: <20180219081050.vvfhnbw4foved2fb@flea.lan> References: <20180217142235.28541-1-embed3d@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="jrtnuvo447uvbywl" Content-Disposition: inline In-Reply-To: <20180217142235.28541-1-embed3d@gmail.com> User-Agent: NeoMutt/20171215 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --jrtnuvo447uvbywl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 faster > 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. 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. The only difference is going to be when you're idle or have a rather small CPU load. But then, you won't heat much in that case either. > With this patch we set the default frequency govenor to ondemand mode > and reduce the temperature when the cpu is idle and activate the thermal > throtteling. This patch doesn't activate the thermal throttling. Maxime --=20 Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering http://bootlin.com --jrtnuvo447uvbywl Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE0VqZU19dR2zEVaqr0rTAlCFNr3QFAlqKhokACgkQ0rTAlCFN r3RLww//WX03Qt3eETtgucMLWXAtLn+0wQfrMAHKQylgp1IfQK8h7CTzGN2OjXwo RDUnXTY0YeF0NI1/s7Bmrf/c4q2in8ODuWIhZRUbNSwg+jQy0rrZ6C7NmrZXQOuz lBkezs/QD6VGQ+UWs3VdyexAC3gYNRcmrk8v6RrC+hmcY7DZlxo9JU2SPNQ2qo3q mv4gD9iqtVlUlNoF78Rm+ECkLuI6/hQrCzO97/ozYdo783jWke7tJedbORM26J85 Tnas/hyb0nmQciZYXZ43C/UY6qwmvkswCIYUUVKyVnh4aceSH+KDFTC8Q7jTx26P eCjlueUrHXLGI4YYb3voHT7faXgDLpZWm3/PacCDfiPgA9JwlkTuSjzOiV/NP3WW +tlI32OL4q1rBfQwDsI58HzkfAeJ2iC/y0axrLkLaRi7KQ5MNyYo1j7aNglgADEc 79PSOpSohcPcoU6KTOs5nnUoqjiqMNKE1zbZ48O6ewyuU6TAi3d1aYlq56Km0MQI KYVagpcMvHD5mXK+/vx5TsdOuVazdhFWjQUrj8YGhMI3giIJDO0e7tSD79BzoNEG J9q80hkUZR79qk4nDB1NDv7HsOFYoOL8+5qkSWJR9aNmG4+fVAexrJVgIPX8Rpn0 uxnB9sIt0dpgVXmIKNIcLCYn5Zwwy+3HCth+WIusGk7cf1m/oxw= =WDUv -----END PGP SIGNATURE----- --jrtnuvo447uvbywl--