diff mbox series

rteval: Change the default kernel for kcompile to linux-6.6.1

Message ID 20231109204554.98770-1-jkacur@redhat.com
State New
Headers show
Series rteval: Change the default kernel for kcompile to linux-6.6.1 | expand

Commit Message

John Kacur Nov. 9, 2023, 8:45 p.m. UTC
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(-)

Comments

Sebastian Andrzej Siewior Nov. 10, 2023, 10:20 a.m. UTC | #1
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
John Kacur Nov. 10, 2023, 9:03 p.m. UTC | #2
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
diff mbox series

Patch

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]