Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCHv2 0/2] Restore performance to rpm in Docker containers
@ 2018-05-31  7:42 Peter Kjellerstedt
  2018-05-31  7:42 ` [PATCHv2 1/2] Revert "rpm: add a patch to help with Docker performance issues" Peter Kjellerstedt
  2018-05-31  7:42 ` [PATCHv2 2/2] rpm: Restore performance in Docker containers Peter Kjellerstedt
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Kjellerstedt @ 2018-05-31  7:42 UTC (permalink / raw)
  To: openembedded-core

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

-- 
2.12.0



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-05-31  7:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-31  7:42 [PATCHv2 0/2] Restore performance to rpm in Docker containers Peter Kjellerstedt
2018-05-31  7:42 ` [PATCHv2 1/2] Revert "rpm: add a patch to help with Docker performance issues" Peter Kjellerstedt
2018-05-31  7:42 ` [PATCHv2 2/2] rpm: Restore performance in Docker containers Peter Kjellerstedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox