You are not logged in.
I was toying with the idea of building regular kernels just with the optimizations enabled.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
linux-pf is a kernel I found to be well performant too.
But yeah, normal kernels optimized would be great.
Offline
Done. Now providing generic-v2, generic-v3, and generic-v4.
% pacman -Sl repo-ck
repo-ck linux-generic-v2 5.14.1-1
repo-ck linux-generic-v2-headers 5.14.1-1
repo-ck linux-generic-v3 5.14.1-1 [installed]
repo-ck linux-generic-v3-headers 5.14.1-1
repo-ck linux-generic-v4 5.14.1-1
repo-ck linux-generic-v4-headers 5.14.1-1
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Cool! Apologies if this has been mentioned before, but what do the different versions mean?
Offline
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Dumb question, but is there a typo in the section you linked? Looks like v2 appears twice whereas I expect to see v3 in one of the rows, in the left column?
Offline
Nope legit typo, fixed.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I can provide feedback on generic-v2. It works.
DELL Inspiron 14-3452, 32GB emmc, 4 GB RAM
Offline
I'm using generic-v3 on my systems.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
OK gang, linux-ck is back. No MuQSS, but it includes CK's hrtimer patches and the 1000 Hz tick rate:
From https://ck-hack.blogspot.com/2021/08/51 … -once.html
Final word. If you want to get the most out of the mainline kernel without trying to port MuQSS, then using at least the hrtimer patches from -ck and 1000Hz should make a significant difference.
These are available again in four flavors:
generic
generic-v2
generic-v3
generic-v4
They correspond to -march= settings. See: https://wiki.archlinux.org/title/Unoffi … ed_package
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I have learned about the sad news concerning linux-ck fate last week. TBH, a component very valuable of the package is the compiler optimization switches patch which I think you are the author. So if you keep maintaining it, despite what CK decides, this is a worthwhile addition.
I'm not too sure exactly what is added to it every few months or so but I do use it as well when I compile a custom RT kernel... It is very cool...
Offline
sudo pacman -Syuw linux-ck is giving this:
error: could not open file /var/lib/pacman/sync/repo-ck.db: Lzma library error: Corrupted input data
error: target not found: linux-ck
What to do about it?
Offline
same error here. did the key change or something ?
Offline
FWIW
sudo pacman-key -r 5EE46C4C --keyserver hkp://pool.sks-keyservers.net && pacman-key --lsign-key 5EE46C4C
gpg: keyserver receive failed: No name
==> ERROR: Remote key not fetched correctly from keyserver.
Offline
Problem on the host. They are "working" on it. You can manually download the packages in the meantime.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Thanks - appears to be fixed now.
Offline
FWIW
sudo pacman-key -r 5EE46C4C --keyserver hkp://pool.sks-keyservers.net && pacman-key --lsign-key 5EE46C4C
gpg: keyserver receive failed: No name
==> ERROR: Remote key not fetched correctly from keyserver.
Not working again for about two days
Offline
Use a different keyserver:
# pacman-key -r 5EE46C4C --keyserver hkp://keys.gnupg.net
# pacman-key --lsign-key 5EE46C4C
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Hello graysky,
I actually used the linux-lqx kernel until today. But then today I accidentally found out that this kernel does not support numa.
I found out because I was bored and wondered to which DIE my NVME disks and the GPU's (2x 1080ti, 1 AMD PRO WX3100) are connected. And the output of lstopo made me skeptical. And numactl --hardware confirmed that my system only runs in uma.
So quickly rebooted, and selected the linux-zen kernel and voila, now numa.
(And yes, I know that the lqx kernel is probably not optimal for a TR1950x system anyway )
But after that I got bored again, and kept looking for great kernels and came across linux-ck. And at the same time with the news that the linux-ck will probably no longer give. And apparently it is probably so. Since among other things in newer releases now e.g. the MuQSS Sheduler is missing.
Long speech, short sense:
Have now actually two questions.
1) Is the ck kernel still "worth it"?
and
2) I have read https://wiki.archlinux.org/title/Unoffi … ls_package, and have the following outputs:
/lib/ld-linux-x86-64.so.2 --help | grep supported
x86-64-v3 (supported, searched)
x86-64-v2 (supported, searched)
x86_64 (AT_PLATFORM; supported, searched)
tls (supported, searched)
x86_64 (supported, searched)
gcc -c -Q -march=native --help=target | grep march
-march= znver1
Known valid arguments for option "-march=":
What should I use now? I didn't find a zenver1 linux-ck package, so I guess V3?
In general, I would like to know the differences between all those.
Thanks a lot!
And sry, my English is really poor. So the text is translated with deepl.
PS:
BTW I use Arch!
(Sorry, that had to be! )
Translated with www.DeepL.com/Translator (free version)
Edit:
Cant download it anyway now:
sudo pacman -S ck-generic-v3
:: Es gibt 2 Elemente in Gruppe ck-generic-v3:
:: Repositorium repo-ck
1) linux-ck-generic-v3 2) linux-ck-generic-v3-headers
Geben Sie eine Auswahl ein (Voreinstellung=alle):
Abhängigkeiten werden aufgelöst …
Nach in Konflikt stehenden Paketen wird gesucht …
Pakete (2) linux-ck-generic-v3-5.14.16-1 linux-ck-generic-v3-headers-5.14.16-1
Gesamtgröße des Downloads: 120,55 MiB
Gesamtgröße der installierten Pakete: 229,25 MiB
:: Installation fortsetzen? [J/n] J
:: Pakete werden empfangen …
linux-ck-generic-v3-5.14.16-1-x86_64.pkg.tar.zst konnte nicht heruntergeladen werden
linux-ck-generic-v3-headers-5.14.16-1-x86_64.pkg.tar.zst konnte nicht heruntergeladen werden
Gesamt (2/2) 120,5 MiB 389 MiB/s 00:00 [-------------------------------------------------------------------] 100%
Fehler: Konnte Datei 'linux-ck-generic-v3-headers-5.14.16-1-x86_64.pkg.tar.zst' nicht von mirror.lesviallon.fr übertragen : Maximum file size exceeded
Fehler: Konnte Datei 'linux-ck-generic-v3-5.14.16-1-x86_64.pkg.tar.zst' nicht von mirror.lesviallon.fr übertragen : Maximum file size exceeded
Fehler: Konnte Datei 'linux-ck-generic-v3-headers-5.14.16-1-x86_64.pkg.tar.zst' nicht von repo-ck.com übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'linux-ck-generic-v3-5.14.16-1-x86_64.pkg.tar.zst' nicht von repo-ck.com übertragen : The requested URL returned error: 404
Warnung: Konnte einige Dateien nicht übertragen
Fehler: Der Vorgang konnte nicht durchgeführt werden (Konnte manche Dateien nicht übertragen)
Fehler sind aufgetreten, keine Pakete wurden aktualisiert.
Last edited by tomekk228 (2021-11-05 01:38:22)
Offline
With generic-v3 kernel I still experience the docker issue I had with linux-ck-skylake with MuQSS. Launching a container ends with:
$ docker run -d -p 80:80 --name nextcloud nextcloud
33eb7bb577bca6f068405630c8b410ca3a3e86b6588221178edc000a267b9157
docker: Error response from daemon: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: process_linux.go:508: setting cgroup config for procHooks process caused: bpf_prog_query(BPF_CGROUP_DEVICE) failed: invalid argument: unknown.
Now at least it's clear that MuQSS is not the culprit. So what are the differences between the vanilla kernel and generic-v3? And among these, is there any that looks suspect? Thanks.
Offline
I'm probably screwing something up, but how do I debug the display going glitchy and the kernel just not working before systemd's init can even run?
Offline
sudo pacman -S ck-generic-v3
:: Es gibt 2 Elemente in Gruppe ck-generic-v3:
:: Repositorium repo-ck
1) linux-ck-generic-v3 2) linux-ck-generic-v3-headersGeben Sie eine Auswahl ein (Voreinstellung=alle):
Abhängigkeiten werden aufgelöst …
Nach in Konflikt stehenden Paketen wird gesucht …Pakete (2) linux-ck-generic-v3-5.14.16-1 linux-ck-generic-v3-headers-5.14.16-1
Gesamtgröße des Downloads: 120,55 MiB
Gesamtgröße der installierten Pakete: 229,25 MiB:: Installation fortsetzen? [J/n] J
:: Pakete werden empfangen …
linux-ck-generic-v3-5.14.16-1-x86_64.pkg.tar.zst konnte nicht heruntergeladen werden
linux-ck-generic-v3-headers-5.14.16-1-x86_64.pkg.tar.zst konnte nicht heruntergeladen werden
Gesamt (2/2) 120,5 MiB 389 MiB/s 00:00 [-------------------------------------------------------------------] 100%
Fehler: Konnte Datei 'linux-ck-generic-v3-headers-5.14.16-1-x86_64.pkg.tar.zst' nicht von mirror.lesviallon.fr übertragen : Maximum file size exceeded
Fehler: Konnte Datei 'linux-ck-generic-v3-5.14.16-1-x86_64.pkg.tar.zst' nicht von mirror.lesviallon.fr übertragen : Maximum file size exceeded
Fehler: Konnte Datei 'linux-ck-generic-v3-headers-5.14.16-1-x86_64.pkg.tar.zst' nicht von repo-ck.com übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'linux-ck-generic-v3-5.14.16-1-x86_64.pkg.tar.zst' nicht von repo-ck.com übertragen : The requested URL returned error: 404
Warnung: Konnte einige Dateien nicht übertragen
Fehler: Der Vorgang konnte nicht durchgeführt werden (Konnte manche Dateien nicht übertragen)
Fehler sind aufgetreten, keine Pakete wurden aktualisiert.
The file host repo-ck uses fails at times, make sure the entry in pacman.conf is as follows
[repo-ck]
Server = https://mirror.lesviallon.fr/$repo/os/$arch
Server = http://repo-ck.com/$arch
EDIT: Just saw you have that lesviallon mirror. Hm, try doing pacman -Syyu and try again?
Last edited by FIreFaced (2021-11-12 05:01:00)
Offline
@graysky Thanks for keeping the ck kernels going!
[CPU] AMD Ryzen 5 2400G
[iGPU] AMD RX Vega 11
[Kernel] linux-zen
[sway] • [zsh] • Arch user since [2014-09-01 02:09]
Offline
Is anyone interested in testing the 5.17.y ck kernel? I'd like some broader feedback before I push it out to the AUR and to the repo. Please try it here if interested and feel free to reply to this thread with feedback, good and bad.
You can download a prebuilt package or build yourself.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Is anyone interested in testing the 5.17.y ck kernel? I'd like some broader feedback before I push it out to the AUR and to the repo. Please try it here if interested and feel free to reply to this thread with feedback, good and bad.
You can download a prebuilt package or build yourself.
I compiled with clang and got the following error
kernel/sysctl.c:1681:14: error: initializing 'void *' with an expression of type 'const int *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
.extra2 = &ten_thousand,
^~~~~~~~~~~~~
kernel/sysctl.c:1690:14: error: initializing 'void *' with an expression of type 'const int *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
.extra2 = &ten_thousand,
^~~~~~~~~~~~~
2 errors generated.
make[1]: *** [scripts/Makefile.build:288: kernel/sysctl.o] Error 1
make: *** [Makefile:1829: kernel] Error 2
make: *** Waiting for unfinished jobs....
with gcc its warning
kernel/sysctl.c:1681:35: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
1681 | .extra2 = &ten_thousand,
| ^
kernel/sysctl.c:1690:35: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
1690 | .extra2 = &ten_thousand,
but I want to use clang for compilation
Last edited by JacBoTe (2022-04-14 13:29:56)
Offline