禁用ASMM 后就可以配置HugePages,步骤如下.https://www.cndba.cn/cndba/dave/article/4342

1.配置memlock

Edit the memlock setting in the /etc/security/limits.conf file. The memlock setting is specified in KB and set slightly lesser than the installed RAM. For example, if you have 64GB RAM installed, add the following entries to increase the max locked memory limit:https://www.cndba.cn/cndba/dave/article/4342

* soft memlock 60397977

* hard memlock 60397977

You can also set the memlock value higher than your SGA requirements.

2.查看memlock

Login as the oracle user again and run the ulimit -l command to verify the new memlock setting:

$ ulimit -l

60397977

3.查看当前hugepagesize

Run the following command to display the value of Hugepagesize variable:

https://www.cndba.cn/cndba/dave/article/4342

$ grep Hugepagesize /proc/meminfo

4.计划hugepages值

Complete the following procedure to create a script that computes recommended values for hugepages configuration for the current shared memory segments:

Linux 7.x 中 Oracle hugepage 大页配置脚本

https://www.cndba.cn/dave/article/2672https://www.cndba.cn/cndba/dave/article/4342

Run the following command to change the permission of the file:https://www.cndba.cn/cndba/dave/article/4342

$ chmod +x hugepages_settings.sh

Run the hugepages_settings.sh script to compute the values for hugepages configuration:https://www.cndba.cn/cndba/dave/article/4342

$ ./hugepages_settings.sh

5.设置/etc/sysctl.conf 参数

Set the following kernel parameter:

https://www.cndba.cn/cndba/dave/article/4342https://www.cndba.cn/cndba/dave/article/4342

# sysctl -w vm.nr_hugepages=value_displayed_in_step_5

To make the value of the parameter available for every time you restart the computer, edit the /etc/sysctl.conf file and add the following entry:

vm.nr_hugepages=value_displayed_in_step_5

6.重启操作系统

Restart the server.

https://www.cndba.cn/cndba/dave/article/4342

7.验证hugepage

To check the available hugepages, run the following command:https://www.cndba.cn/cndba/dave/article/4342

$ grep Huge /proc/meminfo

HugePages_Total: 9732 == vm.nr_hugepages 参数值

linux huge模式设置,Linux HugePages 配置步骤相关推荐

  1. Linux kms 模式设置,linux – 使用KMS设置控制台视频分辨率

    尝试将视频= 800×600 @ 75(或您需要的分辨率)添加到/ etc / default / grub GRUB_CMDLINE_LINUX或GRUB_CMDLINE_LINUX_DEFAULT ...

  2. 虚拟机使用桥接模式设置Linux静态IP

    虚拟机上安装Linux系统(Centos6.6 32位),需要配置静态IP.以使用SSH.SecureCRT等远程工具连接虚拟机操作Linux系统. 注意事项: 虚拟机桥接模式创建固定 IP(虚拟机使 ...

  3. linux redis数据库安装配置,Linux系统中redis的安装配置步骤

    Linux系统中redis的安装配置步骤 发布时间:2020-06-23 10:13:36 来源:亿速云 阅读:87 作者:Leah 这篇文章将为大家详细讲解有关Linux系统中redis的安装配置步 ...

  4. Linux下mysql支持中文,linux下mysql环境支持中文配置步骤

    sql脚本执行前加上: CREATE DATABASE IF NOT EXISTS mydatabase DEFAULT CHARSET utf8 COLLATE UTF8_GENERAL_CI; u ...

  5. 工作中linux定时任务的设置及相关配置

    工作中会用到定时任务,来处理以前采集来的数据备份, 每周一凌晨4点执行一次    0 4 * * */1 find/data/templatecdr/oracle/dcndatabak/ -type ...

  6. linux系统引导设置,Linux操作系统GRUB引导程序配置方法大全 - 技术文档 - 新手入门 Linux时代......

    1. GRUB 介绍 计算机在启动的时候,首先由BIOS中的程序执行自检,自检通过后,就根据CMOS 的配置找到第一个可启动磁盘的MBR中的Boot Loader程序(一般在启动盘的第一个物理扇区,占 ...

  7. linux arena参数设置,topcoder Arena配置及基本使用方法

    由于想着多做比赛增加实力,而且总感觉topcoder听起来知名度比codeforces高 所以开始注册.配置 搞了这么久总算搞好了,所以想分享下经验,帮助大家少走点弯路 我是在linux下配的,建议使 ...

  8. linux+ip+路由设置,Linux下IP巧设置-网管专栏,防火墙和路由

    如何实现ip伪装?假设你现在有一台linux主机通过ddn专线连接到internet上,有自己的ip和域名,同时还与20台win95工作站通过hub连接,你现在完全可以通过ip伪装来实现这20台win ...

  9. 防火墙策略添加linux,通过iptables设置Linux防火墙INPUT策略

    原标题:通过iptables设置Linux防火墙INPUT策略 小白电脑课堂开课啦!游戏团战就死机,多半是废了.大家好我是小白.说到防火墙,同学们都会想到开了防火墙就会卡的Windows.而在Linu ...

  10. VMware虚拟机设置固定IP配置步骤(与宿主机共享网络)

    1.目的: 实现a:虚拟机可以ping通宿主机,可以访问宿主机指定端口,宿主机可以ping通虚拟机,访问虚拟机指定端口. 实现b:本机可以上外网,虚拟机也可以上外网. 2.实现步骤: 2.1  虚拟机 ...

最新文章

  1. 使用TWebBrowser组件保存网页为html和mht文件 收藏
  2. PHP面向对象(OOP)编程入门教程
  3. 2010年下半年计算机专业技术资格考试工作安排
  4. 深入MySQL存储引擎分析锁和排序的原理
  5. InfluxDB 2.0 之Flux语法篇
  6. CodePage简介(转)
  7. 【转】C#实现SM3国密加密
  8. 《Ray Tracing in One Weekend》——Chapter 2: The vec3 class
  9. 人工智能?你需要了解的内容和AI学习路线
  10. sql数据库可以创建同义词_如何使用同义词简化SQL Server数据库对象的使用
  11. 微信公众号开发 入手
  12. Ruby中按照指定编码读取文件
  13. Windows 下使用 grub2 制作美观的维护U盘
  14. 怡和嘉业在创业板上市:总市值约186亿元,前三季度业绩同比翻倍
  15. case、casex、casez的区别
  16. 大文件上传的解决方法
  17. 如何用python绘制灰度直方图_python可视化
  18. K8S云原生环境渗透学习
  19. 关于如何安装linux系统
  20. 井下采矿技术类毕业论文文献包含哪些?

热门文章

  1. wpf-折线图绘制2-oxyplot-3-修饰图像(注释)
  2. 广东金融学院大学计算机基础,好投顾网使用说明广东金融学院专用).doc
  3. 华为5G产品大配套,火星人光电互联大科普
  4. 如何考评一名前端工程师
  5. 一个好用的数学公式编辑器的下载安装(LaTeX)
  6. linux内存高但是top进程不高,在Linux中通过Top运行进程查找最高内存和CPU使用率...
  7. Windows下文本文件编码转换
  8. Oracle sysman.mgmt_jobs导致数据库自动重启
  9. 有一个函数y=x(x「1),y=2x-1(1「=x「10),y.=3x-11(x」=10)。写一段程序,输入x,输出y值
  10. 离散数学知识点总结(3):等值演算,16个命题定律 / 基础等价式,重言式的替换规则,证明有效性和可满足性的方法