Chinaunix首页 | 论坛 | 博客
  • 博客访问: 841067
  • 博文数量: 116
  • 博客积分: 1472
  • 博客等级: 上尉
  • 技术积分: 1725
  • 用 户 组: 普通用户
  • 注册时间: 2011-02-06 11:45
文章分类

全部博文(116)

文章存档

2015年(1)

2014年(42)

2013年(5)

2012年(19)

2011年(49)

我的朋友

发布时间:2014-02-08 14:55:34

Memory management is one of the most complex activity done by Linux kernel. It has various concepts/issues associated with it.In this article we will try to touch base on virtual memory and demand paging as these are some of the important concepts related to memory management.Virtual Me.........【阅读全文】

阅读(1524) | 评论(0) | 转发(0)

发布时间:2014-02-08 09:16:08

Previously we looked at how the kernel manages virtual memory for a user process, but files and I/O were left out. This post covers the important and often misunderstood relationship between files and memory and its consequences for performance.Two serious problems must be solved by the OS w.........【阅读全文】

阅读(973) | 评论(0) | 转发(0)

发布时间:2014-02-08 09:04:26

Tips & TricksFeatured Article: /proc/meminfo ExplainedMarch 2003 "Free," "buffer," "swap," "dirty." What does it all mean? If you said, "something to do with the Summer of '68", you may need a primer on 'meminfo'.The entries in the /proc/meminfo can help explain what's going on.........【阅读全文】

阅读(815) | 评论(0) | 转发(0)

发布时间:2014-02-08 07:56:07

页高速缓存是linux内核实现的一种主要磁盘缓存,它主要用来减少对磁盘的IO操作,具体地讲,是通过把磁盘中的数据缓存到物理内存中,把对磁盘的访问变为对物理内存的访问。为什么要这么做呢?一,速度,访问磁盘的速度要远低于访问内存的速度二临时局部原理,短时期内集中访问同一片数据的原理。.........【阅读全文】

阅读(735) | 评论(0) | 转发(0)

发布时间:2014-02-08 07:53:02

  一般编程所说的缓冲区指的是内存缓冲区,这是程序所设置的一块内存区域,用来暂存从其他设备读入的数据或即将写入其他设备的数据。而硬盘缓冲区有两种:一是上面说的内存缓冲区,只是它是专门为读取或写入硬盘而设置的,因此可以简称为硬盘缓冲区。这个的例子是很多下载软件如迅雷中都有的磁盘.........【阅读全文】

阅读(1710) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册