The time now is Sun 17 Jan 2021, 02:07
All times are UTC - 4 |
Author |
Message |
radky
Joined: 02 May 2010 Posts: 981
|
Posted: Sat 26 Jan 2019, 23:43 Post subject:
|
|
bigpup wrote: | Sometime after version 2.7.3
Pup-Sysinfo stopped showing speed for each core in a CPU.
|
@bigpup, puppy_apprentice, oldaolgeezer, perdido, or other users
As time permits, please test the revised function file below.
Remove the fake gz extension and place the file as follows: /usr/local/Pup-SysInfo/func. Make file executable.
Thanks
EDIT: test file removed. Please see post below for current release of PupSysInfo.
http://murga-linux.com/puppy/viewtopic.php?p=579411#579411
_________________ PupMates
Last edited by radky on Mon 28 Jan 2019, 16:36; edited 1 time in total
|
Back to top
|
|
 |
gyro
Joined: 28 Oct 2008 Posts: 1799 Location: Brisbane, Australia
|
Posted: Sun 27 Jan 2019, 00:10 Post subject:
|
|
When I boot Bionicpup64 7.9.8 CE RC with the boot parameter "intel_pstate=disable", PupSysInfo shows the speed of each core.
When I boot Bionicpup64 7.9.8 CE RC without the boot parameter "intel_pstate=disable", PupSysInfo does not show the speed of each core.
gyro
|
Back to top
|
|
 |
perdido

Joined: 09 Dec 2013 Posts: 1601 Location: ¿Altair IV , Just north of Eeyore Junction.?
|
Posted: Sun 27 Jan 2019, 01:53 Post subject:
|
|
radky wrote: | bigpup wrote: | Sometime after version 2.7.3
Pup-Sysinfo stopped showing speed for each core in a CPU.
|
@bigpup, puppy_apprentice, oldaolgeezer, perdido, or other users
As time permits, please test the revised function file below.
Remove the fake gz extension and place the file as follows: /usr/local/Pup-SysInfo/func. Make file executable.
Thanks |
Hi radky, No changes in my upupbb-18.05 system with Pupsysinfo-2.8.1
Works and provides the same data, all good.
I notice a difference between Freq. scaling driver of my system and bigpup's.
Mine is using Freq. scaling driver : acpi-cpufreq
bigpup is using Freq. scaling driver intel_pstate , the same as gyro and has the same problem with the intel_pstate driver enabled
that gyro references and supplies the fix for.
This thread about frequency scaling problems with intel_pstate seems related.
Xenialpup 7.5 32&64 bit cpu frequency scaling not working
.
|
Back to top
|
|
 |
bigpup

Joined: 11 Oct 2009 Posts: 13981 Location: S.C. USA
|
Posted: Sun 27 Jan 2019, 03:20 Post subject:
|
|
Quote: | As time permits, please test the revised function file |
Using Pup-Sysinfo 2.8.2
That file change fixed it for my computer.
Description |
|
Filesize |
82.7 KB |
Viewed |
330 Time(s) |

|
_________________ The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
Last edited by bigpup on Sun 27 Jan 2019, 03:25; edited 1 time in total
|
Back to top
|
|
 |
bigpup

Joined: 11 Oct 2009 Posts: 13981 Location: S.C. USA
|
Posted: Sun 27 Jan 2019, 03:24 Post subject:
|
|
Now I wonder about intel_pstate, after seeing what is being posted about it.
Quote: | When I boot Bionicpup64 7.9.8 CE RC with the boot parameter "intel_pstate=disable", PupSysInfo shows the speed of each core.
When I boot Bionicpup64 7.9.8 CE RC without the boot parameter "intel_pstate=disable", PupSysInfo does not show the speed of each core. |
Well, that worked for me also.
Pup-Sysinfo 2.8.2
Right now I am using "intel_pstate" with the new func file.
it also works to let all cores show speed.
Having fun radky?
Nothing has an affect on showing CPU max speed.
Still not showing that.
_________________ The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
|
Back to top
|
|
 |
gyro
Joined: 28 Oct 2008 Posts: 1799 Location: Brisbane, Australia
|
Posted: Sun 27 Jan 2019, 10:04 Post subject:
|
|
In Bionicpup64 7.9.8, I replaced the installed "func" file with the new one.
This seems to have fixed the issue for my machine.
I now get "Max speed" and "Current Speed of Core" for each core using either "acpi-cpufreq" or "intel_pstate".
Not sure if it's relevant, my CPU is an Intel i3.
gyro
|
Back to top
|
|
 |
Marv

Joined: 04 May 2005 Posts: 1265 Location: SW Wisconsin
|
Posted: Sun 27 Jan 2019, 11:06 Post subject:
|
|
Tested with func replacement in LxPupSc 19.01 +1 running the 4.20.4 64b kernel. PupSysInfo-2.8.1 in this pup. With either the intel_pstate or the acpi_cpufreq governors running, both the maximum cpu speed and the current core speeds are displayed correctly. Code: | ▶—— CPU ——◀
Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz
Socket Designation: Onboard
Manufacturer: Intel(R) Corporation
Voltage: 1.2 V
External Clock: 100 MHz
Max Speed: 2500 MHz
Current Speed of Core 0:800 MHz, 1:800 MHz, 2:1000 MHz, 3:800 MHz
Core Count: 2
Thread Count: 4
64-bit capable
Frequency governor : conservative
Freq. scaling driver : acpi-cpufreq |
Code: | ▶—— CPU ——◀
Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz
Socket Designation: Onboard
Manufacturer: Intel(R) Corporation
Voltage: 1.2 V
External Clock: 100 MHz
Max Speed: 2500 MHz
Current Speed of Core 0:925 MHz, 1:961 MHz, 2:870 MHz, 3:1387 MHz
Core Count: 2
Thread Count: 4
64-bit capable
Frequency governor : powersave
Freq. scaling driver : intel_pstate |
_________________ Pups currently in kennel Older LxPupSc and X-slacko-4.4 for my users; LxPupSc, LxPupSc64 and upupEF for me. All good pups indeed, and all running savefiles for look'n'feel only. Browsers, etc. solely from SFS.
|
Back to top
|
|
 |
radky
Joined: 02 May 2010 Posts: 981
|
Posted: Sun 27 Jan 2019, 15:29 Post subject:
|
|
@bigpup, puppy_apprentice, oldaolgeezer, perdido, gyro, Marv:
Thanks for your reports. Very much appreciated!
---
bigpup wrote: | Nothing has an affect on showing CPU max speed.
Still not showing that. |
PupSysInfo calls the dmidecode tool (DMI table decoder) to extract information about the system's hardware components including CPU maximum speed.
Code: | dmidecode -t 4 | grep 'Max Speed' |
Alternatively, you could try the lscpu tool which provides information about CPU speed.
Code: | lscpu | grep 'CPU max' |
If the dmidecode and lscpu utilities do not define CPU maximum speed, possibly your processor is not supported.
_________________ PupMates
|
Back to top
|
|
 |
puppy_apprentice

Joined: 07 Feb 2012 Posts: 300
|
Posted: Sun 27 Jan 2019, 16:18 Post subject:
|
|
Your last patch and
Code: | intel_pstate=disable |
as kernel option works.
bigpup doesn't see max speed of cores i see wrong speed for my N3050:
Quote: | The boost speed on the N3050 goes up to 2.16GHz, while the N3060 can go up to 2.48GHz. |
https://laptoping.com/cpus/product/intel-celeron-n3050/
PSI shows 2400Mhz.
will check this later in Bionic:
Code: | lscpu | grep 'CPU max' |
Tried in Xenial but there is not lscpu command. I've tried to download pet with util-linux but got errors.
BTW. On bigpup PSI picture i see speed of 2 cores, but max cores value is 16. Is this count hyperthreading (virtual cores?)
|
Back to top
|
|
 |
bigpup

Joined: 11 Oct 2009 Posts: 13981 Location: S.C. USA
|
Posted: Sun 27 Jan 2019, 18:57 Post subject:
|
|
I think some of this is dealing with different CPU's.
Quote: | BTW. On bigpup PSI picture i see speed of 2 cores, but max core count value is 16. Is this count hyperthreading (virtual cores?) |
That 16 number seems to me to be very wrong.
At most it should be 4.
intel_pstate=disable may not be something you really want to do.
Found this added info about it.
intel_pstate offers only two governors: powersave and performance.
Quote: | 1. intel_pstate can be disabled at boot-time with intel_pstate=disable or compile it out
2. the old problem with ondemand (and conservative) governors is and was, that they don't know the specific capabilities of the cpu
3. executing some tasks with highest-frequency possible is consuming less power, than taking more time with lower frequency e.g. arithmetic stuff
4. this is not true for all tasks e.g. loading something from main-memory
5. here comes intel_pstate: it knows how the specific cpu works and does it job better than a generic solution, also it seems to handle "boost" better
6. furthermore intel_pstate offers only two governors: powersave and performance
even "powersave" is faster than the generic acpi based approach with "performance" (maybe handles "boost" better)
also "performance" doesn't enforce the default frequency as "lower limit", like the old generic approch, but performance is anyway only ~ 1% faster |
_________________ The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
|
Back to top
|
|
 |
puppy_apprentice

Joined: 07 Feb 2012 Posts: 300
|
Posted: Sun 27 Jan 2019, 19:36 Post subject:
|
|
I've found that info:
Quote: | intel_pstate is a part of the CPU performance scaling subsystem in the Linux kernel (CPUFreq). It is a scaling driver for the Sandy Bridge and later generations of Intel processors. Note, however, that some of those processors may not be supported. |
source:
https://www.kernel.org/doc/html/v4.12/admin-guide/pm/intel_pstate.html
I wonder if my N3050 is suported by intel_pstate. Have tried to ask uncle Google but without any result.
|
Back to top
|
|
 |
radky
Joined: 02 May 2010 Posts: 981
|
Posted: Sun 27 Jan 2019, 20:00 Post subject:
|
|
puppy_apprentice wrote: | bigpup doesn't see max speed of cores i see wrong speed for my N3050 |
As noted in a prior post above, PupSysInfo uses the dmidecode tool to probe the system BIOS for information about PC hardware including CPU capabilites.
Information in the BIOS is provided by the system manufacturer and the reliability of this information may vary depending on the manufacturer. In other words, sometimes incorrect information in the dmidecode report is due to faulty BIOS information provided by the manufacturer.
_________________ PupMates
|
Back to top
|
|
 |
bigpup

Joined: 11 Oct 2009 Posts: 13981 Location: S.C. USA
|
Posted: Sun 27 Jan 2019, 22:25 Post subject:
|
|
No there is just no way that could happen!
Well this is a Chromebook I am using.
I am sure the bios is not very good at providing info on hardware.
I am just happy Puppy Linux will boot on it.
I tried lscpu | grep 'CPU max'
Quote: | root# lscpu | grep 'CPU max'
CPU max MHz: 2167.0000 |
So that gives the CPU max speed.
_________________ The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
|
Back to top
|
|
 |
radky
Joined: 02 May 2010 Posts: 981
|
Posted: Mon 28 Jan 2019, 16:32 Post subject:
Subject description: Pup-SysInfo-2.8.3 |
|
Pup-SysInfo-2.8.3
- Bugfix: In some scenarios, failed detection of CPU speed when the frequency scaling driver is intel_pstate (thanks puppy_apprentice and bigpup)
_________________ PupMates
|
Back to top
|
|
 |
puppy_apprentice

Joined: 07 Feb 2012 Posts: 300
|
Posted: Mon 28 Jan 2019, 18:34 Post subject:
|
|
Thx radky.
Maybe now off-topic but have made some more tests in Bionic:
Code: | lscpu | grep "CPU MHz\|CPU max\|CPU min" |
acpi_cpufreq_ondemand (read from BIOS: Power Technology: Energy Efficient, picture CPU1):
Code: | CPU MHz: 943.009
CPU max MHz: 1601.0000
CPU min MHz: 480.000 |
intel_pstate_powersafe (BIOS: Power Technology: Energy Efficient):
Code: | CPU MHz: 2024.458
CPU max MHz: 2160.0000
CPU min MHz: 480.0000 |
Description |
Power Technology: Custom, read somewhere that those options have some influence on intel_pstate governor, but i'm not sure so left Energy Efficient. |
Filesize |
84.03 KB |
Viewed |
113 Time(s) |

|
Description |
Power Technology: Energy Efficient |
Filesize |
83.88 KB |
Viewed |
117 Time(s) |

|
|
Back to top
|
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|