当前位置:网站首页>系统设置大页
系统设置大页
2022-07-01 00:40:00 【Erice_s】
系统设置大页
修改/etc/default/grub,在 GRUB_CMDLINE_LINUX 行增加需要的默认大页信息
# default_hugepagesz=2M hugepagesz=2M hugepages=4096 * ~ vim /etc/default/grub GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL="serial console" GRUB_TERMINAL_OUTPUT="serial console" GRUB_CMDLINE_LINUX="default_hugepagesz=1G hugepagesz=1G hugepages=128 crashkernel=auto console=ttyS0,115200 console=tty0 panic=5 net.ifnames=0 biosdevname=0 intel_idle.max_cstate=1 intel_pstate=disable" GRUB_DISABLE_RECOVERY="true" GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"使修改生效到启动信息中
grub2-mkconfig -o /boot/grub2/grub.cfg重启系统
sudo reboot查看内核cmdline并确认默认大页是否设置成功
边栏推荐
- Q弹松软的大号吐司,带来更舒服的睡眠
- [learning notes] structure
- C # generates PPK files in putty format (supports passphrase)
- How to do the performance pressure test of "Health Code"
- For the first time in more than 20 years! CVPR best student thesis awarded to Chinese college students!
- Principes de formation de la programmation robotique
- Error msb8031: building an MFC project for a non Unicode character set is deprecated
- Using asyncio for concurrency
- 5. TPM module initialization
- New content violation degree determination scana bad information monitoring capability update issue 5
猜你喜欢
随机推荐
ArrayList analysis 1-cycle, capacity expansion, version
[2023 MediaTek approved the test questions in advance] ~ questions and reference answers
Technical personnel advanced to draw a big picture of business, hand-in-hand teaching is coming
Double linked list: initialize insert delete traversal
Gavin's insight on the transformer live broadcast course - rasa project's actual banking financial BOT Intelligent Business Dialogue robot system startup, language understanding, dialogue decision-mak
Poor students can also play raspberry pie
运动与健康
Problem solving: how to manage thread_local pointer variables
技术人进阶画业务大图,手把手教学来了
【go】go 实现行专列 将集合进行转列
JS to convert numbers into Chinese characters for output
Win11安装redis 数据库以及redis desktop manager的下载
Unhandled Exception: MissingPluginException(No implementation found for method launch on channel)
High quality pump SolidWorks model material recommended, not to be missed
Windows环境下安装MongoDB数据库
Cmu15445 (fall 2019) project 1 - buffer pool details
Orb-slam2 source code learning (II) map initialization
[LeetCode] 两数之和【1】
Length of the longest integrable subarray
The question of IBL precomputation is finally solved









