Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge jobs with binary packages?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
logrusx
Veteran
Veteran


Joined: 22 Feb 2018
Posts: 1547

PostPosted: Sat Mar 23, 2024 3:30 pm    Post subject: emerge jobs with binary packages? Reply with quote

Are parallel emerge jobs being plagued by a bottleneck? I don't see multiple packages being merged:

Code:
>>> Installing (53 of 1573) acct-group/systemd-journal-remote-0-r3::gentoo
>>> Completed (53 of 1573) acct-group/systemd-journal-remote-0-r3::gentoo
>>> Installing (54 of 1573) acct-group/nobody-0-r2::gentoo
>>> Completed (54 of 1573) acct-group/nobody-0-r2::gentoo
>>> Installing (55 of 1573) acct-group/portage-0-r2::gentoo


This goes on and on, two lines at once completed immediately followed by installing then pause and the next pair of lines, the jobs have been started long ago. I thought since it doesn't have much work to do it would be merging them faster but am I wrong?

Best Regards,
Georgi
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9533
Location: beyond the rim

PostPosted: Sat Mar 23, 2024 9:37 pm    Post subject: Reply with quote

Merging simply can't be parallized in a safe way as every merge process alters the system state (unlike build jobs that are isolated). Also it is questionable if you'd actually see major performance improvements anyway as they'd usually all end up hammering the same storage device.
Back to top
View user's profile Send private message
logrusx
Veteran
Veteran


Joined: 22 Feb 2018
Posts: 1547

PostPosted: Sun Mar 24, 2024 6:06 am    Post subject: Reply with quote

But it still happens noticeably slow? Is there something different about merging binary packages? For smaller packages it's sure seem to take more time than source based build.

Best Regards,
Georgi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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