没有合适的资源?快使用搜索试试~ 我知道了~
首页操作系统课程设计报告-文件系统
操作系统课程设计报告-文件系统
5星 · 超过95%的资源 需积分: 26 34 下载量 155 浏览量
更新于2023-03-16
评论 3
收藏 1.03MB PDF 举报
操作系统课程设计实验报告 关于文件系统设计思路,由Disk,filesystem,intellegence file system组成
资源详情
资源评论
资源推荐
Project 3 report for OS 5090309739 董诗炜
Report for the 3
rd
project for OS
5090309739 董诗炜
Abstract:
This project is divided into three parts.BDS IDS and FS.
BDS is a basic disk server which can map a big file and simulate disk operations.
IDS is a more intelligent disk server which uses three different scheduling algorithm.
FS simulates a file system which uses the BDS as the disk server and keeps track of
the file.
Project 3 report for OS 5090309739 董诗炜
Catalog
Abstract: ........................................................................................................................... 1
1.BDS: (Basic Disk Server).................................................................................................... 3
1.1 Requirements:....................................................................................................... 3
1.2 Implementation:.................................................................................................... 3
1.2.1 Disk Protocol: .............................................................................................. 3
1.2.2 Disk Client ................................................................................................... 4
1.2.2 Project structure: ......................................................................................... 4
1.3 Running examples: ................................................................................................. 5
1.3.1 Input Format: .............................................................................................. 5
1.3.2 Test cases:............................................................................................. 6
2.IDS: (Intelligent Disk Server )............................................................................................. 6
2.1 Requirements:....................................................................................................... 6
2.2 Implementation:.................................................................................................... 7
2.3 Running examples: .............................................................................................. 7
2.3.1 Input Format: .............................................................................................. 7
2.3.2 Test cases:............................................................................................. 8
2.4 Test for different scheduling algorithm: ............................................................... 9
2.5 Some findings: .................................................................................................. 10
3. FS: (File System) ........................................................................................................... 10
3.1 Requirements:..................................................................................................... 10
3.2 Implementation:.................................................................................................. 10
3.2.1 The File-system Protocol ............................................................................. 11
3.2.2 Project structure ............................................................................................... 11
3.2.3 Difficulties........................................................................................................ 12
3.3 Running examples: ............................................................................................... 12
3.3.1 Input Format: ............................................................................................ 12
3.3.2 Test cases: ................................................................................................. 13
4.Thinkings: ..................................................................................................................... 15
Project 3 report for OS 5090309739 董诗炜
1.BDS: (Basic Disk Server)
1.1 Requirements:
Implement, as an Internet-domain socket server, a simulation of a physical disk. The
simulated disk is organized by cylinder and sector. You should include in your
simulation something to account for track-to-track time. Let this be a value in
microseconds, passed as a command-line parameter to the disk server program. Also,
let the number of cylinders and number of sectors per cylinder be command line
parameters. Assume the sector size is fixed at 256 bytes. Your simulation should store
the actual data in a real disk file, so you'll want a filename for this file as another
command line option.
1.2 Implementation:
1.2.1 Disk Protocol:
1) I: information request. The disk returns two integers representing the disk
geometry: the number of cylinders, and the number of sectors per cylinder.
2) R c s: read request for the contents of cylinder c sector s. The disk returns '1'
followed by those 256 bytes of information, or '0' if no such block exists. (This will
return whatever data happens to be on the disk in a given sector, even if nothing has
ever been explicitly written there before.)
3) W c s l data: write request for cylinder c sector s. l is the number of bytes being
provided, with a maximum of 256. The data is those 1 bytes of data. The disk returns
'1' to the client if it is a valid write request (legal values of c, s and l), or returns a '0'
剩余14页未读,继续阅读
ronnie_alonso
- 粉丝: 0
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
- SPC统计方法基础知识.pptx
- MW全能培训汽轮机调节保安系统PPT教学课件.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论6