zzbwang
驱动牛犊
驱动牛犊
  • 注册日期2009-03-18
  • 最后登录2016-01-09
  • 粉丝1
  • 关注0
  • 积分62分
  • 威望611点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分1分
阅读:3217回复:1

cached io和paging io是什么意思?

楼主#
更多 发布于:2009-03-29 18:14
查了很多资料都没用明确的解释清楚cached io和paging io是什么意思,我的理解是:

paging io就是按页从磁盘读写的IO操作,paging io分cached和non-cached,cached paging io就是把数据从磁盘按页读写后要缓存,non-cached paging io就是把数据从磁盘按页读写后不缓存。

cached io就是有数据读写请求就向cache manager请求,如果cache manager找不到,就发出paging io向磁盘请求,获得数据后缓存。

请大侠指点一下,我的理解对不对?
michaelgz
论坛版主
论坛版主
  • 注册日期2005-01-26
  • 最后登录2012-10-22
  • 粉丝1
  • 关注1
  • 积分150分
  • 威望1524点
  • 贡献值1点
  • 好评度213点
  • 原创分0分
  • 专家分2分
沙发#
发布于:2009-03-31 22:17

查了很多资料都没用明确的解释清楚cached io和paging io是什么意思

Suggest reading book "Windows NT File System Internals"


paging io就是按页从磁盘读写的IO操作,paging io分cached和non-cached,cached paging io就是把数据从磁盘按页读写后要缓存,non-cached paging io就是把数据从磁盘按页读写后不缓存。

No, there is no such cached or non-cached paging io. Paging IO is used for paging which is issued by VMM, not CM.


cached io就是有数据读写请求就向cache manager请求
[quote]
I/O Manager issues Cached IO to file system to get data. Whether a cache request generated or not is up to the implementation of a file system. NTFS and FAT do issue cache requests to CM.

[quote]
如果cache manager找不到,就发出paging io向磁盘请求,获得数据后缓存。

CM get data through VMM.


I/O Manager, Cache Manager, Virtual Memory Manager and File System are those kernel components involved to satisfy a single Win32 READ/WRITE API call.  Again, suggest reading the above mentioned book to get basic concepts.
游客

返回顶部