View previous topic :: View next topic |
Author |
Message |
ayeyes Tux's lil' helper


Joined: 03 Dec 2017 Posts: 104
|
Posted: Wed May 30, 2018 7:36 pm Post subject: [SOLVED] Minimal Install CD Slow compiling |
|
|
Tried it a few days ago, and it took ages to compile GCC with my Intel I3 Coffe Lake, compared to when I have used the Systemrescue CD. I noticed first something was wrong when I extracted the stage3 and portage snapshot, as it was very slow too. I had to break the installation, and start over again with Systemrescue CD.
Last edited by ayeyes on Mon Jun 04, 2018 2:32 pm; edited 3 times in total |
|
Back to top |
|
 |
fedeliallalinea Bodhisattva


Joined: 08 Mar 2003 Posts: 22700 Location: here
|
Posted: Wed May 30, 2018 7:48 pm Post subject: |
|
|
The compilation time should not depend on the type of installation medium _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
ayeyes Tux's lil' helper


Joined: 03 Dec 2017 Posts: 104
|
Posted: Wed May 30, 2018 7:55 pm Post subject: |
|
|
fedeliallalinea wrote: | The compilation time should not depend on the type of installation medium |
Something wrong with the kernel config maybe? |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 44198 Location: 56N 3W
|
Posted: Wed May 30, 2018 8:44 pm Post subject: |
|
|
ayeyes,
What CPU governor is set?
The powersave CPU governor fixes the clock at the lowest permitted frequency. That's good for laptops prone to overheating but very bad for compile times.
Code: | # cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
ondemand |
Code: | cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors | will show what's built in. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
ayeyes Tux's lil' helper


Joined: 03 Dec 2017 Posts: 104
|
Posted: Thu May 31, 2018 6:34 am Post subject: |
|
|
NeddySeagoon wrote: | ayeyes,
What CPU governor is set?
The powersave CPU governor fixes the clock at the lowest permitted frequency. That's good for laptops prone to overheating but very bad for compile times.
Code: | # cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
ondemand |
Code: | cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors | will show what's built in. |
Thank you NeddySeagoon!
I got 'no such file or directory'. There is Code: | /sys/devices/system/cpu/cpufreq | but it's empty. In Code: | /sys/devices/system/cpu/cpu0 | there is no 'cpufreq'.
Did a dmesg, and the output scrolled slow. |
|
Back to top |
|
 |
fedeliallalinea Bodhisattva


Joined: 08 Mar 2003 Posts: 22700 Location: here
|
Posted: Thu May 31, 2018 6:37 am Post subject: |
|
|
NeddySeagoon wrote: | The powersave CPU governor fixes the clock at the lowest permitted frequency. That's good for laptops prone to overheating but very bad for compile times. |
Also with intel p-state? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 44198 Location: 56N 3W
|
Posted: Fri Jun 01, 2018 11:15 pm Post subject: |
|
|
fedeliallalinea,
I don't know about Intel. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
ayeyes Tux's lil' helper


Joined: 03 Dec 2017 Posts: 104
|
Posted: Sat Jun 02, 2018 7:30 pm Post subject: |
|
|
Thanks to iamben @ #gentoo it's solved. Booting with gentoo-nofb did the trick.
How come?
Last edited by ayeyes on Mon Jun 04, 2018 11:24 am; edited 1 time in total |
|
Back to top |
|
 |
ayeyes Tux's lil' helper


Joined: 03 Dec 2017 Posts: 104
|
Posted: Mon Jun 04, 2018 11:17 am Post subject: |
|
|
I was told that installing with the mininal install cd and "gentoo-nofb" it could do serious harm to cpu by overheating, as it didn't have a "scaler" for my cpu (Intel i3 8350k).
Is that right?
With high framebuffer console with SystemrescueCD it's slow too, even though it has the powersave governor. |
|
Back to top |
|
 |
Jaglover Watchman


Joined: 29 May 2005 Posts: 7328 Location: Saint Amant, Acadiana
|
|
Back to top |
|
 |
ayeyes Tux's lil' helper


Joined: 03 Dec 2017 Posts: 104
|
Posted: Mon Jun 04, 2018 12:00 pm Post subject: |
|
|
Jaglover wrote: | Use -q switch with emerge or emerge in a screen session if display slows you down. |
Thank you Jaglover. I didn't have a load balancer when I tried it without nofb. Had 'MAKEOPTS="-j4'.
Will try with
Code: | MAKEOPTS="-j4 -l4"
EMERGE_DEFAULT_OPTS="--jobs=4 --load-average=4" |
which makes it quiet too.
+ That did the trick. Thanks once again.  |
|
Back to top |
|
 |
Ant P. Watchman

Joined: 18 Apr 2009 Posts: 6033
|
Posted: Mon Jun 04, 2018 2:42 pm Post subject: |
|
|
I wonder why nobody's stepped up to fix the fbcon drivers. It's always been slow but it's getting worse, probably costing years of lost productivity... |
|
Back to top |
|
 |
khayyam Watchman


Joined: 07 Jun 2012 Posts: 6228 Location: Room 101
|
Posted: Mon Jun 04, 2018 5:41 pm Post subject: |
|
|
Ant P. wrote: | I wonder why nobody's stepped up to fix the fbcon drivers. It's always been slow but it's getting worse, probably costing years of lost productivity... |
Ant P. ... sounds a lot like x11/mesa :) ... every update for the past two or more years has been worse than the last, using a terminal is like watching syrup in slow motion. I've come to the conclusion that older hardware, that at one point run linux/gentoo perfectly fine, nolonger does, because I need to be spending money (I don't have) to keep up with "developments".
best ... khay |
|
Back to top |
|
 |
|