clearlinux / mixer-tools

Software update mixer and related tools
Apache License 2.0
28 stars 37 forks source link

Improve parallel CPU utilization for package/file resolution #730

Closed jwakre closed 4 years ago

jwakre commented 4 years ago

Mixer parallelizes package/file resolution, but it only uses a single dnf installroot. This creates a serialized bottleneck because dnf only allows one process to concurrently access the dnf cache. By creating a separate dnf installroot for each goroutine, package and file resolution can better utilize multiple cores.