当前位置:网站首页>Paging storage management mode
Paging storage management mode
2022-07-20 18:27:00 【Orange#】
principle
The principle of paging storage management :
Suppose a process size 1KB, We put 1KB Divide into several blocks of the same size , It's called a page Or one page ; Number each page , from 0 Start . At the same time, the memory space is divided into blocks of the same size as the page size , be called block perhaps Page box ; When the process is loaded into memory , In blocks , Divide the process into several parts and load them into non adjacent physical blocks .( The last page of the process is often not loaded enough to form fragments in the page )
Basic paging storage management ( Simple paging storage management ) Principle :
When a job needs to be called into memory , The system first determines whether it can meet the number of blocks required by the process . If it is satisfied, call it into memory , If it is not satisfied, it will not be transferred into memory .
The principle of request paging storage management :
When the job is called into memory , The system does not need to meet all the needs of the job , You can allocate memory blocks only to the part of the job that you want to run , The rest remains in external storage , When to execute and when to allocate memory blocks .
Page and page table
Page size selection :
The page size is determined by the address structure of the machine ,32 position /64 position . A machine can only have pages of one size , It's usually a few KB To dozens KB.
There are drawbacks in pages that are too large or too small . Pages are too small to make full use of memory , But page table ( All pages of a job form a page table ) Too long , A lot of memory .
Page too large , Although it can make the page table shorter , Less memory , But there will be a lot of internal debris , Low memory utilization .
Address structure :
Basic paging storage management ( Simple page storage management ) The implementation of the
Address change mechanism
Two level and multi page tables
边栏推荐
- 程序员到了35岁就不能打了,到底是事实还是误解?
- Cerebral Cortex:老年人生活方式与脑功能连接的关系及其与认知能力下降的联系
- 如何做好安全开发?
- 关于收发邮件中的一些概念解释(收件人 抄送人 密送人 回复 回复全部)
- CSDN定制T恤等你来拿,《新程序员》福利来袭!
- Emergency management department: solidly promote the major inspection of work safety and the "100 day action" of gas and self built houses
- webdriver点击登录失效问题的解决
- 玩转时习知NO.8 | 企业瞬间省下几十万,只因用了它......
- 压价、博弈、苦等,2022年VC/PE赶着排队退出
- 分页存储管理方式
猜你喜欢
随机推荐
YUV 播放器
【推荐阅读】超有用的漏洞扫描工具合集!
干货!FLDetector:通过检测恶意用户防御联邦学习中的模型污染攻击
Oracle数据库迁移,还担心执行计划改变吗?
JMeter学习笔记002-JMeter之响应断言
趣店罗敏的背水一战
单元格中出现input时,单元格长度变宽怎么办?
Read the source code ThreadLocal together
[performance optimization] MySQL performance optimization storage engine tuning
用代码画时序图!简直太爽了
减肥人士要哭:食物不吃看看也不行,因为你的大脑会发炎
开源开放,创新者赢,2022“科创中国”开源创新榜评选全面开启!
Create the concept of "privacy technology" 360 digital technology helps maintain industry data security
隧道广播与无线集群通信广播系统-天台山隧道案例
光大银行分布式实战:国内最大缴费平台的数据库架构转型
时习知新功能上线啦丨6月有这些新功能上线,你会用了吗?
玩转时习知NO.8 | 企业瞬间省下几十万,只因用了它......
如何创建一个简易的Electron桌面程序
激光雷达构建地图( 覆盖栅格建图)
celery ValueError: not enough values to uppack(expected 3, got 0)