dection 5Storage Devices.docx

In order to use the disk space efficiently the

Info icon This preview shows pages 40–42. Sign up to view the full content.

View Full Document Right Arrow Icon
In order to use the disk space efficiently, the controller breaks that file into chunks. It'll save part of the file right here and it'll save part of the file right here. When this file needs to be read again, the disk controller will first read this chunk and pull it off. Then it'll read this chunk and pull it off, and reassemble the file. By doing this, you can see that we use the disk space as efficiently as possible. The problem with fragmentation is that over time, the disk gets fuller and so the fragmentation gets worse. Instead of just having to grab this chunk of the file to recreate the file once the file's read from the hard drive, it might have to go all over the hard drive, hunting around, trying to find all of the different pieces of a particular file. The more the hard disk controller has to move the read/write heads around, trying to find all the various different pieces of the file, the longer it takes to read data from the disk. It also takes longer to write data to the disk. Instead of just splitting the data up into a couple of chunks and writing it, the hard disk controller has to divide it up into lots of different chunks, and then move those read/write heads again all over the drive, trying to find all the different free areas on the disk to save the file. In essence, the more fragmented a particular file is, the longer it will take to read from the hard disk drive. And the more fragmented the hard disk drive is, the longer it will take to save data to the hard disk drive because it's got to divide the file up into little chunks and save it wherever it can find free space. This can all be fixed by defragmenting the hard disk drive. When we defragment the drive, all the chunks of same files are put into contiguous blocks as much as possible. You can see an example of that here. Instead of having the red file divided up into two pieces, we have taken the existing blue blocks that were here before, the clusters, and we have grouped them altogether. That way, we can move all these red chunks closer together on the physical surface of the hard disk drive. Now they're still separate chunks but they're right next to each other. This saves time because the disk controller doesn't have to work as hard to read data from the disk, and it also saves time when writing data to the disk because there are larger pieces of free space available now. So, in essence, defragmentation is a process of moving or rewriting parts of a file to contiguous sectors on the hard disk drive itself, to increase the speed of access and retrieval. To defragment your hard disk, use the Defragmentation utility that comes with Windows. Use Error Checking 9:10-9:25
Image of page 40

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
In addition to defragmenting your hard disk drive, you can scan the disk for errors to optimize your storage device. You can use the Error Checking utility that comes with Windows to check for file system errors and bad sectors on your hard disk drive.
Image of page 41
Image of page 42
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern