文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > IT/计算机 > Page Faults
侵权投诉

Page Faults

Describe Page Faults

In computer storage technology, a page is a fixed-length block of memory that is used as a unit of transfer between physical memory and external storage like a disk, and a page fault is an interrupt (or exception) to the software raised by the hardware, when a program accesses a page that is mapped in address space, but not loaded in physical memory.

The hardware that detects this situation is the memory management unit in a processor. The exception handling software that handles the page fault is generally part of an operating system. The operating system tries to handle the page fault by making the required page accessible at a location in physical memory or kills the program in case it is an illegal access.

Contrary to what their name might suggest, page faults are not errors and are common and necessary to increase the amount of memory available to programs in any operating system that utilizes virtual memory, including Microsoft Windows, Mac OS X, Linux and Unix. Note that Microsoft uses the term hard fault in its Resource Monitor to mean 'page fault' (cf. Resource View Help in Microsoft operating systems).

Contents

[hide]

o 2.1 Minor page fault o o 2.3 Invalid page fault o 2.4 Protection fault 6 References

Page Faults

[edit] Reasons for page fault

Hardware generates a page fault for page accesses where:

the page corresponding to the requested address is not loaded in memory.

第1页

你可能喜欢

热门文档

相关文档

  • page fault

    Why page-faults happen ? ? ? ? ? ? ? Trying to access a virtual memory-address Instruction-operand / instruction-address Read-data/write-data, or ...

  • CMD中CODE PAGE的概念及其设置值

    注意: Microsoft采用以上四种Codepage,因此要访问Microsoft的文件系统时必需采用上面的Codepage . PID Name Page Faults Private Bytes Virtual Size ...

  • Page Replacement Policies

    When should page replacement policy be invoked: ? on a page fault ? independent of page faults (a paging daemon) CS 3013 1 week5-pagereplace.tex ...

  • Page Replacement Algorithms

    (frame, List); tmp = "\n\nThe Numbers of Page Faults for Each Algorithm Are:"+ "\n (1) Least Recently Used(LRU): " +lru+ " ;\n (2) ...

  • Basic Page Replacement

    Evaluate algorithm by running it on a particular string of memory references (reference string) and computing the number of page faults on that string ? ...

  • Windows 性能监视器的一些基本指标

    Windows -Memory 指标名称 指标描述 指标范围 指标 单位 Pages/sec Pages Input/sec Pages Output/sec Page Fault/sec Page Faults/sec 如果 Page Reads/Sec ...

  • Linux time 命令详解

    (requiring I/O) page faults: 153 Minor (reclaiming a frame) page faults: 64 Voluntary context switches: 0 Involuntary context switches: 0 Swaps: 0 ...

  • Liunux指令大全中

    (requiring I/O) page faults: 238 Minor (reclaiming a frame) page faults: 46 Minor (reclaiming a frame) page faults: 46 Voluntary context switches: 0...

  • 《操作系统概念》第六版作业解答3

    ? ? 10.1 Under what circumstances do page faults occur? Describe the actions taken by the operating system when a page fault occurs. A page fault ...

  • 君曜驱动训练课程(中文版)

    不允许直接使用memcpy来互换两个不同空 间的内存.这会造成使用者空间的page faults 错误 例:使用者空间与核心空间 Read()的范例: zet_read 4.侦错技巧 ADB ...

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email