SlideShare a Scribd company logo
1 of 25
Submitted To
Ms. R. Madhubala, MCA.,
By
G.Ramya Bharathi(14BIT046)
1) Disk Structure
2) Disk Scheduling
3) Disk Management
4) Swap-space Management
5) Swap-space use and Location
6) Windows 2000
 Disks provide the bulk of secondary storage for modern
computer systems.Magnetic tape was used an early
secondary storage medium but the acces time is much
slower than for disks.
 Modern disk drives are addressed as large one-
dimensional array of logical blocks,where the logical
block is the smallest unit of transfer.The size of the
logical block is usually 512 bytes,although some disks
can be low-level formatted to choose a different logical
block size,such as 1024 bytes.
 The disk drives meeting this responsibility entails having a
fast access time and disk bandwidth.
 The seek time is the time for the disk arm to move the heads
to the cylinder containing the desired sector.
 The rotational latency is the additional time waiting for the
disk to rotate the desired sector to the disk head.
 The disk bandwidth is the total number of bytes transferd
divided by the total time between the first request for service
and the completion of the last transfer.
 We can improve the both the access time and the bandwodth
by scheduling the servicing of disk I/O requests in a good
order.
The request specifies several pieces of information:
 Whether this operation is input or output.
 What the disk address for the transfer is
 What the memory address for the transfer is
 What the number of bytes to be transferred is
If the desired disk drive and controller are
available,the requests can be serviced
immediately.
 The operating system is responsible for several
other aspects of disk management too.
 Here we discuss disk initialization,booting
from disk,and bad-block recovery.
 Disk Formatting
 Boot Block
 Bad Blocks
 A new magnetic disk is a blank slate;
 It is just platters of a magnetic recording material.Before
a disk can store data ,it must be divided into sectors
that the disk controller can read and write .
 This process is called low-level formatting .
 Low-level formatting fills the disk with a special data
structure for each sector.
 The header & trailer contain information used by the
disk controller such as sector number and an Error-
correcting code(ECC).
 The operating system still needs to record its own
data structures on the disk.
 It does so in two steps.
 The first step is to partition the disk into one or
more groups of cylinders.
 The operating system can treat each partition as
though it were a separate disk.
 After partitioning,the second step is logical
formatting.
 In this step the operating system stores the initial
file-system data structure onto the disk.
 This initial bootstrap program tends to be simple.It
initializes all aspects of the system,from CPU
registers to device controllers and the contents of
main memory and then starts the operating system.
 For most computers,the bootstrap is stored in Read-
only memory(ROM).
 A disk that has a boot partition is called a Boot disk
or system disk.
 The code in the boot ROM instructs the disk
controller to read the boot blocks into memory and
then starts executing that code.
 More frequently,one or more sectors become defective.
 Most disks even come from the factory with bad blocks.
 On simple disks,such as some disks with IDE
controllers,bad blocks are handled manually.
 For instance,the MS-DOS format command does a
logical format and as a part of the process scans the disk
to the find bad blocks.
 As an alternative to sector sparing some controllers can
be instructed to replace a bad block by sector sliping.
sector 0
sector 1
MS-DOS disk layout
 More sophisticated disks,such as the SCSI disks
used in high-end pcs and more workstations an
servers are smarter about bad-black recovery.
boot block
FAT
root directory
data blocks
(subdirectries)
 Swap-space management is another low-level task
of the operating system .
 Virtual memeory uses disk space as an extension of
main memory.
 In this section,we discuss how swap space is used,
 where swap space is located on disk,and how swap
space is managed.
Swap-Space Use
 swap space is used in various ways by different
operating systems,depending on the implementated
memory-management algorithm.
 For instance,systems that implement swapping may
use swap space to hold the entire process
image,including the code and data segments.Some
operating systems.
 such as UNIX,allow the use of multiple swap
spaces.
 These swap spaces are usually put on separate disks
,so the load placed on the I/O system by paging and
swapping can be spread over the system’s I/O
devices.
Swap-space Location:
 A swap can reside in two places:Swap space can be
carved out of the normal file system,or it can be in
a separate disk partition.
 Navigating the directory structure and the disk-
allocation data structures takes time and extra disk
accesses.
 Alternatively,swap space can be created in a
separate disk partition.
 This approach creates a fixed amount of swap
space during disk partitioning.
Swap-space Management:An Example
 Swap space is allocated to a process when the
process is started.Enough space is set aside to hold
the program,known as the text pages or the text
segment,and the data segment of the process.Two
process swap maps are used by the kernal to track
swap space use. map
m
BSD text-segment swap map
...
512k 512k 512k 71k
 Microsoft windows 2000 operating system is a 32-
bit preemptive multitask operating system for Intel
pentium and later microprocessors.T
 he success windows NT operating system,it was
previously named windows version 5.0.
History
 In 1980’s Microsoft and IBM cooperated to develop
the os/2 operating system.
 Thus portability now refers to portability Intel
architecture systems.
 Extensibility refers to the capacity of an operating
system to keep advances in computing technology.
 Among them environmental subsystems that can
different operating systems.
 An operating system is portable if it can be moved
from one hardware to another with relatively few
changes.
 All processor –dependent code is isolated in a link
library called the Hardware-abstraction
layer(HAL).
 It provides source level compatibility to
application that a IEEE 1003.1
 The user-mode subsystem are in two categories.The
environmental subsystem emulates different
operating systems that was subsystems provide
security function.
Hardware –Abstraction Layer
 HAL is the layer of software that hides hardware
differences from of the operating system,to help
make windows 2000 portable.
 For performance reasons,I/O drivers can access the
hardware directly.
 The kernel of windows 2000 provides the foundation for
the executive and subsystems.
 The kernel is never paged out of memory,and its
execution preempted.
 An object type in windows 2000 is a subsystem data
type that has a set of attributes and a set of operations.
 The thread object is the entity that is run kernel and is
associated with a process object.
 Timer objects are used to keep track of the time and to
signal timeouts when operations take and need to be
interrupted.
 The virtual memory operation of the windows 2000
executive is the Virtual memory manager.
 The VM manager windows 2000 uses a page-based
management scheme with a page size of the data
that are assigned to a process but are not in physical
memory stored in the paging file on disk.
 Windows provides an alternative ,called a section
object,to present a block of memory.
 I/O manager is responsible for file systems,cache
management,device and network drivers.
 The I/O Manager converts the requests it receives
into a standard called an I/O request packet(IRP).
 Eack cache block is described a Virtual-address
control block(VACB)that stores the virtual address
and offset for that view,as well as the number of
processes that are using that manager.
.
Disk driver
File system
Process
Cache manager
VM Manager
Cached I/O
data copy
Page fault
I/O I/O
manager
noncached
I/O
File I/O
 The MS-DOS environment does not have the
complexity of the other 2000 environmental
subsystems.
 It is provide by a win32 application the virtual DOS
machine(VDM).
File system
 Historically,MS-DOS systems have used the file
allocation table.
 The 16-bit FAT file system has several
shortcomings,including fragmentation,a size
limitation of 2 GB,and a access protection.
In windows 2000 volume called a volume
set,which can consist of up to 32 physical parts.
LCNS 0-128000
LCNS 128001-
783361
Disk C:(FAT)
logical drive D
disk
1(2.5GB)
Disk 2(2.5 GB)
 The Several message-block(SMB) protocol was first
introduced .
 The system uses the protocol to send I/O request
over the network SMB protocol has four message
types.
 Windows 2000 uses the Data-link control(DLC)
protocol to access IBM frames and HP printers that
are connected directly to the network.
 The AppleTalk protocol was designed as a low-cost
connectivity .

More Related Content

What's hot (19)

Mass storage systemsos
Mass storage systemsosMass storage systemsos
Mass storage systemsos
 
Operating Systems: Device Management
Operating Systems: Device ManagementOperating Systems: Device Management
Operating Systems: Device Management
 
Disk management
Disk managementDisk management
Disk management
 
Massstorage
MassstorageMassstorage
Massstorage
 
Chapter 12 - Mass Storage Systems
Chapter 12 - Mass Storage SystemsChapter 12 - Mass Storage Systems
Chapter 12 - Mass Storage Systems
 
OSCh21
OSCh21OSCh21
OSCh21
 
ch11
ch11ch11
ch11
 
Mass storage device
Mass storage deviceMass storage device
Mass storage device
 
Os
OsOs
Os
 
file management
 file management file management
file management
 
Xd planning guide - storage best practices
Xd   planning guide - storage best practicesXd   planning guide - storage best practices
Xd planning guide - storage best practices
 
Operating system and installation
Operating system and  installationOperating system and  installation
Operating system and installation
 
os
osos
os
 
Disk structure
Disk structureDisk structure
Disk structure
 
Swap space management and protection in os
Swap space management and protection  in osSwap space management and protection  in os
Swap space management and protection in os
 
Storage Devices
Storage DevicesStorage Devices
Storage Devices
 
OSCh14
OSCh14OSCh14
OSCh14
 
Operating Systems
Operating SystemsOperating Systems
Operating Systems
 
Disk scheduling & Disk management
Disk scheduling & Disk managementDisk scheduling & Disk management
Disk scheduling & Disk management
 

Viewers also liked

KelvinT_Directors Treatment
KelvinT_Directors TreatmentKelvinT_Directors Treatment
KelvinT_Directors TreatmentKelvin T
 
Tokyo Guidelines
Tokyo GuidelinesTokyo Guidelines
Tokyo GuidelinesTuân Văn
 
Top global supply chain trends 2017
Top global supply chain trends 2017Top global supply chain trends 2017
Top global supply chain trends 2017Lauren Bechtel
 
Vii domingo tiempo ordinario ciclo a
Vii domingo tiempo ordinario ciclo aVii domingo tiempo ordinario ciclo a
Vii domingo tiempo ordinario ciclo aMARTIN ARTERO
 
Meetings in 2027: Predictions for the Future of the Hospitality Industry
Meetings in 2027: Predictions for the Future of the Hospitality IndustryMeetings in 2027: Predictions for the Future of the Hospitality Industry
Meetings in 2027: Predictions for the Future of the Hospitality IndustrySocial Tables
 
How to close more sales - tips from Vicente E. Garcia, fan of SAP and HP
How to close more sales - tips from Vicente E. Garcia, fan of SAP and HPHow to close more sales - tips from Vicente E. Garcia, fan of SAP and HP
How to close more sales - tips from Vicente E. Garcia, fan of SAP and HPMrViceGarcia
 
W1 m2-u3 autopoietic theory
W1 m2-u3 autopoietic theoryW1 m2-u3 autopoietic theory
W1 m2-u3 autopoietic theorydeuxetoiles
 
21 Nuggets of Wisdom to Inspire Your 2014 Marketing Strategies
21 Nuggets of Wisdom to Inspire Your 2014 Marketing Strategies21 Nuggets of Wisdom to Inspire Your 2014 Marketing Strategies
21 Nuggets of Wisdom to Inspire Your 2014 Marketing StrategiesVision Critical
 
Xavier Valle -Aspetar and FCB classification of muscle injuries
Xavier Valle -Aspetar and FCB classification of muscle injuries Xavier Valle -Aspetar and FCB classification of muscle injuries
Xavier Valle -Aspetar and FCB classification of muscle injuries MuscleTech Network
 
Transaction update - corporate finance annual roundup of 2016
Transaction update - corporate finance annual roundup of 2016Transaction update - corporate finance annual roundup of 2016
Transaction update - corporate finance annual roundup of 2016Browne Jacobson LLP
 
Akcja Zdrowo i Sportowo na konferencji "I Ty możesz zostać super WUEFISTĄ"
Akcja Zdrowo i Sportowo na konferencji "I Ty możesz zostać super WUEFISTĄ"Akcja Zdrowo i Sportowo na konferencji "I Ty możesz zostać super WUEFISTĄ"
Akcja Zdrowo i Sportowo na konferencji "I Ty możesz zostać super WUEFISTĄ"Tennis&Management
 
Leveraging the Voice of the Customer
Leveraging the Voice of the CustomerLeveraging the Voice of the Customer
Leveraging the Voice of the CustomerCLAVIGO PARTNERS
 

Viewers also liked (19)

Unequal impact 2017
Unequal impact 2017Unequal impact 2017
Unequal impact 2017
 
KelvinT_Directors Treatment
KelvinT_Directors TreatmentKelvinT_Directors Treatment
KelvinT_Directors Treatment
 
Tokyo Guidelines
Tokyo GuidelinesTokyo Guidelines
Tokyo Guidelines
 
Top global supply chain trends 2017
Top global supply chain trends 2017Top global supply chain trends 2017
Top global supply chain trends 2017
 
Speakers PMF17
Speakers PMF17Speakers PMF17
Speakers PMF17
 
Guía sobre DDHH para ONG. CSW 2017
Guía sobre DDHH para ONG. CSW 2017Guía sobre DDHH para ONG. CSW 2017
Guía sobre DDHH para ONG. CSW 2017
 
Katherine
KatherineKatherine
Katherine
 
Trabajo 5
Trabajo 5Trabajo 5
Trabajo 5
 
Vii domingo tiempo ordinario ciclo a
Vii domingo tiempo ordinario ciclo aVii domingo tiempo ordinario ciclo a
Vii domingo tiempo ordinario ciclo a
 
Meetings in 2027: Predictions for the Future of the Hospitality Industry
Meetings in 2027: Predictions for the Future of the Hospitality IndustryMeetings in 2027: Predictions for the Future of the Hospitality Industry
Meetings in 2027: Predictions for the Future of the Hospitality Industry
 
S8 line engineer culture
S8 line engineer cultureS8 line engineer culture
S8 line engineer culture
 
How to close more sales - tips from Vicente E. Garcia, fan of SAP and HP
How to close more sales - tips from Vicente E. Garcia, fan of SAP and HPHow to close more sales - tips from Vicente E. Garcia, fan of SAP and HP
How to close more sales - tips from Vicente E. Garcia, fan of SAP and HP
 
W1 m2-u3 autopoietic theory
W1 m2-u3 autopoietic theoryW1 m2-u3 autopoietic theory
W1 m2-u3 autopoietic theory
 
21 Nuggets of Wisdom to Inspire Your 2014 Marketing Strategies
21 Nuggets of Wisdom to Inspire Your 2014 Marketing Strategies21 Nuggets of Wisdom to Inspire Your 2014 Marketing Strategies
21 Nuggets of Wisdom to Inspire Your 2014 Marketing Strategies
 
Xavier Valle -Aspetar and FCB classification of muscle injuries
Xavier Valle -Aspetar and FCB classification of muscle injuries Xavier Valle -Aspetar and FCB classification of muscle injuries
Xavier Valle -Aspetar and FCB classification of muscle injuries
 
Transaction update - corporate finance annual roundup of 2016
Transaction update - corporate finance annual roundup of 2016Transaction update - corporate finance annual roundup of 2016
Transaction update - corporate finance annual roundup of 2016
 
Akcja Zdrowo i Sportowo na konferencji "I Ty możesz zostać super WUEFISTĄ"
Akcja Zdrowo i Sportowo na konferencji "I Ty możesz zostać super WUEFISTĄ"Akcja Zdrowo i Sportowo na konferencji "I Ty możesz zostać super WUEFISTĄ"
Akcja Zdrowo i Sportowo na konferencji "I Ty możesz zostać super WUEFISTĄ"
 
Leveraging the Voice of the Customer
Leveraging the Voice of the CustomerLeveraging the Voice of the Customer
Leveraging the Voice of the Customer
 
ビジネス日本語教師養成講座 実践例報告
ビジネス日本語教師養成講座 実践例報告ビジネス日本語教師養成講座 実践例報告
ビジネス日本語教師養成講座 実践例報告
 

Similar to I/O System and Case Study

Similar to I/O System and Case Study (20)

Operating system ppt
Operating system pptOperating system ppt
Operating system ppt
 
Operating system ppt
Operating system pptOperating system ppt
Operating system ppt
 
Operating system ppt
Operating system pptOperating system ppt
Operating system ppt
 
Operating system ppt
Operating system pptOperating system ppt
Operating system ppt
 
OS_Ch14
OS_Ch14OS_Ch14
OS_Ch14
 
Ch14 OS
Ch14 OSCh14 OS
Ch14 OS
 
File Management in Operating Systems
File Management in Operating SystemsFile Management in Operating Systems
File Management in Operating Systems
 
virtual memory - Computer operating system
virtual memory - Computer operating systemvirtual memory - Computer operating system
virtual memory - Computer operating system
 
Windows xp
Windows xpWindows xp
Windows xp
 
101 2.1 design hard disk layout v2
101 2.1 design hard disk layout v2101 2.1 design hard disk layout v2
101 2.1 design hard disk layout v2
 
2.1 design hard disk layout v2
2.1 design hard disk layout v22.1 design hard disk layout v2
2.1 design hard disk layout v2
 
Memory comp
Memory compMemory comp
Memory comp
 
Lecture 02 hardware
Lecture 02 hardwareLecture 02 hardware
Lecture 02 hardware
 
The Storage Systems
The Storage Systems The Storage Systems
The Storage Systems
 
Basicarchitecturememory
BasicarchitecturememoryBasicarchitecturememory
Basicarchitecturememory
 
2337610
23376102337610
2337610
 
Microprocessor based software developnent
Microprocessor based software developnentMicroprocessor based software developnent
Microprocessor based software developnent
 
Opetating System Memory management
Opetating System Memory managementOpetating System Memory management
Opetating System Memory management
 
Hpux AdvFS On Disk Structure Scoping
Hpux AdvFS On Disk Structure ScopingHpux AdvFS On Disk Structure Scoping
Hpux AdvFS On Disk Structure Scoping
 
Sheik Mohamed Shadik - BSc - Project Details
Sheik Mohamed Shadik - BSc - Project DetailsSheik Mohamed Shadik - BSc - Project Details
Sheik Mohamed Shadik - BSc - Project Details
 

Recently uploaded

“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Recently uploaded (20)

“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 

I/O System and Case Study

  • 1. Submitted To Ms. R. Madhubala, MCA., By G.Ramya Bharathi(14BIT046)
  • 2. 1) Disk Structure 2) Disk Scheduling 3) Disk Management 4) Swap-space Management 5) Swap-space use and Location 6) Windows 2000
  • 3.  Disks provide the bulk of secondary storage for modern computer systems.Magnetic tape was used an early secondary storage medium but the acces time is much slower than for disks.  Modern disk drives are addressed as large one- dimensional array of logical blocks,where the logical block is the smallest unit of transfer.The size of the logical block is usually 512 bytes,although some disks can be low-level formatted to choose a different logical block size,such as 1024 bytes.
  • 4.  The disk drives meeting this responsibility entails having a fast access time and disk bandwidth.  The seek time is the time for the disk arm to move the heads to the cylinder containing the desired sector.  The rotational latency is the additional time waiting for the disk to rotate the desired sector to the disk head.  The disk bandwidth is the total number of bytes transferd divided by the total time between the first request for service and the completion of the last transfer.  We can improve the both the access time and the bandwodth by scheduling the servicing of disk I/O requests in a good order.
  • 5. The request specifies several pieces of information:  Whether this operation is input or output.  What the disk address for the transfer is  What the memory address for the transfer is  What the number of bytes to be transferred is If the desired disk drive and controller are available,the requests can be serviced immediately.
  • 6.  The operating system is responsible for several other aspects of disk management too.  Here we discuss disk initialization,booting from disk,and bad-block recovery.  Disk Formatting  Boot Block  Bad Blocks
  • 7.  A new magnetic disk is a blank slate;  It is just platters of a magnetic recording material.Before a disk can store data ,it must be divided into sectors that the disk controller can read and write .  This process is called low-level formatting .  Low-level formatting fills the disk with a special data structure for each sector.  The header & trailer contain information used by the disk controller such as sector number and an Error- correcting code(ECC).
  • 8.  The operating system still needs to record its own data structures on the disk.  It does so in two steps.  The first step is to partition the disk into one or more groups of cylinders.  The operating system can treat each partition as though it were a separate disk.  After partitioning,the second step is logical formatting.  In this step the operating system stores the initial file-system data structure onto the disk.
  • 9.  This initial bootstrap program tends to be simple.It initializes all aspects of the system,from CPU registers to device controllers and the contents of main memory and then starts the operating system.  For most computers,the bootstrap is stored in Read- only memory(ROM).  A disk that has a boot partition is called a Boot disk or system disk.  The code in the boot ROM instructs the disk controller to read the boot blocks into memory and then starts executing that code.
  • 10.  More frequently,one or more sectors become defective.  Most disks even come from the factory with bad blocks.  On simple disks,such as some disks with IDE controllers,bad blocks are handled manually.  For instance,the MS-DOS format command does a logical format and as a part of the process scans the disk to the find bad blocks.  As an alternative to sector sparing some controllers can be instructed to replace a bad block by sector sliping.
  • 11. sector 0 sector 1 MS-DOS disk layout  More sophisticated disks,such as the SCSI disks used in high-end pcs and more workstations an servers are smarter about bad-black recovery. boot block FAT root directory data blocks (subdirectries)
  • 12.  Swap-space management is another low-level task of the operating system .  Virtual memeory uses disk space as an extension of main memory.  In this section,we discuss how swap space is used,  where swap space is located on disk,and how swap space is managed.
  • 13. Swap-Space Use  swap space is used in various ways by different operating systems,depending on the implementated memory-management algorithm.  For instance,systems that implement swapping may use swap space to hold the entire process image,including the code and data segments.Some operating systems.  such as UNIX,allow the use of multiple swap spaces.  These swap spaces are usually put on separate disks ,so the load placed on the I/O system by paging and swapping can be spread over the system’s I/O devices.
  • 14. Swap-space Location:  A swap can reside in two places:Swap space can be carved out of the normal file system,or it can be in a separate disk partition.  Navigating the directory structure and the disk- allocation data structures takes time and extra disk accesses.  Alternatively,swap space can be created in a separate disk partition.  This approach creates a fixed amount of swap space during disk partitioning.
  • 15. Swap-space Management:An Example  Swap space is allocated to a process when the process is started.Enough space is set aside to hold the program,known as the text pages or the text segment,and the data segment of the process.Two process swap maps are used by the kernal to track swap space use. map m BSD text-segment swap map ... 512k 512k 512k 71k
  • 16.  Microsoft windows 2000 operating system is a 32- bit preemptive multitask operating system for Intel pentium and later microprocessors.T  he success windows NT operating system,it was previously named windows version 5.0. History  In 1980’s Microsoft and IBM cooperated to develop the os/2 operating system.  Thus portability now refers to portability Intel architecture systems.
  • 17.  Extensibility refers to the capacity of an operating system to keep advances in computing technology.  Among them environmental subsystems that can different operating systems.  An operating system is portable if it can be moved from one hardware to another with relatively few changes.  All processor –dependent code is isolated in a link library called the Hardware-abstraction layer(HAL).  It provides source level compatibility to application that a IEEE 1003.1
  • 18.  The user-mode subsystem are in two categories.The environmental subsystem emulates different operating systems that was subsystems provide security function. Hardware –Abstraction Layer  HAL is the layer of software that hides hardware differences from of the operating system,to help make windows 2000 portable.  For performance reasons,I/O drivers can access the hardware directly.
  • 19.  The kernel of windows 2000 provides the foundation for the executive and subsystems.  The kernel is never paged out of memory,and its execution preempted.  An object type in windows 2000 is a subsystem data type that has a set of attributes and a set of operations.  The thread object is the entity that is run kernel and is associated with a process object.  Timer objects are used to keep track of the time and to signal timeouts when operations take and need to be interrupted.
  • 20.  The virtual memory operation of the windows 2000 executive is the Virtual memory manager.  The VM manager windows 2000 uses a page-based management scheme with a page size of the data that are assigned to a process but are not in physical memory stored in the paging file on disk.  Windows provides an alternative ,called a section object,to present a block of memory.
  • 21.  I/O manager is responsible for file systems,cache management,device and network drivers.  The I/O Manager converts the requests it receives into a standard called an I/O request packet(IRP).  Eack cache block is described a Virtual-address control block(VACB)that stores the virtual address and offset for that view,as well as the number of processes that are using that manager.
  • 22. . Disk driver File system Process Cache manager VM Manager Cached I/O data copy Page fault I/O I/O manager noncached I/O File I/O
  • 23.  The MS-DOS environment does not have the complexity of the other 2000 environmental subsystems.  It is provide by a win32 application the virtual DOS machine(VDM). File system  Historically,MS-DOS systems have used the file allocation table.  The 16-bit FAT file system has several shortcomings,including fragmentation,a size limitation of 2 GB,and a access protection.
  • 24. In windows 2000 volume called a volume set,which can consist of up to 32 physical parts. LCNS 0-128000 LCNS 128001- 783361 Disk C:(FAT) logical drive D disk 1(2.5GB) Disk 2(2.5 GB)
  • 25.  The Several message-block(SMB) protocol was first introduced .  The system uses the protocol to send I/O request over the network SMB protocol has four message types.  Windows 2000 uses the Data-link control(DLC) protocol to access IBM frames and HP printers that are connected directly to the network.  The AppleTalk protocol was designed as a low-cost connectivity .