Search Helium

Home > Computers & Technology > Hardware > Computer Maintenance

How to defrag a computer

by Greg Schwartz

Created on: March 04, 2009

To understand how to defrag (or "defragment") a computer, let's first look at what fragmentation and defragmentation are.

Fragmentation occurs on your hard drive over a period of time and can noticeably slow your system down. Basically it is the dividing up of a single file to be stored on multiple areas of the disk.

Every time you save a file, Windows writes it to the hard drive, in the first available spot. All files are saved in "clusters" - chunks of data grouped together for easier access. A cluster takes up a defined amount of space on the hard drive. (For example, a Word document might take up four clusters.)

Let's assume you just created a text file with someone's address in it. The text file is written to the hard drive and (for the sake of argument) it only takes up one cluster. Now, the next time you save a file, Windows will store it in the adjacent spot on the hard drive. Suppose that file is a huge Excel spreadsheet, with the names and monthly stats of everyone in your company. This massive file takes up five clusters, so Windows writes it to the five clusters next to your text file.

The next day you realize that you don't need that text file, because you already have the address in it written down in your address book at home. So you delete the text file, and now your hard drive has a free cluster where the file used to be.

A friend emails you a funny cartoon that you want to save. The cartoon is a JPEG file that takes up three clusters. Now Windows has a dilemma... the first empty space it sees is the spot where your text file used to be, but that spot can only hold one cluster. So Windows fragments the file.

The first cluster of the JPEG is stored where the text file was, and the remaining two clusters are written to the next available free spaces Windows can find. This is all fine and dandy, because the whole file has been saved, and Windows made a note of where to find all the pieces. So you can view the cartoon any time you want.

The main problem fragmentation causes is speed. During the course of a day your computer accesses the hard drive (either for reading or writing) many times, and each time it has to find all the different clusters for whatever file it wants.

Defragmentation is the process of reorganizing the hard drive so that all the different clusters of a single file can be stored next to each other. Most PC technicians will recommend defragmenting your hard drive at least once a month. On a freshly-defragmented computer, hard drive access

Helium Debate

Cast your vote!

Best computer for writers: Mac or PC?

Click for your side.

162719

Featured Partner

The Center for Responsive Politics (Open Secrets)

The Center for Responsive Politics (CRP) is the nation's premier research group tracking money in US politics and its effect on elections and public policy. Founded in 1983, the nonpartisan, nonprofit Center aims to create a more edu...more


CONNECT WITH US

Read
our blog
Helum for writers

Write and get published
Share with other writers
Polish your freelancing skills

Join our active writing community
Helium Content Source for Publishers

Quality articles from proven freelancers
Exclusive rights, fast turnaround
Brand engagement, business blogging -- our writers do it all

Get custom content today!

INFORMATION


Helium, Inc.
200 Brickstone Square Andover, MA 01810 USA
#