Open aruiz opened 7 years ago
I've been doing some profiling as building up the libsolv metadata takes a huge amount of time on ARMv7 (RPi2/3, Banana Pi, Cubieboard...):
[root@scw-733e10 libsolv-master]# dnf clean dbcache 2 files removed [root@scw-733e10 libsolv-master]# time dnf makecache Metadata cache created.
real 3m48.124s user 3m45.250s sys 0m2.800s
I've run valgrind both using libexpat and libxml2, I'm attaching both output files.
callgrind-expat.txt callgrind-libxml2.txt
As an additional comment, I'm pretty sure this is not I/O bound, CPU is at 100% during the operation and this is run on from an SSD nbd volume at scaleway.com's datacenter.
I've been doing some profiling as building up the libsolv metadata takes a huge amount of time on ARMv7 (RPi2/3, Banana Pi, Cubieboard...):
[root@scw-733e10 libsolv-master]# dnf clean dbcache 2 files removed [root@scw-733e10 libsolv-master]# time dnf makecache Metadata cache created.
real 3m48.124s user 3m45.250s sys 0m2.800s
I've run valgrind both using libexpat and libxml2, I'm attaching both output files.
callgrind-expat.txt callgrind-libxml2.txt