Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 536926

Summary: sys-apps/portage: reduce default emerge --backtrack setting
Product: Portage Development Reporter: Zac Medico <zmedico>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal CC: bircoph, esigra
Priority: Normal Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=491474
https://bugs.gentoo.org/show_bug.cgi?id=615680
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 491474    
Bug Blocks: 155723, 484436    

Description Zac Medico gentoo-dev 2015-01-17 22:47:47 UTC
The existing default emerge --backtrack=10 setting can lead to lots of wasted cpu time in cases where it will ultimately fail to find a valid solution anyway. So, I recommend that we reduce the default to --backtrack=3 or so.
Comment 1 Zac Medico gentoo-dev 2015-01-17 23:00:35 UTC
I have a patch in the following branch:

	https://github.com/zmedico/portage/tree/bug_536926

I've posted it for review here:

	http://thread.gmane.org/gmane.linux.gentoo.portage.devel/5098
Comment 2 Zac Medico gentoo-dev 2015-01-18 18:57:56 UTC
This is in the master branch now:

https://github.com/gentoo/portage/commit/1891388ea0ae0dd58903a71a3adc779731523601
Comment 3 Brian Dolbec (RETIRED) gentoo-dev 2015-02-12 06:11:15 UTC
Released in portage-2.2.16