Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add FEATURES=pkgdir-index-trusted #447

Merged
merged 1 commit into from
Aug 31, 2019

Conversation

zmedico
Copy link
Member

@zmedico zmedico commented Aug 19, 2019

Trust that the PKGDIR index file is valid, meaning that no packages
have been manually added or removed since the last call to emaint --fix
binhost. This feature eliminates overhead involved with detection of
packages that have been manually added or removed, which significantly
improves performance in some cases, such as when PKGDIR resides on
a high-latency network file system.

Bug: https://bugs.gentoo.org/688902
Signed-off-by: Zac Medico zmedico@gentoo.org

@mattst88

@zmedico zmedico force-pushed the bug_688902_pkgdir-index-trusted branch from 139a5bb to dec0ddb Compare August 19, 2019 22:31
@mattst88
Copy link
Contributor

This works great. 2 minutes for 'time emerge world -vekp' down to 17 seconds on my system with 100ms of latency to the binpkg directory (NFS).

@zmedico zmedico force-pushed the bug_688902_pkgdir-index-trusted branch 2 times, most recently from 40e42d3 to 3183cda Compare August 20, 2019 01:53
Trust that the PKGDIR index file is valid, meaning that no packages
have been manually added or removed since the last call to emaint --fix
binhost. This feature eliminates overhead involved with detection of
packages that have been manually added or removed, which significantly
improves performance in some cases, such as when PKGDIR resides on
a high-latency network file system.

Bug: https://bugs.gentoo.org/688902
Signed-off-by: Zac Medico <zmedico@gentoo.org>
@zmedico zmedico force-pushed the bug_688902_pkgdir-index-trusted branch from 3183cda to fbbe0cf Compare August 31, 2019 03:50
@gentoo-bot gentoo-bot merged commit fbbe0cf into gentoo:master Aug 31, 2019
@zmedico zmedico deleted the bug_688902_pkgdir-index-trusted branch August 31, 2019 05:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants