Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 537484 - prepstrip: add another knob for controlling # of parallel jobs
Summary: prepstrip: add another knob for controlling # of parallel jobs
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 184128 835380
  Show dependency tree
 
Reported: 2015-01-23 21:12 UTC by Michał Górny
Modified: 2023-05-20 20:19 UTC (History)
1 user (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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-01-23 21:12:36 UTC
With high enough number of jobs (think of distcc) and large enough objects (LLVM), the post-install stripping can be real OOM-killer. I think the dangers of that much outweigh the benefits of doing strip in parallel.
Comment 1 Zac Medico gentoo-dev 2015-01-24 19:48:53 UTC
I guess we need a new configuration variable to control things like this, considering that distcc basically renders MAKEOPTS useless for this purpose.
Comment 2 SpanKY gentoo-dev 2015-06-02 15:02:00 UTC
removing parallel support from prepstrip is a non-starter.  it was implemented precisely because it was a significant bottleneck.  conversely, this is the first time i've heard of running into resource limits (with the code being 3 years old at this point).  i don't see why it's specific to stripping though ... surely any process that uses a lot of memory and in parallel (like linking a lot of large objects) would cause the same failure on a resource constrained system.