Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Faster world updates
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
LimboSilentDream
n00b
n00b


Joined: 11 Dec 2018
Posts: 1
Location: Earth

PostPosted: Tue Dec 11, 2018 7:33 am    Post subject: Faster world updates Reply with quote

I have installed Gentoo many times in the past, but I can never get over how long it takes to update the entire world set during the initial install,is this step necessary and if so,is there some way to speed up the process besides adding MAKEOPTS to make.conf? :x
_________________
Is free will real or just an illusion? I may choose how to compile my system, but it is the system that chooses how it wants to compile me
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7127
Location: almost Mile High in the USA

PostPosted: Tue Dec 11, 2018 8:36 am    Post subject: Reply with quote

It is one of the characteristics of a "source based distribution" where you download source code as the basis for how your system is built. If you don't want to do this, you can download binary packages instead though you probably should look into other distributions that are based off of binaries.

Your compilation speed is dependent on your processor speed, and ultimately you fight the battle developers fight when they compile their creations too - it takes them a long time to build from scratch, even with fast machines. If you already set your MAKEOPTS to an optimal -j and -l settings for your machine, other than adding external helper machines with distcc, that's about as fast as it will be to build your box.

Remember updating your machine will require the same framework as the initial install, so keep this in mind when maintaining your machine.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Tue Dec 11, 2018 9:46 am    Post subject: Reply with quote

LimboSilentDream,

At initial @world as per the handbook, the world set is empty. You are really updating the @system set in line with your selected profile.

Its slow because emerge cannot parallelise different packages. MAKEOPTS still works.
The system set is always assumed to be installed, so system set members do not have completely described dependencies in their ebuilds.
This solves a the otherwise intractable problem about what to do about circular dependencies.
e.g. glibc depends on gcc but gcc needs glibc ... there are many others.

Thus glibc and gcc (and others) rarely appear as dependencies in ebuilds unless certain minimal versions are required.
Pedantically, they should be in every ebuild of course ... then you get the circular dependencies issue.

This job serialisation in incurred whenever @system set members are updated because portage cannot completely resolve the dependencies to determine what can be parallelised.
This is the --jobs option to emerge.
_________________
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
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