編譯多核大記憶體openwrt版本
openwrt目前最大隻支援16核64g記憶體
編譯前
sudo make kernel_menuconfig
Processor type and features --->
[*] Symmetric multi-processing support
Processor family (Core 2/newer Xeon) --->#自行選擇處理器平臺
[*] Supported processor vendors --->#自行選擇處理器平臺
(2) Maximum number of CPUs #自行編輯
[*] SMT (Hyperthreading) scheduler support#超執行緒支援
[*] Multi-core scheduler support
High Memory Support (4GB) --->
#############################################
[*] Symmetric multi-processing support
-*- Processor feature human-readable names
[ ] Support for big SMP systems with more than 8 CPUs
[ ] Support for extended (non-PC) x86 platforms
< > Intel SoC IOSF Sideband support for SoC platforms
< > Eurobraille/Iris poweroff module
[*] Single-depth WCHAN output
[ ] Linux guest support ----
[ ] Memtest
Processor family (Intel Atom) --->
[*] Generic x86 support
[*] Supported processor vendors --->
[*] HPET Timer Support
[ ] Enable DMI scanning
(4) Maximum number of CPUs
[*] SMT (Hyperthreading) scheduler support
[*] Multi-core scheduler support
Preemption Model (No Forced Preemption (Server)) --->
[*] Reroute for broken boot IRQs
[*] Machine Check / overheating reporting
[*] Intel MCE features
[*] AMD MCE features
[ ] Support for old Pentium 5 / WinChip machine checks
< > Machine check injector support
[*] Enable VM86 support
[ ] Enable support for 16-bit segments
< > Toshiba Laptop support
< > Dell laptop support
[ ] Enable X86 board specific fixups for reboot
< > CPU microcode loading support
<*> /dev/cpu/*/msr - Model-specific register support
<*> /dev/cpu/*/cpuid - CPU information support
High Memory Support (4GB) --->
Memory split (3G/1G user/kernel split) --->
Memory model (Flat Memory) --->
[ ] Allow for memory compaction
[*] Enable bounce buffers
[ ] Enable KSM for page merging
(4096) Low address space to protect from user allocation
[ ] Enable recovery from hardware memory errors
[ ] Transparent Hugepage Support
[ ] Enable cleancache driver to cache clean pages if tmem is present
[ ] Enable frontswap to cache swap pages if tmem is present
[ ] Contiguous Memory Allocator
< > Common API for compressed memory storage
< > Low density storage for compressed pages
< > Memory allocator for compressed pages
[ ] Allocate 3rd-level pagetables from highmem
[ ] Check for low memory corruption