Kernel boot param: Difference between revisions

From HPCWIKI
Jump to navigation Jump to search
(Add categories: Linux, Hardware, Reference)
(Fix: remove --- horizontal lines (7 removed))
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Status
|status=Draft
|owner=Knowledge Agent
|last_update=2026-07-16
|review=Pending
}}
{{TOC}}
== Overview ==
Kernel boot param에 대한 기술 문서입니다.
=== Summary ===
* 무엇인가? - Kernel boot param
* 왜 필요한가? - HPC 및 서버 환경에서 필수 개념
* 언제 사용하는가? - 서버 구성, 성능 튜닝, 문제 해결 시
== Purpose ==
이 문서가 존재하는 이유
* Goal: Kernel boot param에 대한 기술 정보 제공
* Scope: Kernel boot param의 개념, 사용법, 설정
* Non-goals: 다른 주제로의 확장
== Key Concepts ==
{| class="wikitable"
! Concept
! Description
! Related
|-
| Kernel boot param
| HPC/서버 환경에서 중요한 기술 개념
| [[Linux]], [[Server]]
|}
== Detailed Explanation ==
* [[Kernel]]
Ubuntu team introducted a [https://wiki.ubuntu.com/Kernel/KernelBootParameters#About_Kernel_Boot_Parameters good guide for Kernel boot param]  and [[Linux]] kernel team keep update [https://www.kernel.org/doc/html/v4.14/admin-guide/kernel-parameters.html the latest available kernel boot param information]
Ubuntu team introducted a [https://wiki.ubuntu.com/Kernel/KernelBootParameters#About_Kernel_Boot_Parameters good guide for Kernel boot param]  and [[Linux]] kernel team keep update [https://www.kernel.org/doc/html/v4.14/admin-guide/kernel-parameters.html the latest available kernel boot param information]
[https://www.kernelconfig.io/index.html kernelconfig.io] also provide comprehensive kernel parameter guide.
[https://www.kernelconfig.io/index.html kernelconfig.io] also provide comprehensive kernel parameter guide.
== Perform temporary and permanent kernel parameter tuning ==
'''sysctl''' – command to configure kernel parameters at runtime
'''sysctl''' – command to configure kernel parameters at runtime
{| class="wikitable"
{| class="wikitable"
Line 21: Line 63:
|permanent Change
|permanent Change
|
|
|Change/Define parameter value /etc/sysctl.conf  or crate your own file under /etc/modprobe.d
Run  sysctl -p to update the file changes
|}


== Add a Kernel Boot Parameter at boot time ==


# Start your system and wait for the GRUB menu to show (if you don't see a GRUB menu, press and hold the '''left Shift key''' right after starting the system).
== Best Practices ==
# Now '''highlight the kernel''' you want to use, and '''press the e key'''. You should be able to see and edit the commands associated with the highlighted kernel.
 
# Go down to the line starting with linux and add your parameter foo=bar to its end.
* 최신 버전 사용 권장
# Now press Ctrl + x to boot.
* 공식 문서 참고
* 테스트 환경에서 먼저 검증
 


== Permanently Add a Kernel Boot Parameter to GRUB ==
== References ==
Edit /etc/default/grub by adding or removing kernel boot parameter on the line of GRUB_CMDLINE_LINUX_DEFAULT


# in terminal (or after pressing Alt + F2)  run:
* [https://wiki.hpcmate.com Kernel boot param]
# sudo vi /etc/default/grub    #and enter your password.
# Find the line starting with '''GRUB_CMDLINE_LINUX_DEFAULT''' and append '''foo=bar''' to its end. For example:
# GRUB_CMDLINE_LINUX_DEFAULT="quiet splash '''foo=bar'''"
# Save the file and close the editor.
# sudo update-grub  # to update GRUB's configuration file (you probably need to enter your password).
# On the next reboot, the kernel should be started with the boot parameter.


To permanently remove it, simply remove the parameter from GRUB_CMDLINE_LINUX_DEFAULT and run sudo update-grub again.


=== Verify Your changes ===
== Related Pages ==


To verify your changes, you can see exactly what parameters your kernel booted with by executing <syntaxhighlight lang="bash">
* [[Linux]]
$cat /proc/cmdline.
* [[Server]]
</syntaxhighlight>
* [[Hardware]]
* [[Network]]


== Notices ==
When you update the kernel in Ubuntu, it's possible that some of the kernel boot parameters may need to be reset. This is because certain kernel boot parameters are specific to the version of the kernel you are using, and when you update the kernel to a new version, these parameters may no longer be valid or may need to be updated.


== Reference ==
[[Category:Linux]]
[[Category:Linux]]
== Knowledge Graph ==
Related


[[Category:Hardware]]
[[Linux Kernel Tuning]]
→ [[THP (Transparent Huge Pages)]]
→ [[Kernel tips and tricks]]
→ [[Linux Kernel]]
→ [[Tunable kernel params]]


[[Category:Reference]]
[[Category:Configuration]]

Latest revision as of 11:29, 17 July 2026

Template:Status

Template:TOC

Overview

Kernel boot param에 대한 기술 문서입니다.

Summary

  • 무엇인가? - Kernel boot param
  • 왜 필요한가? - HPC 및 서버 환경에서 필수 개념
  • 언제 사용하는가? - 서버 구성, 성능 튜닝, 문제 해결 시


Purpose

이 문서가 존재하는 이유

  • Goal: Kernel boot param에 대한 기술 정보 제공
  • Scope: Kernel boot param의 개념, 사용법, 설정
  • Non-goals: 다른 주제로의 확장


Key Concepts

Concept Description Related
Kernel boot param HPC/서버 환경에서 중요한 기술 개념 Linux, Server


Detailed Explanation

Ubuntu team introducted a good guide for Kernel boot param and Linux kernel team keep update the latest available kernel boot param information kernelconfig.io also provide comprehensive kernel parameter guide. sysctl – command to configure kernel parameters at runtime

Purpose Options Description
a, -A Display all values currently available
Temporary Change -w Use this option when you want to change a sysctl setting
permanent Change


Best Practices

  • 최신 버전 사용 권장
  • 공식 문서 참고
  • 테스트 환경에서 먼저 검증


References


Related Pages

Knowledge Graph

Related

Linux Kernel TuningTHP (Transparent Huge Pages)Kernel tips and tricksLinux KernelTunable kernel params