![]() |
![]() |
#683 |
"Oliver"
Sep 2017
Porta Westfalica, DE
101001001112 Posts |
![]()
My system has hwloc 2.4.1 installed. It seems like this version and also the version you have linked with both report 16 "normal" cores (see my last full hwloc post). I am glad to try another version, though.
|
![]() |
![]() |
![]() |
#684 |
Romulan Interpreter
"name field"
Jun 2011
Thailand
10,273 Posts |
![]()
What is the best way to play P95 on a i7-1280P, with 16G RAM, and Win 10? This toy is from the 12th generation, it has 6 "performance" cores, which are "normal", I mean, HT, high speed, etc., and 8 "economy" cores (they call them "efficient", but this is stupid and it looks like the others are not efficient
![]() Anyhow, Win10 reports 20 cores (which I guess, it is 6*2+8=20) but how to pair them, now idea, so for now I decided to run a single worker, in 4 cores. This seems to always find good cores and not smoke the laptop out (i.e. keep the temperature under control, in normal ranges, no throttling). Advice? Last fiddled with by LaurV on 2022-09-05 at 07:46 |
![]() |
![]() |
![]() |
#686 |
"James Heinrich"
May 2004
ex-Northern Ontario
23·509 Posts |
![]() |
![]() |
![]() |
![]() |
#687 |
P90 years forever!
Aug 2002
Yeehaw, FL
3·11·13·19 Posts |
![]()
Since version 2.8 of hwloc did not help let's read the HWLOC documentation on environment variables:
Code:
HWLOC_CPUKINDS_RANKING=default change the ranking policy for CPU kinds. hwloc tries to rank CPU kinds that are energy efficiency first, and then CPUs that are rather high-performance and power hungry. By default, if available, the OS-provided efficiency is used for ranking. Otherwise, the frequency and/or core types are used when available. This environment variable may be set to coretype+frequency, coretype+frequency_strict, coretype, frequency, frequency_base, frequency_max, forced_efficiency, no_forced_efficiency, default, or none. HWLOC_CPUKINDS_MAXFREQ=adjust=10 change the use of the max frequency in the Linux backend. hwloc tries to read the base and max frequencies of each core on Linux. Some hardware features such as Intel Turbo Boost Max 3.0 make some cores report slightly higher max frequencies than others in the same CPU package. Despite having slightly different frequencies, these cores are considered identical instead of exposing an hybrid CPU. Hence, by default, hwloc uniformizes the max frequencies of cores that have the same base frequency (higher values are downgraded by up to 10%). If this environment variable is set to adjust=X, the 10% threshold is replaced with X. If set to 1, max frequencies are not adjusted anymore, some homogeneous processors may appear hybrid because of this. If set to 0, max frequencies are entirely ignored. or HWLOC_CPUKINDS_MAXFREQ=adjust=0 |
![]() |
![]() |
![]() |
#688 |
"Oliver"
Sep 2017
Porta Westfalica, DE
24478 Posts |
![]() Code:
$ HWLOC_CPUKINDS_RANKING=coretype lstopo --cpukinds CPU kind #0 efficiency -1 cpuset 0x20002000 FrequencyMaxMHz = 5083 CPU kind #1 efficiency -1 cpuset 0x10001000 FrequencyMaxMHz = 5236 CPU kind #2 efficiency -1 cpuset 0x02000200 FrequencyMaxMHz = 5388 CPU kind #3 efficiency -1 cpuset 0x04000400 FrequencyMaxMHz = 5541 CPU kind #4 efficiency -1 cpuset 0x40004000 FrequencyMaxMHz = 5694 CPU kind #5 efficiency -1 cpuset 0x80008000 FrequencyMaxMHz = 5850 CPU kind #6 efficiency -1 cpuset 0x01000100 FrequencyMaxMHz = 6003 CPU kind #7 efficiency -1 cpuset 0x08000800 FrequencyMaxMHz = 6155 CPU kind #8 efficiency -1 cpuset 0x00080008 FrequencyMaxMHz = 6308 CPU kind #9 efficiency -1 cpuset 0x00020002 FrequencyMaxMHz = 6461 CPU kind #10 efficiency -1 cpuset 0x00800080 FrequencyMaxMHz = 6614 CPU kind #11 efficiency -1 cpuset 0x00200020 FrequencyMaxMHz = 6766 CPU kind #12 efficiency -1 cpuset 0x00100010 FrequencyMaxMHz = 6919 CPU kind #13 efficiency -1 cpuset 0x00040004 FrequencyMaxMHz = 7075 CPU kind #14 efficiency -1 cpuset 0x00410041 FrequencyMaxMHz = 7228 Code:
$ HWLOC_CPUKINDS_MAXFREQ=adjust=0 lstopo --cpukinds CPU kind #0 efficiency -1 cpuset 0x20002000 FrequencyMaxMHz = 5083 CPU kind #1 efficiency -1 cpuset 0x10001000 FrequencyMaxMHz = 5236 CPU kind #2 efficiency -1 cpuset 0x02000200 FrequencyMaxMHz = 5388 CPU kind #3 efficiency -1 cpuset 0x04000400 FrequencyMaxMHz = 5541 CPU kind #4 efficiency -1 cpuset 0x40004000 FrequencyMaxMHz = 5694 CPU kind #5 efficiency -1 cpuset 0x80008000 FrequencyMaxMHz = 5850 CPU kind #6 efficiency -1 cpuset 0x01000100 FrequencyMaxMHz = 6003 CPU kind #7 efficiency -1 cpuset 0x08000800 FrequencyMaxMHz = 6155 CPU kind #8 efficiency -1 cpuset 0x00080008 FrequencyMaxMHz = 6308 CPU kind #9 efficiency -1 cpuset 0x00020002 FrequencyMaxMHz = 6461 CPU kind #10 efficiency -1 cpuset 0x00800080 FrequencyMaxMHz = 6614 CPU kind #11 efficiency -1 cpuset 0x00200020 FrequencyMaxMHz = 6766 CPU kind #12 efficiency -1 cpuset 0x00100010 FrequencyMaxMHz = 6919 CPU kind #13 efficiency -1 cpuset 0x00040004 FrequencyMaxMHz = 7075 CPU kind #14 efficiency -1 cpuset 0x00410041 FrequencyMaxMHz = 7228 |
![]() |
![]() |
![]() |
#689 | |
If I May
"Chris Halsall"
Sep 2002
Barbados
2·5,531 Posts |
![]() Quote:
I have found that sometimes one needs to export a variable before it can be seen by following execution paths. It is interesting that the report is identical. There might be a bug in there somewhere. Might be a rabbit hole. Just throwing that out there. |
|
![]() |
![]() |
![]() |
#690 |
"Oliver"
Sep 2017
Porta Westfalica, DE
52716 Posts |
![]()
It should work fine this way. Example:
Code:
$ FIRMA="keine" bash # spawn a BASH subprocess $ env # this gets executed in the subprocess as a subsubprocess SHELL=/bin/bash TMUX=/tmp/tmux-1000/default,21541,0 PWD=/home/oliver LOGNAME=oliver XDG_SESSION_TYPE=tty FIRMA=keine MOTD_SHOWN=pam HOME=/home/oliver LANG=de_DE.UTF-8 <snip> PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus SSH_TTY=/dev/pts/0 _=/usr/bin/env Code:
export HWLOC_CPUKINDS_RANKING=coretype lstopo --cpukinds unset HWLOC_CPUKINDS_RANKING export HWLOC_CPUKINDS_MAXFREQ=adjust=0 lstopo --cpukinds ![]() |
![]() |
![]() |
![]() |
#691 |
P90 years forever!
Aug 2002
Yeehaw, FL
3·11·13·19 Posts |
![]() |
![]() |
![]() |
![]() |
#692 |
"Oliver"
Sep 2017
Porta Westfalica, DE
1,319 Posts |
![]()
No, that is not supplied by my package manager; I might have to try it by hand with your mprime version. I will give it a try.
|
![]() |
![]() |
![]() |
#693 |
"Oliver"
Sep 2017
Porta Westfalica, DE
1,319 Posts |
![]()
Good news! Using the custom mprime build with hwloc 2.8.0, HWLOC_CPUKINDS_RANKING=coretype gave the correct architecture. HWLOC_CPUKINDS_MAXFREQ=adjust=0 still showed wrong results.
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Do not post your results here! | kar_bon | Prime Wiki | 40 | 2022-04-03 19:05 |
what should I post ? | science_man_88 | science_man_88 | 24 | 2018-10-19 23:00 |
Where to post job ad? | xilman | Linux | 2 | 2010-12-15 16:39 |
Moderated Post | kar_bon | Forum Feedback | 3 | 2010-09-28 08:01 |
Something that I just had to post/buy | dave_0273 | Lounge | 1 | 2005-02-27 18:36 |