Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925213 - Make FEATURES="parallel-install" do something again (parallel merges while no compiles are running)
Summary: Make FEATURES="parallel-install" do something again (parallel merges while no...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on: 925481
Blocks: 184128 715110
  Show dependency tree
 
Reported: 2024-02-22 07:28 UTC by Sam James
Modified: 2024-04-28 00:32 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-22 07:28:26 UTC
In bug 663324, we implemented FEATURES="merge-wait" and made FEATURES="parallel-install" a noop for now.

Quoting portage-3.0.62's NEWS:
"""
* FEATURES: Add FEATURES="merge-wait", enabled by default, to control whether
  we do parallel merges of images to the live filesystem (bug #663324).

  If enabled, we serialize these merges.

  For now, this makes FEATURES="parallel-install" a no-op, but in future, it
  will be improved to allow parallel merges, just not while any packages are
  compiling.
"""

We should find a way for FEATURES=parallel-install to do something again, probably with parallel merges while no compiles are running.
Comment 1 Larry the Git Cow gentoo-dev 2024-02-27 03:12:57 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/portage.git/commit/?id=0896ede9663d1ffb10434ee163205e7d9a909667

commit 0896ede9663d1ffb10434ee163205e7d9a909667
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2024-02-26 00:12:13 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2024-02-27 02:52:19 +0000

    Scheduler: Support parallel-install with merge-wait
    
    For system packages, always serialize install regardless of
    parallel-install, in order to mitigate failures triggered
    by fragile states as in bug 256616. For other packages,
    continue to populate self._task_queues.merge, which will
    serialize install unless parallel-install is enabled.
    
    Fixes: 825db01b91a3 ("Add merge-wait FEATURES setting enabled by default")
    Bug: https://bugs.gentoo.org/256616
    Bug: https://bugs.gentoo.org/925213
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 lib/_emerge/PackageMerge.py |  4 ++--
 lib/_emerge/Scheduler.py    | 44 +++++++++++++++++++++++++++++++++-----------
 man/make.conf.5             |  9 ++++++---
 3 files changed, 41 insertions(+), 16 deletions(-)
Comment 2 Larry the Git Cow gentoo-dev 2024-04-28 00:32:43 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1e53b9368c215451e3af78b557d8b86a2db9677

commit f1e53b9368c215451e3af78b557d8b86a2db9677
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-04-28 00:31:29 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-04-28 00:31:29 +0000

    sys-apps/portage: add 3.0.64
    
    Closes: https://bugs.gentoo.org/925481
    Closes: https://bugs.gentoo.org/675748
    Closes: https://bugs.gentoo.org/712222
    Closes: https://bugs.gentoo.org/920330
    Closes: https://bugs.gentoo.org/925213
    Closes: https://bugs.gentoo.org/925863
    Closes: https://bugs.gentoo.org/925888
    Closes: https://bugs.gentoo.org/925907
    Closes: https://bugs.gentoo.org/926048
    Closes: https://bugs.gentoo.org/926221
    Closes: https://bugs.gentoo.org/927059
    Closes: https://bugs.gentoo.org/927632
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/portage/Manifest              |   1 +
 sys-apps/portage/portage-3.0.64.ebuild | 242 +++++++++++++++++++++++++++++++++
 2 files changed, 243 insertions(+)