University of Engineering and Technology Peshawar: Assignment 2 External Memory
University of Engineering and Technology Peshawar: Assignment 2 External Memory
University of Engineering and Technology Peshawar: Assignment 2 External Memory
Assignment 2
External Memory
Submitted by:
Muhammad Maaz Khan
19PWBCS0687
Section B
4th semester
Submitted to:
Ayesha Javed
Striped Data:
In computer we need to store data in such a way so that it can be
accessed and manipulated faster.
Data Striping is a technique through which we divide logically
sequential data into segments, in a way that accesses of
sequential segments are made to different physical storage
devices referred to as stripes. Data striping transparently
distributes data over multiple disks to make them appear as a
single fast, large disk.
A stripe consists of the data divided across the set of hard disks
or SSDs. Because striping spreads data across more physical
drives, multiple disks can access the contents of a file, enabling
writes and reads to be completed more quickly.
This data that is now distributed across multiple disks is called as
striped data.
Parallel access:
In a parallel access array, all member disks participate in the
execution of every I/O request. All the disks are run at the same
time. The spindles of the individual drives are synchronized so
that each disk head is in the same position on each disk at any
given time. This type of Access is used for same I/O requests
when there is one I/O or same data is requested by participating
I/O(s).
Independent Access:
In an independent access array, each member disk operates
independently, so that separate I/O requests can be satisfied in
parallel. Disks have no synchronized movement. The disks run
separate of each other.
Numerical Problem:
Consider a disk with 16 platters , 2 surface per platter, 1K track
per surface, 2k sectors per track; 2048 bytes per sector. Disk
rotates with 3000 rpm. Seek time is 10ms
Required data:
Find the capacity of disk.
Number of bits required for addressing this disk.
Find disk access time.
Find the disk transfer time.
Given Data:
Number of surfaces = 16
Number of tracks per surface = 128
Number of sectors per track = 256
Number of bytes per sector = 512 bytes
Solution:
Capacity of Disk Space:
Capacity of disk pack = Total number of surfaces x Number
of tracks per surface x Number of sectors per track x
Number of bytes per sector