From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/7 v3] autobuild: add config option to set niceness
Date: Sat, 28 Nov 2015 15:27:02 +0100 [thread overview]
Message-ID: <20151128152702.7949558a@free-electrons.com> (raw)
In-Reply-To: <f54d1b32d670e6b3db28e6810ad9ab1460176803.1448663846.git.yann.morin.1998@free.fr>
Yann,
On Fri, 27 Nov 2015 23:39:08 +0100, Yann E. MORIN wrote:
> When the machine running the autobuilder is shared, it is important
> that the autobuilder instances do not hog all of the CPU.
>
> Add an option to the configuration, so that the user can set the
> niceness to run the instances with. By default, the niceness is 0,
> which means the current niceness.
>
> Properly doing so would require setting up a container with proper
> CPU cgroup, but it's a bit complicated.
>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> ---
> scripts/autobuild-run | 10 +++++++++-
> 1 file changed, 9 insertions(+), 1 deletion(-)
Applied to buildroot-test, thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2015-11-28 14:27 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-27 22:39 [Buildroot] [PATCH 0/7 v3] autobuild: misc fixes and enhancements (branch yem/limits) Yann E. MORIN
2015-11-27 22:39 ` [Buildroot] [PATCH 1/7 v3] autobuild: add config option to set niceness Yann E. MORIN
2015-11-28 14:27 ` Thomas Petazzoni [this message]
2015-11-27 22:39 ` [Buildroot] [PATCH 2/7 v3] autobuild: store PID to PID file Yann E. MORIN
2015-11-28 14:27 ` Thomas Petazzoni
2015-11-27 22:39 ` [Buildroot] [PATCH 3/7 v3] conf: add a sample run-time configuration file Yann E. MORIN
2015-11-28 14:28 ` Thomas Petazzoni
2015-11-27 22:39 ` [Buildroot] [PATCH 4/7 v3] etc: add SysV-init startup script and sample config file Yann E. MORIN
2015-11-28 14:36 ` Thomas Petazzoni
2015-11-28 15:40 ` Yann E. MORIN
2015-11-27 22:39 ` [Buildroot] [PATCH 5/7 v3] autobuild: avoid infinite loop when sanitising the configuration Yann E. MORIN
2015-11-28 14:37 ` Thomas Petazzoni
2015-11-27 22:39 ` [Buildroot] [PATCH 6/7 v3] autobuild: add a function to check if the configuration is fixable Yann E. MORIN
2015-11-28 14:38 ` Thomas Petazzoni
2015-11-27 22:39 ` [Buildroot] [PATCH 7/7 v3] autobuild: check for Linaro toolchains earlier Yann E. MORIN
2015-11-28 14:38 ` Thomas Petazzoni
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=20151128152702.7949558a@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/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