Description of problem:
With F20 Alpha TC5 Live, anaconda pulls in dnf into the compose. After being inside the LiveCD for a moment, I noticed dnf taking considerable cpu time (it was a slow machine and it was quite visible). It seems that the makecache timer is running on LiveCD as well. That downloads repo metadata and performs some operations on them, probably. That a) slows down operation/installation b) uses more RAM (because the root disk is memory-mapped).
We should stop caching repo metadata on livecd, it's really not necessary. It can be achieved for example by using this systemd condition:
That should disable the service/timer on LiveCD.
Version-Release number of selected component (if applicable):
F20 Alpha TC5 Live
Steps to Reproduce:
1. boot F20 Alpha TC5 Live
2. wait 10 or more minutes, see top
3. check /var/cache/dnf
Hi Kamil, thanks for catching and reporting this. I've pushed a fix:
Will be included with dnf-0.4.1.
dnf-0.4.1-1.git55e6369.fc20 has been submitted as an update for Fedora 20.
Package dnf-0.4.1-1.git55e6369.fc20, librepo-1.1.0-1.fc20, hawkey-0.4.1-1.git6f35513.fc20, libcomps-0.1.3-5.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dnf-0.4.1-1.git55e6369.fc20 librepo-1.1.0-1.fc20 hawkey-0.4.1-1.git6f35513.fc20 libcomps-0.1.3-5.fc20'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
dnf-0.4.1 has been pushed and superseded. Closing this.