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

neonvm-runner: Reduce startup logs #1286

Merged
merged 6 commits into from
Feb 25, 2025
Merged

neonvm-runner: Reduce startup logs #1286

merged 6 commits into from
Feb 25, 2025

Conversation

petuhovskiy
Copy link
Member

This PR disables verbose logging for repetitive startup logs, such as kernel debug boot logs.

It sets default kernel loglevel as INFO (https://docs.kernel.org/core-api/printk-basics.html) and vminit script sets loglevel back to DEBUG after booting has completed.

The full list of changes can be seen in commit messages.

Startup logs before this PR (559 lines): https://gist.github.com/petuhovskiy/cfa0e7654cd25b37247694a33a9d556b
Startup logs after this PR (123 lines): https://gist.github.com/petuhovskiy/a85a7dad7bb4015d2f1f33fcd6cce9fd

Closes https://github.com/neondatabase/cloud/issues/19678

Copy link

No changes to the coverage.

HTML Report

Click to open

@petuhovskiy petuhovskiy requested review from a team and mikhail-sakhnov and removed request for a team February 25, 2025 18:41
Copy link
Member

@sharnoff sharnoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, nice!

@petuhovskiy petuhovskiy requested review from lassizci and removed request for mikhail-sakhnov February 25, 2025 18:54
Copy link
Contributor

@lassizci lassizci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, looks good to me!

@petuhovskiy petuhovskiy merged commit 62b936c into main Feb 25, 2025
34 checks passed
@petuhovskiy petuhovskiy deleted the arthur/boot-logs branch February 25, 2025 21:09
github-merge-queue bot pushed a commit to neondatabase/neon that referenced this pull request Feb 26, 2025
Bump version to pick up changes introduced in
neondatabase/autoscaling#1286

It's better to have a compute release for this change first, because:
- vm-runner changes kernel loglevel from 7 to 6
- vm-builder has a change to bring it back to 7 after startup

Previous update: #10015
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