Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Slow compilation time on meteor lake laptop
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
nxe9
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jun 2021
Posts: 119

PostPosted: Sat Nov 23, 2024 5:32 pm    Post subject: Slow compilation time on meteor lake laptop Reply with quote

Hi, compilation on my laptop seems to take too long for me. firefox needs about 60 minutes to build on my Ultra 155H. I can reproduce it. On my old desktop i7-4790k it takes about 50 minutes. All 22 threads are used at 100 % according to htop. What I notice is that on the laptop htop shows cpu usage in blue (low priority). I think that's the problem. I haven't configured any power management so far. I have no idea how the kernel manages this and why it decides for restrictions on a laptop. The laptop is constantly connected to the power supply. Or maybe it has something to do with the temperature of the laptop? However, I do not believe that a laptop with a powerful new processor is worse than 10-year-old cpu.

Should I make the settings using app-laptop/laptop-mode-tools or what is the best option?

Kernel: 6.11.10-gentoo-dist (sys-kernel/gentoo-kernel)
System is up to date
GUI: X11 / wm awesome with eloging starting in boot

Edit:
Quote:
To make use of Intel's Linux thermal daemon you first need to emerge sys-power/thermald and enable it via:

https://wiki.gentoo.org/wiki/Power_management/Guide/de

Quote:
thermald is a Linux daemon used to prevent the overheating of platforms. This daemon monitors temperature and applies compensation using available cooling methods.

By default, it monitors CPU temperature using available CPU digital temperature sensors and maintains CPU temperature under control, before HW takes aggressive correction action.

archlinux.org

I installed themald and added it via rc-config. I will compile again and see what the result will be.
Back to top
View user's profile Send private message
nxe9
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jun 2021
Posts: 119

PostPosted: Sat Nov 23, 2024 7:10 pm    Post subject: Reply with quote

Same result with sys-power/thermald. I gues I'll just have to try laptop-mode-tools.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5136
Location: Bavaria

PostPosted: Sat Nov 23, 2024 7:42 pm    Post subject: Reply with quote

How much RAM has your old i7 and your new notebook?
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
nxe9
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jun 2021
Posts: 119

PostPosted: Sat Nov 23, 2024 8:00 pm    Post subject: Reply with quote

Old i7 desktop: 32 GB
New Ultra 7 notebook: 96 GB
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5136
Location: Bavaria

PostPosted: Sat Nov 23, 2024 9:32 pm    Post subject: Reply with quote

nxe9 wrote:
New Ultra 7 notebook: 96 GB

Okay ... should be reasonably sufficient. :lol:

So, yes, the next you should check is the temperature.
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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