Transcript of Secondary Storage Unit 013: Systems Architecture Workbook: Secondary Storage 1G.
Slide 1
Secondary Storage Unit 013: Systems Architecture Workbook:
Secondary Storage 1G
Slide 2
Notes Available in your SharePoint work space: This
presentation Systems Architecture Secondary Storage 1G Workbook
Take notes
Slide 3
This topic covers: Disk Drives Different types of hard drive
Fundamentals Characteristics RAID
Slide 4
Secondary Storage characteristics Not directly accessible by
the CPU Non Volatile Less expensive than primary storage Therefore
much larger in capacity Used as part of virtual memory
Slide 5
Main Memory Mass storage device Removable media drive Removable
Medium Removable Medium Removable Medium Removable Medium Removable
Medium Robotic access system Tertiary Storage Removable media drive
CD-RW, DVD-RW Memory bus Removable Medium Offline Storage Primary
Storage Secondary Storage
Slide 6
Main Memory Mass storage device Removable media drive Removable
Medium Removable Medium Removable Medium Removable Medium Removable
Medium Robotic access system Tertiary Storage Removable media drive
CD-RW, DVD-RW Memory bus Removable Medium Offline Storage Primary
Storage Secondary Storage
Slide 7
Hard Disk Drives Modern computers use disk drives as secondary
storage Mechanical Based on rotating magnetic disks Inexpensive
Order of magnitude slower access times than primary storage
Typically in the order of thousands of a second compared to
billionths of a second Mitigated by transferring data in large
contiguous blocks
Slide 8
Slide 9
HDD Operation Data is recorded by magnetising a thin film of
ferromagnetic layer on a disk Data is encoded in a special code
(zoned bit recording) Failures are divided into two main types:
Predicable Degradation, wear and tear Unpredictable Sudden and
without warning Mechanical failure accounts for 60% of HD drive
failures SMART Self Monitoring, Analysis and Reporting Technology
Used to Detects and reports errors indicating an impending failure
Modern versions attempt to correct media errors
Slide 10
Important HD Characteristics Seek time How long does it take
between when the CPU requests a file and it receives the first byte
Physical format Disks come in standard formats: 3 , 2 , 1.8 Data
transfer rate How quickly can you get data in and out of the device
Capacity How much data can it store Interface How does it connect
to the computer
Slide 11
HDD Layout
Slide 12
Formatting Low level formatting The media is divided into
tracks and sectors Performed by the manufacturer Zoned bit
recording in which tracks on the outside contain more data High
level formatting The file system structures are laid out This uses
some of the space to organise files on the disk, files names and
sequences of disk areas for those files Different OSs use different
file systems
Slide 13
Types of HDD (today) IDE Advanced Technology Attachment Also
called EIDE, ATA, ATAPI, PATA SATA Serial ATA SCSI Small Computer
Systems Interface SAS Serial Attached SCSI FLASH
Slide 14
ATA (IDE, ATAPI. PATA, EIDE) Disadvantages Low transfer rate 5
to 133 MB per second Only one device on the ATA cable is able to
read or write at any one time Limited cable length (18 inches)
Advantages Low costs Large capacity
Slide 15
Drive Arrangement Slave Master
Slide 16
SATA Disadvantages Slower than SCSI Not supported in older
systems Advantages Low cost Fast transfer rate compared to ATA
150MB to 600MB per second Smaller cables for better heat
dissipation
Slide 17
Drive Arrangement Point to point architecture
Slide 18
SCSI Disadvantages Expensive Not widely supported Many
different kinds of SCSI interface Higher rpm therefore more noise
Advantages Fast transfer rate up to 640MB per second Better
reliability More flexible in arrays (RAID) 16 devices per
channel
Slide 19
Drive Arrangment
Slide 20
Slide 21
SAS Disadvantages SAS controllers cannot run SATA drives Disks
are expensive - 236 for 300GB 15k rpm Advantages Point to point
architecture SAS controllers can run SATA drives Support for over
65,000 devices Software transparent with SCSI Cable length of up to
10m
Slide 22
Drive Arrangement SATA SAS
Slide 23
Slide 24
Flash Disadvantages Expensive New Advantages Very, very fast
Approaching RAM speed Can be in the same form factor as
conventional disk drives Different form factors Different
interfaces
Slide 25
Slide 26
Practical 1 Dismantle a PC and report on the following: Type of
HD installed Maximum data transfer rate HDD interfaces supported by
your motherboard The maximum number of HDDs your system can support
internally
Slide 27
Issues with HDs Reliability Mechanical device Performance Far
slower than Primary Storage The one part of a computer that acts as
a bottleneck Key non-volatile device
Slide 28
RAID Redundant Array of Inexpensive Disks Improves performance,
data security or both Based on the premise that disks are cheap and
fail often Involves additional administration and software Raid 0 =
Partially writes to multiple disks Raid 1 = Writes to multiple
disks at once Raid 5 = Uses a parity disk to protect against a
single disk failure
Slide 29
RAID 1 - Mirroring PC Controller DisksData = 200% 100%
Slide 30
RAID 1 - Mirroring PC Controllers DisksData = 200% 100%
Slide 31
RAID 0 - Striping PC Controller DisksData = 100% 50%
Slide 32
RAID 0 - Striping PC Controllers DisksData = 100% 50%
Slide 33
RAID 0+1 Mirroring plus Striping PC Controller DisksData = 200%
50%
Slide 34
RAID 0+1 Mirroring plus Striping PC Controllers DisksData =
200% 50%
Slide 35
RAID 5 PC Controller Disks Data = 100% 33.3% Parity
Slide 36
Practical 2 A customer has a PC with two IDE drives configured.
What is the most cost effective way to improve performance? What is
the most cost effective way to improve data security? If money were
no object what could you do to improve performance and data
security for this customer?