* [PATCH] rteval: Change the default kernel for kcompile to linux-6.6.1
@ 2023-11-09 20:45 John Kacur
2023-11-10 10:20 ` Sebastian Andrzej Siewior
0 siblings, 1 reply; 3+ messages in thread
From: John Kacur @ 2023-11-09 20:45 UTC (permalink / raw)
To: RT; +Cc: Clark Williams, John Kacur
Change the default kernel for kcompile to linux-6.6.1
Signed-off-by: John Kacur <jkacur@redhat.com>
---
Makefile | 2 +-
rteval/modules/loads/kcompile.py | 4 ++--
rteval/rteval.conf | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
index b73e8c13f3e5..14f74e087eff 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@ PREFIX := /usr
DATADIR := $(DESTDIR)/$(PREFIX)/share
LOADDIR := loadsource
-KLOAD := $(LOADDIR)/linux-6.1.8.tar.xz
+KLOAD := $(LOADDIR)/linux-6.6.1.tar.xz
BLOAD := $(LOADDIR)/dbench-4.0.tar.gz
LOADS := $(KLOAD) $(BLOAD)
diff --git a/rteval/modules/loads/kcompile.py b/rteval/modules/loads/kcompile.py
index 8be79ce630d5..0d025771e90e 100644
--- a/rteval/modules/loads/kcompile.py
+++ b/rteval/modules/loads/kcompile.py
@@ -20,7 +20,7 @@ expand_cpulist = CpuList.expand_cpulist
compress_cpulist = CpuList.compress_cpulist
nonisolated_cpulist = CpuList.nonisolated_cpulist
-DEFAULT_KERNEL_PREFIX = "linux-6.1"
+DEFAULT_KERNEL_PREFIX = "linux-6.6"
class KBuildJob:
'''Class to manage a build job bound to a particular node'''
@@ -334,7 +334,7 @@ class Kcompile(CommandLineLoad):
def ModuleParameters():
return {"source": {"descr": "Source tar ball",
- "default": "linux-6.1.8.tar.xz",
+ "default": "linux-6.6.1.tar.xz",
"metavar": "TARBALL"},
"jobspercore": {"descr": "Number of working threads per core",
"default": 2,
diff --git a/rteval/rteval.conf b/rteval/rteval.conf
index 79e28032dc6b..a4aad33e264f 100644
--- a/rteval/rteval.conf
+++ b/rteval/rteval.conf
@@ -18,7 +18,7 @@ dbench: external
stressng: module
[kcompile]
-source: linux-6.1.8.xz
+source: linux-6.6.1.xz
jobspercore: 2
[hackbench]
--
2.41.0
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] rteval: Change the default kernel for kcompile to linux-6.6.1
2023-11-09 20:45 [PATCH] rteval: Change the default kernel for kcompile to linux-6.6.1 John Kacur
@ 2023-11-10 10:20 ` Sebastian Andrzej Siewior
2023-11-10 21:03 ` John Kacur
0 siblings, 1 reply; 3+ messages in thread
From: Sebastian Andrzej Siewior @ 2023-11-10 10:20 UTC (permalink / raw)
To: John Kacur; +Cc: RT, Clark Williams
On 2023-11-09 15:45:54 [-0500], John Kacur wrote:
> diff --git a/Makefile b/Makefile
> index b73e8c13f3e5..14f74e087eff 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -18,7 +18,7 @@ PREFIX := /usr
> DATADIR := $(DESTDIR)/$(PREFIX)/share
> LOADDIR := loadsource
>
> -KLOAD := $(LOADDIR)/linux-6.1.8.tar.xz
> +KLOAD := $(LOADDIR)/linux-6.6.1.tar.xz
> BLOAD := $(LOADDIR)/dbench-4.0.tar.gz
> LOADS := $(KLOAD) $(BLOAD)
Instead of doing this every now and then you could first limit it to one
place and then build the remaining version coding from that point.
Once that works, step two would be to grab the current version number
from
https://www.kernel.org/finger_banner
\o/
Sebastian
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] rteval: Change the default kernel for kcompile to linux-6.6.1
2023-11-10 10:20 ` Sebastian Andrzej Siewior
@ 2023-11-10 21:03 ` John Kacur
0 siblings, 0 replies; 3+ messages in thread
From: John Kacur @ 2023-11-10 21:03 UTC (permalink / raw)
To: Sebastian Andrzej Siewior; +Cc: RT, Clark Williams
On Fri, 10 Nov 2023, Sebastian Andrzej Siewior wrote:
> On 2023-11-09 15:45:54 [-0500], John Kacur wrote:
> > diff --git a/Makefile b/Makefile
> > index b73e8c13f3e5..14f74e087eff 100644
> > --- a/Makefile
> > +++ b/Makefile
> > @@ -18,7 +18,7 @@ PREFIX := /usr
> > DATADIR := $(DESTDIR)/$(PREFIX)/share
> > LOADDIR := loadsource
> >
> > -KLOAD := $(LOADDIR)/linux-6.1.8.tar.xz
> > +KLOAD := $(LOADDIR)/linux-6.6.1.tar.xz
> > BLOAD := $(LOADDIR)/dbench-4.0.tar.gz
> > LOADS := $(KLOAD) $(BLOAD)
>
> Instead of doing this every now and then you could first limit it to one
> place and then build the remaining version coding from that point.
> Once that works, step two would be to grab the current version number
> from
> https://www.kernel.org/finger_banner
>
> \o/
>
> Sebastian
>
>
We have to use a default kernel version that we know works with our
current tool chain. Usually when I update the version it's because the
older kernel doesn't compile on the latest distribution. For that reason
though, we also can't just fetch the latest and greatest that we haven't
tested.
We have added tools in rteval to make fetching the kernel easier,
especially for upstream.
rteval -S [kernel-version]
will either fetch the kernel-version, or if that is omitted, it will fetch
the default-kernel version for rteval from kernel.org
I guess what we're lacking is an option to have kcompile use an indicated
kernel-version. This could be useful also for testing the version with
rteval.
John
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-11-10 21:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-09 20:45 [PATCH] rteval: Change the default kernel for kcompile to linux-6.6.1 John Kacur
2023-11-10 10:20 ` Sebastian Andrzej Siewior
2023-11-10 21:03 ` John Kacur
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox