linux-sides-Timers and time management in the Linux kernel. Part 5.
这篇文章 Timers and time management in the Linux kernel. Part 5
这篇文章 Timers and time management in the Linux kernel. Part 5
内存(RAM)是计算机一种重要资源, 随着应用越来越复杂,不管存储器有多大,程序都可以把他填满,这就迫使人们不断寻找解决方案去管理它. 内存管理经历的几个阶段; - 无存储抽象阶段 (No Memory abstraction) - 地址空间 (Address Spaces) - 虚拟内存 (Virtual…
这篇文章 Huge TLB Pages是出Linux Kernel文档
cenos7X86_64 + openssh - windows10 - putty
/proc/swaps 文件
SMP: CPU 通过总线访问内存, 称为 SMP 对称多处理器, 采用平坦内存模型, 物理页号连续, 总线成为瓶颈 - NUMA: CPU 都有本地内存, 访问内存不用总线, 称为 NUMA 非一致内存访问 采用非连续内存模型,页号不连续 - 稀疏内存模型
这篇文章 Timers and time management in the Linux kernel. Part 4
物理内存管理 - 虚拟内存管理 - 物理内存与虚拟内存的映射
可以通过一下方法查看: 命令: - pmap 文件: - proc filesystem maps 可以从其说明看到 -X 也是从/proc/PID/smaps获取了更详细的信息 /proc/PID/smaps
可以通过一下方法查看: 命令: - ps - top - pidstat - pstree 文件: - proc filesystem ps与线程相关的参数 使用-L ps -eLo pid,tid,tgid,pgrp,args 使用-m显示 ps -mLe 使用-T显示 ps -T -p \[pid\] 使用-H显示…