码迷,mamicode.com
首页 > 其他好文 > 详细

Difference between pages and blocks

时间:2015-05-30 00:33:30      阅读:134      评论:0      收藏:0      [点我收藏+]

标签:

What is page

  1. Pages are basically a virtual block
  2. Pages have fixed size, while block doesn‘t(dependent on device)

What is block

  1. A block is the smallest unit of data that an OS can read/write to disk

Note

  1. Different device support different block size
  2. Pages at as the middle layer between OS and device
  3. OS translate the pages to the appropriate blocks

Difference between pages and blocks

标签:

原文地址:http://www.cnblogs.com/wade-case/p/4539592.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!