优甲乐什么时候吃最好| 什么是胆囊炎| 脉是什么意思| 脸麻是什么原因引起的| 检查尿酸挂什么科| 腿上的肉疼是什么原因| ken是什么意思| 鱼加完念什么| 手机五行属什么| 梦见房子漏水是什么意思| 抵押是什么意思| 吃虾不能吃什么水果| 回声团是什么意思| 牛油果不能和什么一起吃| 夏季适合种什么花| 上火喝什么茶效果最好| pc是什么单位| 蜗牛有什么特点| 近视是什么| 七情六欲是什么意思| 什么人容易得肺结核| 一切唯心造是什么意思| 指鹿为马的反义词是什么| 孕妇拉肚子可以吃什么药| 炸酱面用的什么酱| 路人甲是什么意思| 脸色发黑是什么原因| 女人梦到地震预示什么| 亮油什么时候涂| 60是什么意思| 排卵期同房要注意什么| 尿频尿急尿不尽吃什么药| 1218是什么意思| 卤水是什么| 眼霜有什么作用和功效| 发瘟是什么意思| 吃什么容易消化| 电视开不了机是什么原因| 九月一号是什么节日| 霍金得了什么病| 五彩斑斓的意思是什么| 铁罗汉是什么茶| 为什么一热就头疼| 火车不能带什么| 不堪一击是什么意思| 多囊卵巢综合症是什么| 身份证复印件是什么| 什么是腐女| 3.2号是什么星座| 白斑用什么药膏| 心季吃什么药| 复方甘草酸苷片治什么病| 肾结石都有什么症状| 夏天煲什么汤最好| 怀孕什么时候打胎最合适| 牙龈红肿吃什么药| 婴儿掉头发是什么原因| 冒菜和麻辣烫有什么区别| 脚板心发热是什么原因| 高血压要注意什么| 维酶素片搭配什么药治萎缩性胃炎| bpm是什么意思| 滑膜炎挂什么科| 杏有什么作用和功效| 羊水透声欠佳什么意思| alp医学上是什么意思| 女人出轨有什么表现| 株连九族是什么意思| 什么是原生家庭| 蛇蛋长什么样子| 肌酐高用什么药| 嘴唇上火起泡用什么药| opple是什么牌子| 梦到被蛇咬是什么预兆| 戏梦巴黎讲的是什么| 桑枝是什么| 6月18号是什么星座| 鱼油不能和什么一起吃| 肖可以加什么偏旁| 足银是什么意思| 二次元谷子是什么意思| 拉肚子是什么原因引起的| 慢性胃炎和浅表性胃炎有什么区别| 相与是什么意思| 海灵菇是什么| 吃什么降血脂最快| 为什么一进去就想射| 临床路径是什么意思| pfs是什么意思| catl是什么意思| 黄曲霉素是什么| pgi2在医学是什么意思| 为什么会真菌感染| 燃气泄露是什么味道| 大象的耳朵有什么作用| 2017年五行属什么| 血压低压高是什么原因造成的| 心灵鸡汤是什么意思| 尿胆原是什么意思| 膝盖咔咔响吃什么药| 阑珊处是什么意思| 贞操带是什么| 总是打哈欠是什么原因| 港式按摩是什么意思| 为什么会子宫内膜增厚| 射精出血是什么原因引起的| palace什么牌子| 脱发缺乏什么维生素| 夕阳什么意思| 早上头晕是什么原因| 横行霸道的意思是什么| 蝙蝠来家里是什么预兆| 翘楚是什么意思| 老年人腿肿是什么原因引起的| 儿童诺如病毒吃什么药| 33代表什么意思| 吃什么会拉肚子| 祛痣挂什么科| 样板间是什么意思| 检查阑尾炎挂什么科| 什么人始终不敢洗澡| tspot检查阳性能说明什么| 白内障什么原因造成的| 血糖高检查什么项目| 低压高是什么原因引起的| 恢弘是什么意思| 阴虚是什么| 凝血功能障碍是什么病| 地图舌是什么原因引起的| 头皮脂溢性皮炎用什么药| 腋臭手术挂什么科| 转氨酶高吃什么好得快| 乙酰胆碱的作用是什么| 心脏反流吃什么药| 神经外科是看什么病的| 什么是积| 乙肝挂什么科| 混血是什么意思| 双鱼座上升星座是什么| 来月经吃什么| pph是什么意思| 真丝丝绒是什么面料| 陆代表什么数字| 胎儿头偏小是什么原因引起的| 骨质疏松吃什么钙片好| 卵泡生成素高是什么原因| 脖子上有肿块挂什么科| 什么动物最怕水| 并驾齐驱什么意思| 脊柱侧弯是什么原因引起的| 升字是什么生肖| 包皮有什么影响| 立春是什么生肖| 手脱皮吃什么维生素| 有酒瘾是什么感觉| 早餐有什么| 开水烫伤用什么方法好的最快| 什么时间运动减肥效果最好| 外阴是指什么部位| c2是什么意思| 股癣用什么药膏最好| 口腔溃疡不能吃什么| 命里缺金取什么名字好| 四川的耗儿鱼是什么鱼| 丝苗米是什么米| 出现血精吃什么药| 私募是做什么的| 心脏无力吃什么药最好| 四个木是什么字| 庭长是什么级别| 长期尿黄可能是什么病| 为什么第一次没有出血| 蛊惑是什么意思| 骆驼吃什么食物| 随喜赞叹是什么意思| 释放天性是什么意思| 谦虚的近义词是什么| 牙痛安又叫什么| 什么经验| 医院打耳洞挂什么科| 爸爸的爸爸叫什么| 息肉有什么危害| 每天半夜两三点醒是什么原因| 柠檬苦是什么原因| 寄生是什么意思| 门静脉高压是什么意思| 阿奇霉素主治什么病| 宫颈粘连什么症状| 报考护士资格证需要什么条件| 腰椎生理曲度变直是什么意思| 桃园三结义是什么生肖| 白丝是什么| 早上起来眼睛肿是什么原因| 密云有什么好玩的地方| 西瓜和什么榨汁好喝| 什么是http| 政治信仰是什么| 面基什么意思| 宫腔少量积液是什么意思| 补充电解质是什么意思| 星期三打喷嚏代表什么| 血糖高喝什么豆浆好| 炖鸡肉放什么调料| 文武双全是什么意思| 宝是什么意思| zzegna是什么牌子价格| 花中西施指的是什么花| hcg低是什么原因| 伤口发炎用什么药| 静脉曲张是什么病| 六十天打一字是什么字| 体内湿气重吃什么食物| 百香果什么时候吃最好| 24k镀金是什么意思| 宫颈纳氏腺囊肿是什么意思| 睾丸痛什么原因| 豚的右边念什么| 皮粉色是什么颜色| 适当是什么意思| 冬天有什么花| 鼻窦在什么位置图片| 突然手发抖是什么原因| 中医的望闻问切是什么意思| 为什么胸口疼| 凌晨一点是什么时辰| 肠胃消化不好吃什么食物| 梅毒会通过什么传染| 联通查话费打什么号码| 93年属什么的生肖| 小孩瘦小不长肉是什么原因| 信五行属什么| 眼睛疼吃什么药效果最好| 片状低回声区什么意思| 红字五行属什么| 水中加什么擦玻璃干净| 搭桥香是什么意思| 感冒为什么会打喷嚏| ccu病房是什么意思| 左肋骨下方是什么器官| 高沫是什么茶| 白发缺少什么维生素| 抗结剂对人有什么伤害| 孕妇吃什么钙片好| 七月九号是什么日子| 故事是什么意思| 摩丝是什么| 炭疽是什么病| 四大才子是什么生肖| phoenix是什么牌子| daks是什么品牌| 脚后跟开裂用什么药| andy是什么意思| u是什么单位| 蚕豆病不能吃什么药| 按摩有什么好处| 洗耳恭听是什么意思| 又什么又什么造句| 康熙姓什么| 湿气用什么药最好最快| 25周岁属什么生肖| 为什么心细的男人危险| 甲流是什么| ccu病房什么意思| 敖虫读什么| 百度Jump to content

新中国首位维吾尔族女海军时隔44年再上舰心愿将达成

From Wikipedia, the free encyclopedia
百度 他们举动,看似猛烈,其实却很卑怯。

In operating systems, memory management is the function responsible for managing the computer's primary memory.[1]:?105–208?

The memory management function keeps track of the status of each memory location, either allocated or free. It determines how memory is allocated among competing processes, deciding which gets memory, when they receive it, and how much they are allowed. When memory is allocated it determines which memory locations will be assigned. It tracks when memory is freed or unallocated and updates the status.

This is distinct from application memory management, which is how a process manages the memory assigned to it by the operating system.

Memory management techniques

[edit]

Single contiguous allocation

[edit]

Single allocation is the simplest memory management technique. All the computer's memory, usually with the exception of a small portion reserved for the operating system, is available to a single application. MS-DOS is an example of a system that allocates memory in this way. An embedded system running a single application might also use this technique.

A system using single contiguous allocation may still multitask by swapping the contents of memory to switch among users. Early versions of the MUSIC operating system used this technique.

Partitioned allocation

[edit]

Partitioned allocation divides primary memory into multiple memory partitions, usually contiguous areas of memory. Each partition might contain all the information for a specific job or task. Memory management consists of allocating a partition to a job when it starts and unallocating it when the job ends.

Partitioned allocation usually requires some hardware support to prevent the jobs from interfering with one another or with the operating system. The IBM System/360 uses a lock-and-key technique. The UNIVAC 1108, PDP-6 and PDP-10, and GE-600 series use base and bounds registers to indicate the ranges of accessible memory.

Partitions may be either static, that is defined at Initial Program Load (IPL) or boot time, or by the computer operator, or dynamic, that is, automatically created for a specific job. IBM System/360 Operating System Multiprogramming with a Fixed Number of Tasks (MFT) is an example of static partitioning, and Multiprogramming with a Variable Number of Tasks (MVT) is an example of dynamic. MVT and successors use the term region to distinguish dynamic partitions from static ones in other systems.[2]

Partitions may be relocatable with base registers, as in the UNIVAC 1108, PDP-6 and PDP-10, and GE-600 series. Relocatable partitions are able to be compacted to provide larger chunks of contiguous physical memory. Compaction moves "in-use" areas of memory to eliminate "holes" or unused areas of memory caused by process termination in order to create larger contiguous free areas.[3]

Some systems allow partitions to be swapped out to secondary storage to free additional memory. Early versions of IBM's Time Sharing Option (TSO) swapped users in and out of time-sharing partitions.[4][a]

Paged memory management

[edit]

Paged allocation divides the computer's primary memory into fixed-size units called page frames, and the program's virtual address space into pages of the same size. The hardware memory management unit maps pages to frames. The physical memory can be allocated on a page basis while the address space appears contiguous.

Usually, with paged memory management, each job runs in its own address space. However, there are some single address space operating systems that run all processes within a single address space, such as IBM i, which runs all processes within a large address space, and IBM OS/VS1 and OS/VS2 (SVS), which ran all jobs in a single 16MiB virtual address space.

Paged memory can be demand-paged when the system can move pages as required between primary and secondary memory.

Segmented memory management

[edit]

Segmented memory is the only memory management technique that does not provide the user's program with a "linear and contiguous address space."[1]:?165? Segments are areas of memory that usually correspond to a logical grouping of information such as a code procedure or a data array. Segments require hardware support in the form of a segment table which usually contains the physical address of the segment in memory, its size, and other data such as access protection bits and status (swapped in, swapped out, etc.)

Segmentation allows better access protection than other schemes because memory references are relative to a specific segment and the hardware will not permit the application to reference memory not defined for that segment.

It is possible to implement segmentation with or without paging. Without paging support the segment is the physical unit swapped in and out of memory if required. With paging support the pages are usually the unit of swapping and segmentation only adds an additional level of security.

Addresses in a segmented system usually consist of the segment id and an offset relative to the segment base address, defined to be offset zero.

The Intel IA-32 (x86) architecture allows a process to have up to 16,383 segments of up to 4GiB each. IA-32 segments are subdivisions of the computer's linear address space, the virtual address space provided by the paging hardware.[5]

The Multics operating system is probably the best known system implementing segmented memory. Multics segments are subdivisions of the computer's physical memory of up to 256 pages, each page being 1K 36-bit words in size, resulting in a maximum segment size of 1MiB (with 9-bit bytes, as used in Multics). A process could have up to 4046 segments.[6]

Rollout/rollin

[edit]

Rollout/rollin (RO/RI) is a computer operating system memory management technique where the entire non-shared code and data of a running program is swapped out to auxiliary memory (disk or drum) to free main storage for another task. Programs may be rolled out "by demand end or...when waiting for some long event."[7] Rollout/rollin was commonly used in time-sharing systems,[8] where the user's "think time" was relatively long compared to the time to do the swap.

Unlike virtual storage—paging or segmentation, rollout/rollin does not require any special memory management hardware; however, unless the system has relocation hardware such as a memory map or base and bounds registers, the program must be rolled back in to its original memory locations. Rollout/rollin has been largely superseded by virtual memory.

Rollout/rollin was an optional feature of OS/360 Multiprogramming with a Variable number of Tasks (MVT)

Rollout/rollin allows the temporary, dynamic expansion of a particular job beyond its originally specified region. When a job needs more space, rollout/rollin attempts to obtain unassigned storage for the job's use. If there is no such unassigned storage, another job is rolled out—i.e., is transferred to auxiliary storage—so that its region may be used by the first job. When released by the first job, this additional storage is again available, either (1) as unassigned storage, if that was its source, or (2) to receive the job to be transferred back into main storage (rolled in).[9]

In OS/360, rollout/rollin was used only for batch jobs, and rollin does not occur until the jobstep borrowing the region terminates.

See also

[edit]

Notes

[edit]
  1. ^ Known as TSO regions

References

[edit]
  1. ^ a b Madnick, Stuart; Donovan, John (1974). Operating Systems. McGraw-Hill Book Company. ISBN 0-07-039455-5.
  2. ^ IBM Corporation (1970). IBM System/360 Operating System: Concepts and Facilities (PDF). p. 73.
  3. ^ Samanta, D. (2004). Classic Data Structures. PHI Learning Pvt. Ltd. p. 94. ISBN 8120318749.
  4. ^ IBM Corporation (1972). IBM System/360 Operating System Time Sharing Option Guide (PDF). p. 10.(GC28-6698-5)
  5. ^ Intel Corporation. IA-32 Intel Architecture Software Developer's Manual Volume 1: Basic Architecture.
  6. ^ Green, Paul. "Multics Virtual Memory – Tutorial and Reflections". Archived from the original on 2025-08-08. Retrieved May 9, 2012.
  7. ^ Walraet, Bob (2014). Programming, The Impossible Challenge. Elsevier. p. 124. ISBN 978-0-444-87128-2. Retrieved Aug 24, 2018.
  8. ^ "rollin/rollout" International Symposium on Computer Performance Modeling, Measurement, and Evaluation. Association for Computing Machinery. March 29–31, 1976. p. 137. Retrieved Aug 24, 2018.
  9. ^ IBM Corporation (June 1970). IBM System/360 Operating System: .Concepts and Facilities (PDF). p. 55. Retrieved Aug 24, 2018.
什么叫扁平疣长什么样 fion属于什么档次的包 冶游史是什么意思 ua是什么单位 胃胀吃什么
眼睛散瞳有什么危害 搪瓷是什么材料 每天跑步对身体有什么好处 什么玩意儿 什么的兵马俑
沐字五行属什么 mtd是什么意思 低钾是什么原因引起的 冷冻液是什么 包茎不割会有什么影响
鼻子流清水是什么原因 拉红色的屎是什么原因 什么偏旁 丰胸吃什么 ti是什么元素
张若昀原名叫什么kuyehao.com eicu是什么意思hcv9jop4ns3r.cn 血压高可以吃什么水果hcv9jop3ns0r.cn 神仙是什么意思helloaicloud.com 什么是黄道吉日hcv9jop3ns8r.cn
总蛋白偏低是什么原因hcv8jop7ns7r.cn 脾胃虚弱吃什么中药hcv9jop6ns1r.cn 什么是鼻炎hcv9jop8ns2r.cn 寂寞难耐是什么意思hcv8jop3ns3r.cn 任性妄为是什么意思hcv9jop0ns3r.cn
package什么意思hcv9jop3ns7r.cn 子宫内膜厚有什么症状hcv9jop5ns3r.cn 抗核抗体是什么hcv8jop4ns3r.cn 病毒感染吃什么药hcv9jop0ns6r.cn 痔疮疼痛用什么药hcv8jop0ns7r.cn
一个斤一个页念什么hcv9jop3ns5r.cn 腊肉配什么菜炒好吃hcv8jop8ns5r.cn 便秘喝什么茶好hcv9jop4ns9r.cn 复方氯化钠注射作用是什么hlguo.com 呲牙咧嘴是什么意思hcv8jop1ns0r.cn
百度