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.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,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 E1EF3C468BD for ; Sun, 9 Jun 2019 11:23:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BB6152146E for ; Sun, 9 Jun 2019 11:23:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728095AbfFILXo (ORCPT ); Sun, 9 Jun 2019 07:23:44 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:54877 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728080AbfFILXo (ORCPT ); Sun, 9 Jun 2019 07:23:44 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 9864C802AD; Sun, 9 Jun 2019 13:23:30 +0200 (CEST) Date: Sun, 9 Jun 2019 13:23:40 +0200 From: Pavel Machek To: kernel list , linux-acpi@vger.kernel.org, rui.zhang@intel.com, rjw@rjwysocki.net, viresh.kumar@linaro.org, linux-pm@vger.kernel.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, hpa@zytor.com, x86@kernel.org Subject: Re: 5.2-rc2: low framerate in flightgear, cpu not running at full speed, thermal related? Message-ID: <20190609112340.GA9966@amd> References: <20190609111732.GA2885@amd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+HP7ph2BbKc20aGI" Content-Disposition: inline In-Reply-To: <20190609111732.GA2885@amd> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org --+HP7ph2BbKc20aGI Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > When I start flightgear, I get framerates around 20 fps and cpu at > 3GHz: >=20 > pavel@duo:~/bt$ cat /proc/cpuinfo | grep MHz > cpu MHz : 3027.471 > cpu MHz : 2981.863 > cpu MHz : 2958.352 > cpu MHz : 2864.001 > pavel@duo:~/bt$ >=20 > (Ok, fgfs is really only running at single core, so why do both cores > run at 3GHz?) >=20 > But temperatures get quite high: >=20 > pavel@duo:~/bt$ sensors > thinkpad-isa-0000 > Adapter: ISA adapter > fan1: 4485 RPM >=20 > coretemp-isa-0000 > Adapter: ISA adapter > Package id 0: +98.0=B0C (high =3D +86.0=B0C, crit =3D +100.0=B0C) > Core 0: +98.0=B0C (high =3D +86.0=B0C, crit =3D +100.0=B0C) > Core 1: +91.0=B0C (high =3D +86.0=B0C, crit =3D +100.0=B0C) >=20 > And soon cpu goes to 1.5GHz range, with framerates going down to > 12fps. That's a bit low. >=20 > Room temperature is 26Celsius. >=20 > The CPU is Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz . I guess it means > it should be able to sustain both cores running at 2.5GHz? >=20 > Any ideas? Were there any recent changes in that area? I tried kernel compile. It keeps both cores at 3GHz, temperature goes up over 95C, and then cpus start going down to 2.3GHz... and then down to 2GHz... and down to 1.9GHz. watch bash -c 'sensors; cat /proc/cpuinfo | grep MHz' Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --+HP7ph2BbKc20aGI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlz87DwACgkQMOfwapXb+vJ+3ACff0GZCQt2TjeDl05+B/GBBH/u ddIAnjsej+rA5RBH1DR+B7d/uYIiIWfk =Gbox -----END PGP SIGNATURE----- --+HP7ph2BbKc20aGI--