![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux
Joye
这个作者很懒,什么都没留下…
展开
-
linux进程管理之上下文切换(context switching)
<br /><br />During process execution, information on the running process is stored in registers on theprocessor and its cache. The set of data that is loaded to the register for the executingprocess is called the context . To switch processes, the context原创 2011-05-08 23:47:00 · 608 阅读 · 0 评论 -
tmpfs介绍
<br />在Stability测试中,发现了共享内存的非正确使用,导致swap空间的持续增长。因此研究了/dev/shm和tmpfs的原理。转载此文,以做笔记。<br />介绍 tmpfs如果我必须一下子说清楚 tmpfs,我会说 tmpfs 就象虚拟磁盘(ramdisk),但不一样。象虚拟磁盘一样,tmpfs 可以使用您的 RAM,但它也可以使用您的交换分区来存储。而且传统的虚拟磁盘是个块设备,并需要一个 mkfs 之类的命令才能真正地使用它,tmpfs 是一个文件系统,而不是块设备;您只是安装它,它就转载 2011-05-06 23:25:00 · 704 阅读 · 0 评论 -
The difference between buffers and cache
The difference between buffers and cache<br />Buffers are associated with a specific block device, and cover caching of filesystem metadata as well as tracking in-flight pages. The cache only contains parked file data. That is, the buffers remember w翻译 2011-05-09 00:55:00 · 180 阅读 · 0 评论