From: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCHv2 0/2] Restore performance to rpm in Docker containers
Date: Thu, 31 May 2018 09:42:26 +0200 [thread overview]
Message-ID: <cover.1527752449.git.pkj@axis.com> (raw)
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
next reply other threads:[~2018-05-31 7:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-31 7:42 Peter Kjellerstedt [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1527752449.git.pkj@axis.com \
--to=peter.kjellerstedt@axis.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox