Howdy,

I don't recall seeing the thread on the forums but it sort of sounds a
lot like what I was reading on -dev as to why it is not.  Basically, it
would be a complex and difficult piece of code.  According to some, it
could even create problems that don't exist now, depending on what
dependencies may pop into the process.

It would be nice IF it could be done and really help with the time it
takes to calculate but it sounds like it might not even help much if it
was coded that way.  I guess it won't be done anytime soon.  It seems
like for good reason but it would be nifty. 

I might add, I think that forum thread was way earlier than the posts on
-dev.  I think the discussion on -dev was only a few years ago.  All in
all, the emerge command has come a long ways since I started uses Gentoo
back in 2003. 

Thanks for the info.

Dale

:-)  :-) 



Woohyung Jeon wrote:
> I can't be sure whether these links will help, but there were conversations.
>
> https://forums.gentoo.org/viewtopic-t-866779-start-0.html
> https://www.reddit.com/r/Gentoo/comments/68psrz/why_does_emerge_calculate_dependencies_on_a/
>
> On Fri, Dec 13, 2019 at 6:44 AM Dale <[email protected]> wrote:
>> james wrote:
>>> On 12/9/19 1:31 AM, Dale wrote:
>>>> Howdy,
>>>>
>>>> I'm sure trying to get portage to do things in parallel would be a
>>>> programmers nightmare.� It may not even be doable given how the
>>>> tree is
>>>> done or that the complexity of calculating all the options is just to
>>>> much to run in parallel.
>>> Hello Dale,
>>>
>>> Not sure this is what you are looking for, but it's pretty easy to set
>>> up.
>>>
>>>
>>> in my /etc/make.conf file I have this::
>>>
>>>
>>> MAKEOPTS="-j7 -l8"
>>>
>>>
>>> so it does what you are looking for on larger upgrades. Some files
>>> that do not compile properly, auto limit to one core. My understanding
>>> is there are a variety of mechanism to achieve this.
>>>
>>> The kernel version/setting surely has more options, but they are
>>> optimized according to the types of workloads and the scheduler you
>>> have selected. YOU or anyone can waist weeks and months going down
>>> that pathway.
>>>
>>> Then there are mechanisms to further refine how your system works.
>>>
>>>
>>> It's a wide open area so read up a bit and find your comfort level.
>>>
>>>
>>> hth,
>>> James
>>>
>>>
>>
>> I have that type of setting already.  What I was talking about is when
>> you do a emerge -uaDN world and it is calculating what packages needs
>> updating.  When it is doing that, it only uses one core, thread I guess
>> for those who have threads, which means having a multi-core CPU doesn't
>> help speed things up. Basically, my question was about the emerge
>> command itself not when it is actually compiling packages.
>>
>> I read where it was discussed on -dev a couple years or so ago.  I'm not
>> a coder but from what I could understand, it sounded really complicated
>> to have the emerge command able to run calculations in parallel.  It
>> seems there is a couple things that just can not be done that way.
>>
>> Maybe one day.  Just maybe.
>>
>> Dale
>>
>> :-)  :-)
>>
>


Reply via email to