Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
linux_wiki:kernel_tuning [2015/10/04 00:45] billdozor |
linux_wiki:kernel_tuning [2016/03/18 23:08] billdozor [Kernel Tuning] |
||
---|---|---|---|
Line 6: | Line 6: | ||
**Checklist** | **Checklist** | ||
- | * Any distro, but many examples are done via Red Hat based systems | + | * Distro(s): |
---- | ---- | ||
- | ===== Hugepages ===== | + | ====== Hugepages |
Problem: Unable to access a VM's console, and it shows out of memory errors on boot. | Problem: Unable to access a VM's console, and it shows out of memory errors on boot. | ||
Line 25: | Line 25: | ||
Alternative config location: Hugepages could also be configured at / | Alternative config location: Hugepages could also be configured at / | ||
+ | |||
+ | ---- | ||
==== HugePage Bug ==== | ==== HugePage Bug ==== | ||
Line 51: | Line 53: | ||
# Disable kernel huge page defrag due to bugzilla bug: 879801 | # Disable kernel huge page defrag due to bugzilla bug: 879801 | ||
- | @reboot root /bin/echo never | / | + | @reboot root /bin/echo never > / |
</ | </ | ||
Line 62: | Line 64: | ||
---- | ---- | ||
- | ===== Swappiness ===== | + | ====== Swappiness |
Swappiness controls how likely the kernel is to move processes out of memory and onto swap disk space. | Swappiness controls how likely the kernel is to move processes out of memory and onto swap disk space. | ||
Line 91: | Line 93: | ||
---- | ---- | ||
- | ===== Page Cache ===== | + | ====== Page Cache ====== |
Tuning how often cached pages in memory are flushed to disk. | Tuning how often cached pages in memory are flushed to disk. | ||
Line 116: | Line 118: | ||
---- | ---- | ||
- | ===== File Descriptors ===== | + | ====== File Descriptors |
Viewing and setting the system wide file descriptors. | Viewing and setting the system wide file descriptors. | ||
Line 143: | Line 145: | ||
---- | ---- | ||
+ | |||
+ | ====== Kernel Panic ====== | ||
+ | |||
+ | Reboot a system after a 10 seconds of kernel panic | ||
+ | <code bash> | ||
+ | kernel.panic = 10 | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ |