On Wed, 24 Apr 2024, Crystal Wood wrote: > This reduces the startup overhead somewhat. > > Signed-off-by: Crystal Wood <crwood@xxxxxxxxxx> > --- > On my 12-cpu laptop the gain is about half of what > https://lore.kernel.org/linux-rt-users/20240304211655.20174-4-crwood@xxxxxxxxxx/ > 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@xxxxxxxxxx>