Linux-PM Archive on lore.kernel.org
 help / color / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Zhang Rui <rui.zhang@intel.com>, daniel.lezcano@linaro.org
Cc: kernel list <linux-kernel@vger.kernel.org>,
	linux-acpi@vger.kernel.org, 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: Tue, 11 Jun 2019 12:12:13 +0200
Message-ID: <20190611101213.GA4256@amd> (raw)
In-Reply-To: <1560089580.2363.10.camel@intel.com>

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

Hi!

I'm trying to provide all the required info below. Any ideas?

> > > > 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.

> what temperature does coretemp report?
> can you please provide the sensors output in 4.6 during kernel
> compiling?
> 
> can you attach the output of "grep . /sys/class/thermal/thermal*/*"
> when the temperature goes high in both kernels?

v5.2:
bash -c sensors;  cat /proc/cpuinfo

thinkpad-isa-0000
Adapter: ISA adapter
fan1:        4493 RPM

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +97.0°C  (high = +86.0°C, crit = +100.0°C)
Core 0:        +97.0°C  (high = +86.0°C, crit = +100.0°C)
Core 1:        +94.0°C  (high = +86.0°C, crit = +100.0°C)

cpu MHz         : 2351.857
cpu MHz         : 2351.920
cpu MHz         : 2351.980
cpu MHz         : 2352.036
pavel@duo:~$ cat /sys/devices/system/cpu/*/cpufreq/scaling_governor
powersave
powersave
powersave
powersave
pavel@duo:~$ grep . /sys/class/thermal/thermal*/* 2> /dev/null
/sys/class/thermal/thermal_zone0/available_policies:step_wise
/sys/class/thermal/thermal_zone0/mode:enabled
/sys/class/thermal/thermal_zone0/passive:0
/sys/class/thermal/thermal_zone0/policy:step_wise
/sys/class/thermal/thermal_zone0/temp:96000
/sys/class/thermal/thermal_zone0/trip_point_0_temp:99000
/sys/class/thermal/thermal_zone0/trip_point_0_type:critical
/sys/class/thermal/thermal_zone0/type:acpitz
pavel@duo:~$

v4.6:

acpitz-virtual-0
Adapter: Virtual device
temp1:        +96.0°C  (crit = +99.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:  +97.0°C  (high = +86.0°C, crit = +100.0°C)
Core 0:         +97.0°C  (high = +86.0°C, crit = +100.0°C)
Core 1:         +94.0°C  (high = +86.0°C, crit = +100.0°C)

thinkpad-isa-0000
Adapter: ISA adapter
fan1:        4493 RPM

cpu MHz         : 2501.000
cpu MHz         : 2501.000
cpu MHz         : 2501.000
cpu MHz         : 2501.000

pavel@duo:~$ cat /sys/devices/system/cpu/*/cpufreq/scaling_governor
ondemand
ondemand
ondemand
ondemand

pavel@duo:~$ grep . /sys/class/thermal/thermal*/* 2> /dev/null
/sys/class/thermal/thermal_zone0/available_policies:step_wise
/sys/class/thermal/thermal_zone0/mode:enabled
/sys/class/thermal/thermal_zone0/passive:0
/sys/class/thermal/thermal_zone0/policy:step_wise
/sys/class/thermal/thermal_zone0/temp:96000
/sys/class/thermal/thermal_zone0/trip_point_0_temp:99000
/sys/class/thermal/thermal_zone0/trip_point_0_type:critical
/sys/class/thermal/thermal_zone0/type:acpitz
pavel@duo:~$


-- 
(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
2019-06-09 13:55     ` Daniel Lezcano
2019-06-09 14:13     ` Zhang Rui
2019-06-11 10:12       ` Pavel Machek [this message]
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=20190611101213.GA4256@amd \
    --to=pavel@ucw.cz \
    --cc=bp@alien8.de \
    --cc=daniel.lezcano@linaro.org \
    --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
	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.git