- 2
- 0
- 约1.05万字
- 约 45页
- 2017-02-28 发布于湖北
- 举报
Figure 4-10. (a) Contiguous allocation of disk space for 7 files. (b) The state of the disk after files D and F have been removed. Contiguous Allocation Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc. All rights reserved. 0-13-6006639 Contiguous Allocation Advantage: Simple to implement; to record the first block and length Easy to read; only one seek is needed Disadvantage: Fragmentation Contiguous allocation One way to eliminate holes in contiguous allocation is to compact the disk every time a file is moved. In this case, copying a file requires a seek and rotational delay, followed by transfer. If seek time is 5ms, rotational delay is 4ms, transfer rate is 8MB/sec, average file size if 8KB, how long is it to compact half of a 16-GB disk? Figure 4-11. Storing a file as a linked list of disk blocks. Linked List Allocation Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc. All rights reserved. 0-13-6006639 Linked list allocation To keep each file as a linked list of disk blocks Advantage Only internal fragmentation Disadvantage Random access is difficult Adding a pointer at the head of block; extra overhead while coping Figure 4-12. Linked list allocation using a file allocation table in main memory. Linked List Allocation Using a Table in Memory Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc. All rights reserved. 0-13-6006639 Linked List Allocation Using a Table in Memory FAT-File Allocation Table Advantage Can take use of the whole block Random access is easy only to store the starting block number Disadvantage To keep the entire table in memory Can’t scale well ? From MS-DOS to Windows FAT-12, FAT 16, FAT 32 For FAT-12 with 512 bytes blocks, what is the maximum partition size? What is the table size? For FAT-16 with 4KB? In Win95, FAT32 was adopted. Internally, the system tracks sectors of 512 bytes using 32-bit number Figure 4-32. Maximum partition size for different block sizes. The empty box
您可能关注的文档
- UFO报表处理和图表分析实训.ppt
- UFO报表系统实训.ppt
- UG NX6.0-案例二1.ppt
- UG NX基础教程 第02章 工作环境与参数设置.ppt
- UG_NX6.0零部件装配.ppt
- UG_NX6_基础教程_电子教案.ppt
- ug_安装后环境变量问题解决方案.doc
- UG7.0基本操作.ppt
- ug8.0添加中文环境变量的具体方法.doc
- UG帮助文档NXOPEN C#.doc
- 2026年及未来5年内中国液体氩气行业投资前景及策略咨询研究报告.docx
- 2026年及未来5年内中国黄铜合页行业投资前景及策略咨询研究报告.docx
- 2026年及未来5年内中国竹工艺家具行业投资前景及策略咨询研究报告.docx
- 2025年中国微机数显自动分析仪市场调查研究报告.docx
- 2026年及未来5年内中国微尘白色粉笔行业投资前景及策略咨询研究报告.docx
- 2025年中国微电脑型压胶机市场调查研究报告.docx
- 2026年及未来5年内中国数字化等功游泳训练测试系统行业投资前景及策略咨询研究报告.docx
- 2025年中国圆形花瓶市场调查研究报告.docx
- 2026年及未来5年内中国植物纤维静淀过滤器行业投资前景及策略咨询研究报告.docx
- 2025年中国超音波手套机市场调查研究报告.docx
最近下载
- 农村电商(农产品电商)运营全套教学课件.pptx
- 四川省成都市第七中学2025-2026学年高一上学期11月半期考试英语(含答案).pdf
- (最新)ISO31073-2022风险管理术语(译2022-04)(推荐下载).pdf VIP
- (最新)村干部考试试题(含答案).docx VIP
- zippo图册年度机系列整合(更新至C25).docx VIP
- 多轴车铣复合加工运动转换方法:原理、实践与创新.docx
- 商务礼仪商务礼仪培训专用.ppt VIP
- 《铁路劳动安全》第04章预防机动车辆伤害.pptx VIP
- 化工制图第1章 制图基础.ppt VIP
- 化工制图AutoCAD应用基础-03章.pptx VIP
原创力文档

文档评论(0)