Project

General

Profile

Bug #19941

katello-remove is very slow

Added by Evgeni Golov over 4 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tooling
Target version:
Difficulty:
easy
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

katello-remove is very slow during the RPM remove phase, as it removes every RPM in a separate yum call, instead of removing all at once.

Associated revisions

Revision 8fc138c0 (diff)
Added by Evgeni Golov over 4 years ago

Fixes #19941 - make katello-remove remove all RPMs in one go

A small benchmark on CentOS7 with 272 packages to be removed:

without the patch:

real    9m0.638s
user 4m8.864s
sys 0m31.247s

with the patch:

real    4m32.901s
user 1m14.804s
sys 0m15.476s

History

#1 Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello-packaging/pull/464 added

#2 Updated by Anonymous over 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#3 Updated by Eric Helms over 4 years ago

  • Legacy Backlogs Release (now unused) set to 250

Also available in: Atom PDF