From: John Kacur <jkacur@redhat.com>
To: Crystal Wood <crwood@redhat.com>
Cc: Clark Williams <williams@redhat.com>, linux-rt-users@vger.kernel.org
Subject: Re: [PATCH] rteval: Use -j with make mrproper
Date: Fri, 26 Apr 2024 09:32:40 -0400 (EDT) [thread overview]
Message-ID: <6e918ff9-10c2-b9bd-e637-51e683f15b4c@redhat.com> (raw)
In-Reply-To: <20240424174526.190509-1-crwood@redhat.com>
On Wed, 24 Apr 2024, Crystal Wood wrote:
> This reduces the startup overhead somewhat.
>
> Signed-off-by: Crystal Wood <crwood@redhat.com>
> ---
> On my 12-cpu laptop the gain is about half of what
> https://lore.kernel.org/linux-rt-users/20240304211655.20174-4-crwood@redhat.com/
> does, but *shrug*
> ---
> rteval/modules/loads/kcompile.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/rteval/modules/loads/kcompile.py b/rteval/modules/loads/kcompile.py
> index de1539986723..f7a9c0084805 100644
> --- a/rteval/modules/loads/kcompile.py
> +++ b/rteval/modules/loads/kcompile.py
> @@ -248,7 +248,7 @@ class Kcompile(CommandLineLoad):
>
> # clean up any damage from previous runs
> try:
> - cmd = ["make", "-C", self.mydir, "mrproper"]
> + cmd = ["make", "-C", self.mydir, "-j", str(os.cpu_count()), "mrproper"]
> ret = subprocess.call(cmd, stdin=null, stdout=out, stderr=err)
> if ret:
> # if the above make failed, remove and reinstall the source tree
> --
Signed-off-by: John Kacur <jkacur@redhat.com>
prev parent reply other threads:[~2024-04-26 13:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-24 17:45 [PATCH] rteval: Use -j with make mrproper Crystal Wood
2024-04-26 13:32 ` John Kacur [this message]
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=6e918ff9-10c2-b9bd-e637-51e683f15b4c@redhat.com \
--to=jkacur@redhat.com \
--cc=crwood@redhat.com \
--cc=linux-rt-users@vger.kernel.org \
--cc=williams@redhat.com \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).