Hide Forgot
Description of problem: If you try to get a repolist via "yum repolist" it takes longer to display the repos from the cache than without the cache option Version-Release number of selected component (if applicable): yum-3.4.3-150.el7.noarch yum-rhn-plugin-2.0.1-6.el7.noarch Steps to Reproduce: 1. run "yum repolist" to ensure the repo is udpated 2. run: time yum repolist output: real 0m1.464s user 0m0.350s sys 0m0.061s 3. run: time yum repolist -C real 0m3.498s user 0m3.300s sys 0m0.157s Actual results: yum repolist -C takes 2.5 times the time of yum repolist to display the output of the repo list Expected results: yum repolist -C should be much faster than yum repolist Additional info: The repolist contains of: 17 Satellite channels 7 yum repos
I can't reproduce this. I'm getting roughly the same times for both with and without -C (it shouldn't be that much faster with -C anyway). Do you still experience this? If so, could you please run: 1) yum clean all 2) yum repolist 3) yum repolist --verbose and attach the output 4) yum repolist -C --verbose and attach the output
Created attachment 1222756 [details] yum repolist
Created attachment 1222757 [details] yum repolist -C
I have found the reason for the delay. If I only have satellite channels , yum repolist -C is double as fast as yum repolist . If I add a local yum repo additional to the satellite channels, the output looks really strange when using the -C option, and the duration is double as long as yum repolist (see output in attachment)
Thanks for the data, I'll take a look.