Linux-PM Archive on lore.kernel.org
 help / color / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: kernel list <linux-kernel@vger.kernel.org>,
	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?
Date: Sun, 9 Jun 2019 14:12:12 +0200
Message-ID: <20190609121212.GA4520@amd> (raw)
In-Reply-To: <20190609112340.GA9966@amd>

[-- Attachment #1: Type: text/plain, Size: 1962 bytes --]

Hi!

> > When I start flightgear, I get framerates around 20 fps and cpu at
> > 3GHz:
> > 
> > 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$
> > 
> > (Ok, fgfs is really only running at single core, so why do both cores
> > run at 3GHz?)
> > 
> > But temperatures get quite high:
> > 
> > pavel@duo:~/bt$ sensors
> > thinkpad-isa-0000
> > Adapter: ISA adapter
> > fan1:        4485 RPM
> > 
> > coretemp-isa-0000
> > Adapter: ISA adapter
> > Package id 0:  +98.0°C  (high = +86.0°C, crit = +100.0°C)
> > Core 0:        +98.0°C  (high = +86.0°C, crit = +100.0°C)
> > Core 1:        +91.0°C  (high = +86.0°C, crit = +100.0°C)
> > 
> > And soon cpu goes to 1.5GHz range, with framerates going down to
> > 12fps. That's a bit low.
> > 
> > Room temperature is 26Celsius.
> > 
> > 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?
> > 
> > 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'

Situation is very different with v4.6 distro based kernel.

CPU MHz is only getting values round to 100MHz. It does not go above
2.5GHz, but it does not go below 2.5GHz under the load, either.

ACPI adapter appears in sensors output.

Now I tried going to 5.2-rc4. It behaves the same as 5.2-rc2. Goes up
to 3GHz briefly but then down to 2.0GHz and below under load.

Ideas welcome.

Best regards,
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

  reply index

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-09 11:17 Pavel Machek
2019-06-09 11:23 ` Pavel Machek
2019-06-09 12:12   ` Pavel Machek [this message]
2019-06-09 13:55     ` Daniel Lezcano
2019-06-09 14:13     ` Zhang Rui
2019-06-11 10:12       ` Pavel Machek
2019-06-11 10:15         ` Viresh Kumar
2019-06-12  2:37 ` Doug Smythies
2019-06-12 21:44   ` Rafael J. Wysocki
2019-06-12 23:39     ` Doug Smythies
2019-06-13  8:11       ` Pavel Machek
2019-06-13  9:00         ` Rafael J. Wysocki
2019-06-13  8:52       ` Rafael J. Wysocki
2019-06-18  8:20         ` Doug Smythies
2019-06-18  8:34           ` Pavel Machek

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190609121212.GA4520@amd \
    --to=pavel@ucw.cz \
    --cc=bp@alien8.de \
    --cc=hpa@zytor.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=rjw@rjwysocki.net \
    --cc=rui.zhang@intel.com \
    --cc=tglx@linutronix.de \
    --cc=viresh.kumar@linaro.org \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-PM Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-pm/0 linux-pm/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-pm linux-pm/ https://lore.kernel.org/linux-pm \
		linux-pm@vger.kernel.org linux-pm@archiver.kernel.org
	public-inbox-index linux-pm

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-pm


AGPL code for this site: git clone https://public-inbox.org/ public-inbox