Skip to content

Restore performance to rpm in Docker containers

Peter Kjellerstedt openembedded-core 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Revert "rpm: add a patch to help with Docker performance issues"meta/recipes-devtools/rpm/files/0001-Revert-Set-FD_CLOEXEC-on-opened-files-before-exec-fr.patch meta/recipes-devtools/rpm/rpm_4.14.1.bb+0 -500 replies
2/2rpm: Restore performance in Docker containersmeta/recipes-devtools/rpm/files/0001-Factor-out-and-unify-setting-CLOEXEC.patch meta/recipes-devtools/rpm/files/0002-Optimize-rpmSetCloseOnExec.patch meta/recipes-devtools/rpm/files/0003-rpmSetCloseOnExec-use-getrlimit.patch +1 more+304 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCHv2 0/2] Restore performance to rpm in Docker containers

A couple of weeks ago I sent the first version of this patch series to restore performance to rpm when building in a Docker container. That solution was not accepted, but after discussions with Alexander Kanavin and upstream, a proper solution has now been integrated to the Git repository for rpm.

This is the backport of the patches that went into the rpm repository to fix the performance problem.

//Peter

The following changes since commit 719d068bde55ef29a3468bc0779d4cb0c11e8c1d:

bitbake: fetch2: fix import error for Python 3.6.5 (2018-05-29 21:07:46 +0100)

are available in the git repository at:

git://push.yoctoproject.org/poky-contrib pkj/rpm-performance

Peter Kjellerstedt (2):
Revert "rpm: add a patch to help with Docker performance issues"
rpm: Restore performance in Docker containers

 ...0001-Factor-out-and-unify-setting-CLOEXEC.patch | 148 +++++++++++++++++++++
 ...FD_CLOEXEC-on-opened-files-before-exec-fr.patch |  49 -------
 .../files/0002-Optimize-rpmSetCloseOnExec.patch    | 100 ++++++++++++++
 .../0003-rpmSetCloseOnExec-use-getrlimit.patch     |  53 ++++++++
 meta/recipes-devtools/rpm/rpm_4.14.1.bb            |   4 +-
 5 files changed, 304 insertions(+), 50 deletions(-)
 create mode 100644 meta/recipes-devtools/rpm/files/0001-Factor-out-and-unify-setting-CLOEXEC.patch
 delete mode 100644 meta/recipes-devtools/rpm/files/0001-Revert-Set-FD_CLOEXEC-on-opened-files-before-exec-fr.patch
 create mode 100644 meta/recipes-devtools/rpm/files/0002-Optimize-rpmSetCloseOnExec.patch
 create mode 100644 meta/recipes-devtools/rpm/files/0003-rpmSetCloseOnExec-use-getrlimit.patch
Signature · 1 line
2.12.0