1 |
DASDs make it possible to access the data directly. |
2 |
Serial devices allow only serial access. |
3 |
The information stored on a disk is stored on the surface of one or more platters. |
4 |
Each platter has 2 surfaces and is broken into thousands of tracks. |
5 |
All the information is stored in successive tracks on the surface of the disk. Starting from zero at the outer side of the platter, the number of tracks goes on increasing to the inner side. |
6 |
Track starts from zero at the outer side of the platter, the number of tracks goes on increasing to the inner side. |
7 |
Each track is often divided into a number of sectors which is the smallest addressable portion of a disk. |
8 |
Sectors are often grouped together to form clusters. |
9 |
A cluster is the smallest amount of disk space, is also called allocation unit, a fixed number of contiguous sectors. (If there is interleaving these sectors are not physically contiguous) |
10 |
Once a cluster has been found on a disk, all sectors in that cluster can be accessed without requiring an additional seek (seeking only once). |
11 |
The size of each cluster is a multiple of the sector size. |
12 |
The tracks that are directly above and below one another form a cylinder. |
13 |
When a read statement calls for a particular byte from a disk file, the computer’s operating system finds the correct platter, track and sector, reads the entire sector into a special area in memory called a buffer, and then finds the requested byte within that buffer. |
14 |
Disk has a number of platters and read/write heads, each read/write head has a separate arm. |
15 |
All the information on a single cylinder can be accessed without moving the arm that holds the read/write heads. |
16 |
Moving this arm is called seeking, The arm’s movement is usually the slowest part of reading information from a disk. |
17 |
logical organization of sectors on a track is that sectors are adjacent, fixed-sized segments of a track. |
18 |
Physically this organization is not optimal. |
19 |
If the sectors were physically adjacent, we would miss the start of the next sector while processing the info just read in. |
20 |
A map of sectors is called the File Allocation Table (FAT). |
21 |
The FAT containing for each cluster in the file. |
22 |
The file manager is the part of the operating system responsible for managing files. |
23 |
The FAT is maintained by the file manager. |
24 |
All file systems are determined by the number of sectors that the cluster contains. |
25 |
The use of clusters leads to internal fragmentation. |
26 |
If the file size is not a multiple of the cluster size, then the last cluster of the file will be partially used. |
27 |
An extent is a group of contiguous clusters. |
28 |
If the file is stored in a single extent the seeking is done o |
29. |
If the file is stored in a single extent the seeking is done only once (minimum of seeking time). |
30. |
If one extent is not enough, then divide the file into more extents. |
31. |
Use large cluster size when disks contain large files likely to be processed sequentially. |
32. |
Use small cluster size When disks contain small files and/or files likely to be accessed randomly. |
33. |
If the records are smaller than the sector size, then if store one record per sector, then there is one access and internal fragmentation (Loss of Space). |
34. |
If the records are smaller than the sector size, then if one record may span two sectors, then there is no internal fragmentation and access more than once. |
35. |
Rather than being divided into sectors, the disk tracks may be divided into blocks. |
36. |
Blocks can be either fixed or variable in length, depending on the requirements of the file designer and the capabilities of the operating system. |
37. |
Blocks don’t have the internal fragmentation problem and no record spanning two blocks. |
38. |
blocking factor indicates the number of records per block. |
39. |
Count subblock contains the number of bytes in a block. |
40. |
Key subblock contains the key for the last record in the data subblock. |
41. |
Data subblock contains the records in this block. |
42. |
Whether using a block or a sector organization, some amount of space on the disk is taken up by non-data overhead. |
43. |
Blocks involves subblock + interblock gaps. |
44. |
The relative amount of non-data space necessary for a block scheme is higher than for a sector-scheme. |
45. |
Seek Time is the time required to move the access arm to the correct cylinder. |
46. |
Rotational Delay is the time it takes for the disk to rotate. |
47. |
Transfer time is the time it takes to transfer data. |