Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Minimal Install CD Slow compiling
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
ayeyes
Tux's lil' helper
Tux's lil' helper


Joined: 03 Dec 2017
Posts: 104

PostPosted: Wed May 30, 2018 7:36 pm    Post subject: [SOLVED] Minimal Install CD Slow compiling Reply with quote

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
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22035
Location: here

PostPosted: Wed May 30, 2018 7:48 pm    Post subject: Reply with quote

The compilation time should not depend on the type of installation medium
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
ayeyes
Tux's lil' helper
Tux's lil' helper


Joined: 03 Dec 2017
Posts: 104

PostPosted: Wed May 30, 2018 7:55 pm    Post subject: Reply with quote

fedeliallalinea wrote:
The compilation time should not depend on the type of installation medium


Something wrong with the kernel config maybe?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43395
Location: 56N 3W

PostPosted: Wed May 30, 2018 8:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
ayeyes
Tux's lil' helper
Tux's lil' helper


Joined: 03 Dec 2017
Posts: 104

PostPosted: Thu May 31, 2018 6:34 am    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22035
Location: here

PostPosted: Thu May 31, 2018 6:37 am    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43395
Location: 56N 3W

PostPosted: Fri Jun 01, 2018 11:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
ayeyes
Tux's lil' helper
Tux's lil' helper


Joined: 03 Dec 2017
Posts: 104

PostPosted: Sat Jun 02, 2018 7:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
ayeyes
Tux's lil' helper
Tux's lil' helper


Joined: 03 Dec 2017
Posts: 104

PostPosted: Mon Jun 04, 2018 11:17 am    Post subject: Reply with quote

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
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7133
Location: Saint Amant, Acadiana

PostPosted: Mon Jun 04, 2018 11:42 am    Post subject: Reply with quote

Use -q switch with emerge or emerge in a screen session if display slows you down.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
ayeyes
Tux's lil' helper
Tux's lil' helper


Joined: 03 Dec 2017
Posts: 104

PostPosted: Mon Jun 04, 2018 12:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5855

PostPosted: Mon Jun 04, 2018 2:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Mon Jun 04, 2018 5:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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