You are not logged in.

#3751 2021-09-05 20:45:02

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,333
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

I was toying with the idea of building regular kernels just with the optimizations enabled.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Online

#3752 2021-09-07 15:52:50

MischievousTomato
Member
Registered: 2020-06-21
Posts: 9

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

linux-pf is a kernel I found to be well performant too.
But yeah, normal kernels optimized would be great.

Offline

#3753 2021-09-08 00:53:50

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,333
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

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 packagesZsh and other configs

Online

#3754 2021-09-10 03:05:58

digital-_-mystik
Member
Registered: 2019-04-02
Posts: 14

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Cool! Apologies if this has been mentioned before, but what do the different versions mean?

Offline

#3755 2021-09-10 05:04:05

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,333
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Online

#3756 2021-09-10 05:17:15

cloverskull
Member
Registered: 2018-09-30
Posts: 83

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

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

#3757 2021-09-10 06:27:31

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,333
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Nope legit typo, fixed.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Online

#3758 2021-09-11 00:10:27

cowlick
Banned
From: Alliance College
Registered: 2013-10-13
Posts: 67

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

I can provide feedback on generic-v2. It works.


G F Y

Offline

#3759 2021-09-11 01:09:30

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,333
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

I'm using generic-v3 on my systems.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Online

#3760 2021-09-14 17:08:40

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,333
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

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

CK wrote:

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 packagesZsh and other configs

Online

#3761 2021-09-15 17:08:21

lano1106
Member
From: Canada, Montreal
Registered: 2012-11-22
Posts: 93
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

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

#3762 2021-10-02 00:37:40

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 559

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

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

#3763 2021-10-02 01:36:07

glenb77
Member
Registered: 2014-10-02
Posts: 67

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

same error here. did the key change or something ?

Offline

#3764 2021-10-02 10:10:07

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 559

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

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

#3765 2021-10-02 10:29:06

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,333
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

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 packagesZsh and other configs

Online

#3766 2021-10-02 21:12:10

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 559

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Thanks - appears to be fixed now.

Offline

#3767 2021-10-31 07:49:52

omeringen
Member
Registered: 2012-05-28
Posts: 112

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Cotton wrote:

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

#3768 2021-11-03 21:06:33

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,333
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

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 packagesZsh and other configs

Online

#3769 2021-11-05 01:34:10

tomekk228
Member
Registered: 2020-04-24
Posts: 8

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

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 big_smile)

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! big_smile)

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

#3770 2021-11-08 08:16:53

snack
Member
From: Italy
Registered: 2009-01-13
Posts: 816

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

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

#3771 2021-11-12 00:17:52

FIreFaced
Member
Registered: 2015-12-12
Posts: 2

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

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

#3772 2021-11-12 05:00:02

FIreFaced
Member
Registered: 2015-12-12
Posts: 2

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

tomekk228 wrote:

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.

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

Board footer

Powered by FluxBB