网站首页 站内搜索

搜索结果

查询Tags标签: memory,共有 289条记录
  • Linux concurrency - 2.barrier

    现在的compiler与CPU为了最佳化执行效能,必要时可能重新安排执行程式的流程顺序。 1.compiler最佳化可依据CPU的instruction issue数目,执行的latency cycles以及程式流程,在不影响程式上下文结果下重排或简化程式。 2.硬件设计最佳化:multiple issue of instructions…

    2022/1/24 7:06:07 人评论 次浏览
  • Linux笔记-oom时anon rss和total vm的含义

    dmesg 命令: https://blog.51cto.com/yangzhiming/2343192 https://stackoverflow.com/questions/18845857/what-does-anon-rss-and-total-vm-mean 查看oom信息 dmesg命令: 友好的显示log时间信息: dmesg -T 清空dmesg: dmesg -c 查看OOM: dmesg -T | grep "O…

    2022/1/19 7:11:02 人评论 次浏览
  • Linux笔记-oom时anon rss和total vm的含义

    dmesg 命令: https://blog.51cto.com/yangzhiming/2343192 https://stackoverflow.com/questions/18845857/what-does-anon-rss-and-total-vm-mean 查看oom信息 dmesg命令: 友好的显示log时间信息: dmesg -T 清空dmesg: dmesg -c 查看OOM: dmesg -T | grep "O…

    2022/1/19 7:11:02 人评论 次浏览
  • Study Notes of CS:APP (Chapter 1)

    Study Notes of CS:APP Resources [21-12] Official Material [22-01] • Textbooks • Randal E. Bryant and David R. OHalloron, Computer Systems: A Programmers Perspective, Third Edition, Pearson, 2016 • Courses • 15-213 Instances • 15-213/18-21…

    2022/1/16 6:04:33 人评论 次浏览
  • Study Notes of CS:APP (Chapter 1)

    Study Notes of CS:APP Resources [21-12] Official Material [22-01] • Textbooks • Randal E. Bryant and David R. OHalloron, Computer Systems: A Programmers Perspective, Third Edition, Pearson, 2016 • Courses • 15-213 Instances • 15-213/18-21…

    2022/1/16 6:04:33 人评论 次浏览
  • 调整Node运行内存全攻略

    说在前面 前端工程开发过程中会出现打包缓慢,或者打包过程中提示内存不足的情况,如果我们电脑内存足够,可以尝试分配更大的内存给node环境,以提升打包速度。 提升打包速度实践 提升打包速度,插件安装 npm install --save-dev increase-memory-limit npm install --sa…

    2022/1/14 7:08:21 人评论 次浏览
  • 调整Node运行内存全攻略

    说在前面 前端工程开发过程中会出现打包缓慢,或者打包过程中提示内存不足的情况,如果我们电脑内存足够,可以尝试分配更大的内存给node环境,以提升打包速度。 提升打包速度实践 提升打包速度,插件安装 npm install --save-dev increase-memory-limit npm install --sa…

    2022/1/14 7:08:21 人评论 次浏览
  • Linux下vm.overcommit_memory的内存分配参数解释

    背景 公司的redis有时background save db不成功,通过log发现下面的告警,很可能由它引起的:内核参数overcommit_memory 它是 内存分配策略 可选值:0,1,2。 0,:表示内核将检查是否有足够的可用内存供应用进程使用;如果有足够的可用内存,内存申请允许;否则,…

    2022/1/12 7:09:04 人评论 次浏览
  • Linux下vm.overcommit_memory的内存分配参数解释

    背景 公司的redis有时background save db不成功,通过log发现下面的告警,很可能由它引起的:内核参数overcommit_memory 它是 内存分配策略 可选值:0,1,2。 0,:表示内核将检查是否有足够的可用内存供应用进程使用;如果有足够的可用内存,内存申请允许;否则,…

    2022/1/12 7:09:04 人评论 次浏览
  • (四)Linux内存模型之Sparse Memory Model

    1. 介绍 顺着之前的分析,我们来到了bootmem_init()函数了,本以为一篇文章能搞定,大概扫了一遍代码之后,我默默的把它拆成了两部分。bootmem_init()函数代码如下: void __init bootmem_init(void) {unsigned long min, max;min = PFN_UP(memblock_start_of_DRAM());ma…

    2022/1/12 7:06:56 人评论 次浏览
  • (四)Linux内存模型之Sparse Memory Model

    1. 介绍 顺着之前的分析,我们来到了bootmem_init()函数了,本以为一篇文章能搞定,大概扫了一遍代码之后,我默默的把它拆成了两部分。bootmem_init()函数代码如下: void __init bootmem_init(void) {unsigned long min, max;min = PFN_UP(memblock_start_of_DRAM());ma…

    2022/1/12 7:06:56 人评论 次浏览
  • 发生java.lang.OutOfMemoryError: Direct buffer memory【转】

    下面是在掉坑了,出现了一次java.lang.OutOfMemoryError: Direct buffer memory 错误后的总结。 发生原因: 用来 nio ,但是 direct buffer 不够 解决办法 1)检查是否直接或间接使用了 nio ,例如手动调用生成 buffer 的方法或者使用了 nio 容器如 netty, jetty, tomc…

    2022/1/11 11:05:08 人评论 次浏览
  • 发生java.lang.OutOfMemoryError: Direct buffer memory【转】

    下面是在掉坑了,出现了一次java.lang.OutOfMemoryError: Direct buffer memory 错误后的总结。 发生原因: 用来 nio ,但是 direct buffer 不够 解决办法 1)检查是否直接或间接使用了 nio ,例如手动调用生成 buffer 的方法或者使用了 nio 容器如 netty, jetty, tomc…

    2022/1/11 11:05:08 人评论 次浏览
  • 深入理解linux虚拟内存管理--01 简介

    简介 英文原版书地址 https://www.kernel.org/doc/gorman/html/understand/understand001.html 使用内核版本 2.4.22 目录如下: Chapter 1 Introduction 1.1 Getting Started 1.2 Managing the Source 1.3 Browsing the Code 1.4 Reading the Code 1.5 Submitting Patche…

    2022/1/11 7:03:50 人评论 次浏览
  • 深入理解linux虚拟内存管理--01 简介

    简介 英文原版书地址 https://www.kernel.org/doc/gorman/html/understand/understand001.html 使用内核版本 2.4.22 目录如下: Chapter 1 Introduction 1.1 Getting Started 1.2 Managing the Source 1.3 Browsing the Code 1.4 Reading the Code 1.5 Submitting Patche…

    2022/1/11 7:03:50 人评论 次浏览
扫一扫关注最新编程教程