On Thu, Sep 01, 2022 at 05:47:21PM -0000, Jaroslav Mracek wrote: > With loading or not loading file list it is not so easy or in general - > performance optimization is allways a trade one resource for another one or > for some features. DNF5 will provide a setting to not load file list, as well > to not create disk cache, or not using zchunk (already implemented in DNF). > How it can help? It allows to trade download for disk space and CPU, or RAM > for HDD, or RAM, HDD, CPU for features. And each user prefers or requires > different different things. > > Without file lists there will be not available some functionality: > 1 dnf install/repoquery/whatprovides <file outside of /etc and /usr/(s)bin> > => will not work > 2. resolve transaction can fail - keep in mind that people are not only using > packages from Fedora distribution.
Hmm, when this was discussed previously, the idea was that DNF would not load the extra metadata initially, but when in encounters a requirement for it, i.e. something refers to the paths outside of core list, it'd load the extra metadata, possibly downloading it, and restart the transaction. Having this predetermined by a config option doesn't sound nearly as nice… Zbyszek > For some users such a change can be a problem, for others not and they will > see benefits. DNF must provide a solution for all of them and DNF5 will but > there is only one default setting therefore some users will need to modify > dnf5 configuration to achieve what they need. _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue