Hi Carsten
YUM uses sqlite metadata files and downloads if cache is cleared.
However, DNF uses xml metadata and DNF takes sometime to download, read, and convert to solv format.
filelists metadata file which is the larger among other metadata files (primary, other).
filelists.sqlite metadat file is smaller than filelist.xml file in our case, hence in case of yum you are not seeing much delay.
Usually even for DNF to read Toolbox metadata files we haven't seen it's taking more than minute.
You can try running some profiling to see where the delay is happening.
------------------------------
SANGAMESH
------------------------------
Original Message:
Sent: Tue July 11, 2023 04:11 AM
From: Carsten Stephan
Subject: dnf takes very long after cache clean
Hi SANGAMESH.
Any news?
Regards
Carsten
------------------------------
Carsten Stephan
------------------------------
Original Message:
Sent: Tue June 20, 2023 09:32 AM
From: SANGAMESH MALLAYYA
Subject: dnf takes very long after cache clean
Hi Carsten,
I have not seen DNF taking this much long time to update the repo data.
We will check from our side if there any issues.
------------------------------
SANGAMESH
Original Message:
Sent: Tue June 20, 2023 01:31 AM
From: Carsten Stephan
Subject: dnf takes very long after cache clean
Hi Sangamesh.
The first dnf-run after clean all takes 5 minutes as you see in the output.
With yum it takes only seconds, Both is on 2-Core LPARs on the same Power10-HEX machine.
Regards
Carsten
------------------------------
Carsten Stephan
Original Message:
Sent: Wed June 14, 2023 01:01 AM
From: SANGAMESH MALLAYYA
Subject: dnf takes very long after cache clean
Hi Carsten,
When we clear the cache, dnf has to read the repo data again and lot of paging activity happens.
More the size of repodata more paging activity.
We are also in process of reducing repo data size by removing many older rpms but to keep only latest two versions.
Ideally, it shouldn't take more than minute to complete reading the repodata. I guess it may also depend on the system configuration.
------------------------------
SANGAMESH