Kernel boot param: Difference between revisions

From HPCWIKI
Jump to navigation Jump to search
No edit summary
(Fix: remove --- horizontal lines (7 removed))
 
(10 intermediate revisions by 2 users 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.
'''sysctl''' – command to configure kernel parameters at runtime
{| class="wikitable"
|+
!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 ==
* [https://wiki.hpcmate.com Kernel boot param]




Here are simple steps how to add boot parameter temporarily and permanent.
== Related Pages ==


== Temporarily Add a Kernel Boot Parameter for Testing ==
* [[Linux]]
* [[Server]]
* [[Hardware]]
* [[Network]]


# 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).
# 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 ==
[[Category:Linux]]
Edit /etc/default/grub by adding or removing kernel boot parameter on the line of GRUB_CMDLINE_LINUX_DEFAULT
== Knowledge Graph ==


# in terminal (or after pressing Alt + F2)  run:
Related
# 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.
→ [[Linux Kernel Tuning]]
→ [[THP (Transparent Huge Pages)]]
→ [[Kernel tips and tricks]]
→ [[Linux Kernel]]
→ [[Tunable kernel params]]


== Verify Your changes ==
[[Category:Configuration]]
To verify your changes, you can see exactly what parameters your kernel booted with by executing <syntaxhighlight lang="bash">
$cat /proc/cmdline.
</syntaxhighlight>

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