Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run file verification and package signature checking in parallel threads #703

Closed

Commits on May 10, 2019

  1. Run file verification in parallel threads

    Build librpm with OpenMP support, refactor the file loop to use the
    indexed rpmfiles objects instead of iterators.
    
    On my rusty old laptop, this tends to just slow things down unless
    things are hot in cache, in which case it roughly halves the running time.
    Might be worth more on SSD based setup.
    pmatilai committed May 10, 2019
    Copy the full SHA
    0ced611 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    b5da218 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2019

  1. Run rpmkeys -K package signature/digest checking in parallel

    On my laptop this roughly doubles the runtime with cold cache, and
    halves it with a hot cache: checking packages on loopback-mounted
    Fedora-Server-dvd-x86_64-28-1.1.iso image takes about 33s serially and
    60s in parallel when cold, and when hot, 20s serially and 10s parallel.
    pmatilai committed May 13, 2019
    Copy the full SHA
    a084d16 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    0814c18 View commit details
    Browse the repository at this point in the history