首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 操作系统 > Linux > Swapping(换页)
【标  题】:Swapping(换页)
【关键字】:Swapping
【来  源】:http://www.cublog.cn/u/15509/showart.php?id=170205

Swapping(换页)

在换页机制中需要留意的
原文如下

Each swap area consists of one or more swap extents , each of which is represented by a swap_extent descriptor. Each extent corresponds to a group of pagesor more accurately, page slotsthat are physically adjacent on disk. Hence, the swap_extent descriptor includes the index of the first page of the extent in the swap area, the length in pages of the extent, and the starting disk sector number of the extent. An ordered list of the extents that compose a swap area is created when activating the swap area itself. A swap area stored in a disk partition is composed of just one extent; conversely, a swap area stored in a regular file can be composed of several extents, because the filesystem may not have allocated the whole file in contiguous blocks on disk.

请注意蓝色区域说明的事实。对于磁盘分区和常规文件,交换区域是区别对待的,对磁盘分区它看成一个区域(one extent),而对于常规文件,特别是当遇到大文件的时候,交换区域则是划分为几个区域的(several extents)。

停止vmware的dhcp:【上一篇】
MM常用的双关语:【下一篇】
【相关文章】
  • using Spring Hotswapping for loading user classes from DB
  • 【随机文章】
  • GB码和BIG5码的互换技术
  • Apache 配置 限制
  • 学习Oracle真的好难!
  • IIS攻击大全
  • 基于Windows入门级IDS构建过程详述(1)
  • 用Java实现几种常见的排序算法
  • 将程序图标填加进任务栏(VC++6.0)
  • 格式转换面面观
  • Windows再度危机 DirectX攻击在即
  • Google Gadgets
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 软讯网络 All Rigths Reserved.