Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch 5.15.80 kernel to near-ubuntu-mainline config #630

Closed

Conversation

problame
Copy link
Contributor

@problame problame commented Nov 17, 2023

This PR changes the 5.15.80 kernel config, following the recipe from the recent commits in #623 where I did the same for 6.5.11 with good results for the 0-tps-issue (neondatabase/neon#5678).

Let's see whether we can solve 0-tps-issue on the 5.15.80 kernel by using this config.

Recipe:

(In the docker container set up via the instructions I added in #622 )


extract kernel config from the linux-modules deb in ubuntu: https://kernel.ubuntu.com/mainline
open `make menuconfig` and save, without any changes
default hostname + =y instead of =m for isofs
sed -i 's/=m/=n/g' ./neonvm/hack/linux-config-6.5.11; then make menuconfig
uncheck "Automatically sign all modules"
uncheck 'Enable different security model' (SECURITY=n)
  this avoids module signing stuff and other complexity we don't
  care about inside neonvm, like selinux
set empty string for 'Additional X.509 keys for default system keyring'
set empty string for 'X.509 certificates to be preloaded into the system blacklist keyring'

following the recipe from recent commits in #623

where I did the same for 6.5.11 with good results for the 0 tps issue.

Let's see whether we can solve 0 tps issue on the 5.15.80 kernel by
using this config.

Recipe:

(In the docker container set up via the instructions I added in
#622 )

```

extract kernel config from the linux-modules deb in ubuntu: https://kernel.ubuntu.com/mainline
open `make menuconfig` and save, without any changes
default hostname + =y instead of =m for isofs
sed -i 's/=m/=n/g' ./neonvm/hack/linux-config-6.5.11; then make menuconfig
uncheck "Automatically sign all modules"
uncheck 'Enable different security model' (SECURITY=n)
  this avoids module signing stuff and other complexity we don't
  care about inside neonvm, like selinux
set empty string for 'Additional X.509 keys for default system keyring'
set empty string for 'X.509 certificates to be preloaded into the system blacklist keyring'
```
@problame problame force-pushed the problame/kernel-5.15.80-ubuntu-mainline-config branch from 9091ad8 to 0469bfd Compare November 17, 2023 10:57
@problame
Copy link
Contributor Author

kernel build & push to docker under same 5.15.80 tag: https://github.com/neondatabase/autoscaling/actions/runs/6903092257

@problame problame requested a review from sharnoff November 17, 2023 10:58
@cicdteam
Copy link
Contributor

just small notice: now vmlinuz about 10Mb, before it was about 6Mb

@sharnoff
Copy link
Member

Yeah, I think this was just used for testing and not intended to be merged, but cc @problame to cofirm

@problame
Copy link
Contributor Author

The idea was to merge & ship this if it fixes the 0-tps issue on 5.15.80 (less risk of introducing other regressions).

A few MiBs of kernel don't matter right now (neither as storage nor DRAM footprint).

@cicdteam
Copy link
Contributor

@problame
I think we can close this, as we moved to 6.1.63 kernel (and it builds in ubuntu:23.10 environment)

@problame problame closed this Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants