View previous topic :: View next topic |
Author |
Message |
fbeth n00b
Joined: 28 Feb 2023 Posts: 11
|
Posted: Mon Sep 02, 2024 10:20 am Post subject: Number of joob on very modern CPU |
|
|
Hello everybody,
After 8 years with my old laptop I decided it was time for an upgrade, I received the new computer today that has an Intel Core Ultra 7 155H. I looked at the specs online and it says that this CPU has 2 different type of cores : 6 Performance-cores and 8 Efficient-cores, for a total of 22 threads. I'm wondering if it's better to compile on 12 threads to only use the performance-cores or 22 to use all of them. If someone has experience with that kind of CPU I would be delighted if you could share about how you handle compilation. Please note that the computer has 32G of RAM so it won't be a problem for most packages. |
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1716 Location: Germany
|
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5086 Location: Bavaria
|
|
Back to top |
|
|
fbeth n00b
Joined: 28 Feb 2023 Posts: 11
|
Posted: Tue Sep 03, 2024 6:41 pm Post subject: |
|
|
I've settled with 20 threads, everything seems good. I'm using kernel 6.11 currently because it's the first version that supports my sound card. I might do a few benchmarks later, but no promise. |
|
Back to top |
|
|
spica Guru
Joined: 04 Jun 2021 Posts: 329
|
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5086 Location: Bavaria
|
|
Back to top |
|
|
fbeth n00b
Joined: 28 Feb 2023 Posts: 11
|
Posted: Wed Sep 04, 2024 11:27 am Post subject: |
|
|
So I did a small benchmark, nothing to fancy or complex. The CPU is an Intel Core Ultra 7 155H and I compiled my current kernel (6.11.0-rc6) two times, the first time with -j12 and the second time with -j20.
I was only running alacritty inside KDE Plasma 6 with the ppower cord plugged in. If you need more info or if you have any ideas in order to make better tests, feel free to share it with me.
-j12: 6min 34s
-j20: 5min 55s
That's almost a 10% time difference, it's not huge considering I used 8 more cores, but it shows that the E-cores are not that useful during heavy CPU tasks. pietinger mentioned that the scheduler should be better under kernel 6.11, it looks like the scheduler is prioritizing the P-cores. |
|
Back to top |
|
|
|