mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2022-09-04, 16:41   #683
kruoli
 
kruoli's Avatar
 
"Oliver"
Sep 2017
Porta Westfalica, DE

101001001112 Posts
Default

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.
kruoli is offline   Reply With Quote
Old 2022-09-05, 07:41   #684
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
"name field"
Jun 2011
Thailand

10,273 Posts
Default ... got a new toy ...

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 ), which are quite slow, low power, non-HT. Hopefully, not ARM or something, haha. Now it is in fashion to put some low power ARM cores everywhere....

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
LaurV is offline   Reply With Quote
Old 2022-09-05, 12:10   #685
Xyzzy
 
Xyzzy's Avatar
 
Aug 2002

100001011010002 Posts
Default

Quote:
Originally Posted by LaurV View Post
What is the best way to play P95 on a i7-1280P, with 16G RAM, and Win 10?
Do you need to lock Prime95 to the performance cores?

Xyzzy is offline   Reply With Quote
Old 2022-09-05, 12:50   #686
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

23·509 Posts
Default

Quote:
Originally Posted by Xyzzy View Post
Do you need to lock Prime95 to the performance cores?
One of the changelog items in v30.7 is
Quote:
Support for asymmetric processor architectures such as Intel's Alder Lake.
so I would assume that Prime95 is supposed to handle such things automatically(?)
James Heinrich is online now   Reply With Quote
Old 2022-09-05, 21:37   #687
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

3·11·13·19 Posts
Default

Quote:
Originally Posted by Prime95 View Post
I may try linking with hwloc 2.8.0 or 2.7.1 for you to test.
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.
Try HWLOC_CPUKINDS_RANKING=coretype
or HWLOC_CPUKINDS_MAXFREQ=adjust=0
Prime95 is offline   Reply With Quote
Old 2022-09-05, 21:54   #688
kruoli
 
kruoli's Avatar
 
"Oliver"
Sep 2017
Porta Westfalica, DE

24478 Posts
Default

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
...and...
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
No luck at all.
kruoli is offline   Reply With Quote
Old 2022-09-05, 23:18   #689
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

2·5,531 Posts
Default

Quote:
Originally Posted by kruoli View Post
Code:
$ HWLOC_CPUKINDS_RANKING=coretype lstopo --cpukinds
[SNIP...]
No luck at all.
Please forgive me if I'm telling you how to chew gum.

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.
chalsall is offline   Reply With Quote
Old 2022-09-06, 08:24   #690
kruoli
 
kruoli's Avatar
 
"Oliver"
Sep 2017
Porta Westfalica, DE

52716 Posts
Default

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
But to be extra sure I tried
Code:
export HWLOC_CPUKINDS_RANKING=coretype
lstopo --cpukinds
unset HWLOC_CPUKINDS_RANKING
export HWLOC_CPUKINDS_MAXFREQ=adjust=0
lstopo --cpukinds
with the same outcome as in my last post.
kruoli is offline   Reply With Quote
Old 2022-09-06, 16:00   #691
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

3·11·13·19 Posts
Default

Quote:
Originally Posted by kruoli View Post
No luck at all.
Was that lstopo from hwloc 2.8.0?
Prime95 is offline   Reply With Quote
Old 2022-09-06, 16:24   #692
kruoli
 
kruoli's Avatar
 
"Oliver"
Sep 2017
Porta Westfalica, DE

1,319 Posts
Default

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.
kruoli is offline   Reply With Quote
Old 2022-09-06, 16:31   #693
kruoli
 
kruoli's Avatar
 
"Oliver"
Sep 2017
Porta Westfalica, DE

1,319 Posts
Default

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.
kruoli is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
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

All times are UTC. The time now is 17:21.


Sat Jan 28 17:21:06 UTC 2023 up 163 days, 14:49, 0 users, load averages: 0.95, 1.09, 1.09

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔