 
    
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>fragmentation Archives - Complete, Concrete, Concise</title>
	<atom:link href="https://complete-concrete-concise.com/tag/fragmentation/feed/" rel="self" type="application/rss+xml" />
	<link>https://complete-concrete-concise.com/tag/fragmentation/</link>
	<description>Practical Information Without The Bloat</description>
	<lastBuildDate>Sat, 25 Jun 2022 16:23:41 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>
	<item>
		<title>Why You Don&#039;t Need to Defragment Your Hard Drive</title>
		<link>https://complete-concrete-concise.com/blog/why-you-dont-need-to-defragment-your-hard-drive/</link>
		
		<dc:creator><![CDATA[richardsplanet]]></dc:creator>
		<pubDate>Mon, 13 Jun 2011 19:43:58 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[defragment]]></category>
		<category><![CDATA[fast]]></category>
		<category><![CDATA[fragmentation]]></category>
		<category><![CDATA[hard disk]]></category>
		<category><![CDATA[hard drive]]></category>
		<guid isPermaLink="false">http://complete-concrete-concise.com/blog/why-you-dont-need-to-defragment-your-hard-drive</guid>

					<description><![CDATA[<p>Defragmenting your hard drive is often presented as a way of speeding up your computer &#8211; mostly, it is a good way to quickly wear out your hard drive, waste a lot of time and risk data loss. In general, you do not need to defragment your hard drive. Even if files are fragmented, it [&#8230;]</p>
<p>The post <a href="https://complete-concrete-concise.com/blog/why-you-dont-need-to-defragment-your-hard-drive/">Why You Don&#039;t Need to Defragment Your Hard Drive</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="c1">
<p>Defragmenting your hard drive is often presented as a way of speeding up your computer &#8211; mostly, it is a good way to quickly wear out your hard drive, waste a lot of time and risk data loss.</p>
<p>In general, you do not need to defragment your hard drive. Even if files are fragmented, it is not a big deal.</p>
</div>
<p>Ever since I posted my article on <a href="//complete-concrete-concise.com/blog/a-faster-way-to-defragment-your-hard-drive">A Faster Way to Defragment Your Hard Drive</a>, I&#8217;ve noticed a fair number of hits on that article.</p>
<p>A fragmented file is slower to load or copy than a contiguous one. There is no argument on this.</p>
<p>If your hard drive head has to move to a different location on the disk to continue reading a file, that movement takes time and slows performance.</p>
<p>Windows is a multitasking operating system, there is never just one program running at a time &#8211; there are several. Many of which may be accessing your disk: anti-virus program, automatic updates, the compile you are doing in the background, the file you are downloading, the MP3 you&#8217;re listening to in the background, etc. All these applications are accessing the hard disk. </p>
<p>No single application is granted exclusive access to the hard drive, they all share it. This means they are all using the hard drive and they are all moving the hard drive heads to different locations as they read or write to the disk. Even if you were loading a contiguous file, that load might be interrupted when a chunk of auto-update needs to be written to the disk &#8211; thus having the same effect as if the contiguous file had been fragmented (the drive head was over the file, moved away and had to return).</p>
<p>Even if a file is fragmented, it probably doesn&#8217;t matter. How often is the fragmented file accessed? If it is a system restore file, it doesn&#8217;t matter &#8211; the only time it is accessed is if you are doing a restore.</p>
<p>How about an image file? Does it really matter if it takes 0.1 seconds to load versus 0.11 seconds? No it doesn&#8217;t. If you select 100 of them to open, then it is an extra second, but you are more likely to experience serious slowdown as your system starts thrashing because you&#8217;ve run out of physical memory and everything is being swapped out to the hard drive.</p>
<p>A lightly fragmented file (I&#8217;ll define it as any file with less than 10 fragments &#8211; that is an arbitrary number, my criteria for selecting it is that it is &#8216;single digit&#8217; fragmentation) is nothing to worry about.</p>
<p>Defragmenting programs exaggerate the seriousness of the problem.</p>
<p><a href="http://www.auslogics.com/en/software/disk-defrag/">Auslogic Disk Defrag</a> (very fast, by the way), shows my hard drive (the one I use for backups) as seriously fragmented &#8211; just look at all the red! Never mind that only 5758 out of 364,152 files were fragmented. That&#8217;s 1.6% of files, or 98.4% of files are unfragmented. Click for full size image:</p>
<p><a href="//complete-concrete-concise.com/wp-content/uploads/2011/06/do-you-really-need-to-defragment-your-harddrive-1-large.png" target="_blank"><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2011/06/do-you-really-need-to-defragment-your-harddrive-1-small.png" alt="" border="0" class="centered"/></a></p>
<p>Do I really want to spend several hours defragmenting the drive? No.</p>
<p><a href="http://www.piriform.com/defraggler">Piriform&#8217;s Defraggler</a>, is a little less alarming &#8211; it tells me I have 35% fragmentation (4615 fragmented files, spread over 27,747 fragments &#8211; about 6 fragments per file). <strong>NOTE:</strong>The numbers reported by Piriform and Auslogic are different because I ran the Auslogic defragmenter a bit to gauge how fast or slow it was (and it is definitely fast):</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2011/06/do-you-really-need-to-defragment-your-harddrive-4.png" alt="" border="0" class="centered"/></p>
<p>Piriform&#8217;s Defraggler (Auslogics Disk Defrag, as well) let&#8217;s me see a report of which files are fragmented and how many fragments there are. More than 50% of files (judging by the position of the scrollbar) had 2 fragments, 90% had fewer than 10 fragments:</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2011/06/do-you-really-need-to-defragment-your-harddrive-2.png" alt="" border="0" class="centered"/></p>
<p>Of the 4615 fragmented files, 67 had 50 or more fragments &#8211; that&#8217;s 1.5% of fragmented files.</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2011/06/do-you-really-need-to-defragment-your-harddrive-3.png" alt="" border="0" class="centered"/></p>
<p>True, 35% of the data on the disk is fragmented, but the fragmentation is not severe &#8211; most of that data has fewer than 10 fragments. The files that are seriously fragmented I don&#8217;t care about. I don&#8217;t care if a system restore file is fragmented because I will probably never access it.</p>
<p>If you are really concerned about fragmentation of a file (because it is used frequently), then only defragment that file. Piriform&#8217;s Defraggler and Auslogics&#8217; Disk Defrag allow you to defragment individual files &#8211; which makes the most sense. <span class="i1"><strong>NOTE:</strong> while Auslogics&#8217; Disk Defrag offers the option to defrag a single file, when I tried, nothing happened &#8211; I was using version 3.2.1.10 under Windows XP with Service Pack 3.</span></p>
<p>Don&#8217;t waste your time defragmenting. Don&#8217;t wear out your hard drive by constantly defragmenting. If you need to defragment, then be selective and only defragment those files that need it.</p>
<div class="c1">
<p><strong>NOTE:</strong> I have no connection with the products or companies mentioned.</p>
</div>

<p>The post <a href="https://complete-concrete-concise.com/blog/why-you-dont-need-to-defragment-your-hard-drive/">Why You Don&#039;t Need to Defragment Your Hard Drive</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>An Easy Way to Fragment Your Hard Drive</title>
		<link>https://complete-concrete-concise.com/blog/an-easy-way-to-fragment-your-hard-drive/</link>
		
		<dc:creator><![CDATA[richardsplanet]]></dc:creator>
		<pubDate>Wed, 20 Apr 2011 08:58:06 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[compressing]]></category>
		<category><![CDATA[compression]]></category>
		<category><![CDATA[fragmentation]]></category>
		<category><![CDATA[hard disk]]></category>
		<category><![CDATA[hard drive]]></category>
		<category><![CDATA[windows]]></category>
		<guid isPermaLink="false">http://complete-concrete-concise.com/?p=647</guid>

					<description><![CDATA[<p>Following on yesterdays blog post on A Faster Way To Defragment Your Hard Drive, I decided to blog on an easy way to fragment your hard drive &#8211; although, this is usually not what we intend to do. After a while, our hard drives tend to fill up with (mostly junk), and we get a [&#8230;]</p>
<p>The post <a href="https://complete-concrete-concise.com/blog/an-easy-way-to-fragment-your-hard-drive/">An Easy Way to Fragment Your Hard Drive</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="c1">
<p>Following on yesterdays blog post on <a href="//complete-concrete-concise.com/blog/a-faster-way-to-defragment-your-hard-drive" target="_top">A Faster Way To Defragment Your Hard Drive</a>, I decided to blog on an easy way to fragment your hard drive &#8211; although, this is usually not what we intend to do.</p>
</div>
<p>After a while, our hard drives tend to fill up with (mostly junk), and we get a warning message from Windows that we are running low on space, would you like to run Disk Cleanup? And we say yes.
</p>
<p>Aside from asking if we want to delete a bunch of temporary files, it also asks if it can compress old files (file we don&#8217;t use very much).</p>
<p>Compressing files or folders leads to increased file fragmentation &#8211; especially on a drive with low disk space.</p>
<p>This happens because compressed files and folders are packed into larger files to avoid space loss that occurs because of cluster size. A cluster is the smallest writable unit on a hard drive. On Windows, for hard drives bigger than 2GB, the cluster size is 4096 bytes. That means if your file is only 100 bytes long, it still occupies 4096 bytes on the disk. This means 40 files of size 100 bytes will occupy 163 840 bytes on the hard disk. When you use file or folder compression, those 40 files can be squeezed into a single cluster of 4096 bytes.
</p>
<p>The reason fragmentation occurs when using compressed folders and files on drive with low disk space is:
</p>
<ol>
<li>Windows creates large files to pack the smaller ones into</li>
<li>Since disk space is low, Windows can&#8217;t find enough space to write the larger file in a contiguous manner </li>
<li>So Windows writes the file in several fragments scattered all over the disk &#8211; wherever it can find space.</li>
</ol>
<p>I do use compressed files and folders on my system, but I only use it for files that I rarely change. And, after compressing the files and folders, I defragment them.</p>
<p>Compressing files and folders is a good way to trade off the space used by them for a little extra time to access them &#8211; I don&#8217;t find the difference to be significant enough to worry about it &#8211; but it is important to be aware that fragmentation is a very real possibility and this fragmentation can significantly add to the file access time (not only does the OS have to decompress them on the fly, but it also has to scurry all over the disk finding the pieces of that file).</p>

<p>The post <a href="https://complete-concrete-concise.com/blog/an-easy-way-to-fragment-your-hard-drive/">An Easy Way to Fragment Your Hard Drive</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>A Faster Way to Defragment Your Hard Drive</title>
		<link>https://complete-concrete-concise.com/blog/a-faster-way-to-defragment-your-hard-drive/</link>
					<comments>https://complete-concrete-concise.com/blog/a-faster-way-to-defragment-your-hard-drive/#comments</comments>
		
		<dc:creator><![CDATA[richardsplanet]]></dc:creator>
		<pubDate>Tue, 19 Apr 2011 05:28:22 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[defragment]]></category>
		<category><![CDATA[fast]]></category>
		<category><![CDATA[fragmentation]]></category>
		<category><![CDATA[hard disk]]></category>
		<category><![CDATA[hard drive]]></category>
		<guid isPermaLink="false">http://complete-concrete-concise.com/blog/a-faster-way-to-defragment-your-hard-drive</guid>

					<description><![CDATA[<p>File fragmentation is, pretty much, a fact of life. You can run utilities like Windows Disk Defragmenter or Piriform&#8216;s Defraggler (which lets you defrag just a single file instead of the whole disk), but they are slow &#8211; even if left running overnight, they often don&#8217;t finish on heavily fragmented drives (at least on my [&#8230;]</p>
<p>The post <a href="https://complete-concrete-concise.com/blog/a-faster-way-to-defragment-your-hard-drive/">A Faster Way to Defragment Your Hard Drive</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="c1">
<p>File fragmentation is, pretty much, a fact of life. You can run utilities like Windows Disk Defragmenter or <a href="http://www.piriform.com/" target="_top" rel="noopener">Piriform</a>&#8216;s <a href="http://www.piriform.com/defraggler" target="_top" rel="noopener">Defraggler </a>(which lets you defrag just a single file instead of the whole disk), but they are slow &#8211; even if left running overnight, they often don&#8217;t finish on heavily fragmented drives (at least on my system). A very fast disk defragmenter is <a href="http://www.auslogics.com/">Auslogics</a> <a href="http://www.auslogics.com/en/software/disk-defrag/">Disk Defrag</a> (but still slower than this technique on a heavily fragmented drive).</p>
<div class="c2">
<p>If you are thinking about defragmenting your hard drive, you might be interested in reading this article: <a href="//complete-concrete-concise.com/blog/why-you-dont-need-to-defragment-your-hard-drive">Why You Don’t Need to Defragment Your Hard Drive</a></p>
</div>
<div class="c4">
<p><strong><u>WARNING: </u>there is always the risk of data loss when moving files around (even when using a defragmenting tool). Make sure you backup your hard drive first.</strong></p>
</div>
</div>
<p>There is a faster way to defragment a <strong><span style="text-decoration: underline;">heavily </span></strong>fragmented drive than using a defragmenting tool.</p>
<h2>What you need</h2>
<p>You need a spare hard disk with enough space to hold ALL your files &#8211; I use an external 1TB drive connected through my USB port.</p>
<h2>What you do</h2>
<p><strong>1) Copy </strong>all your data files (including their directories) over to the spare drive &#8211; in general, you shouldn&#8217;t need to copy system or program files.</p>
<p>If you try to copy the entire drive, this will fail because Windows (or whatever OS you are running) locks certain files needed for normal operation. One way to get around this is to run an OS from a Live CD. I like to use <a href="http://support.kaspersky.com/viruses/rescuedisk" target="_top" rel="noopener">Kaspersky Rescue Disk</a> because it is a lean and robust Linux boot disk that automatically mounts all hard drives and can read and write NTFS disks. Since Windows isn&#8217;t running, I can copy over all the files on the disk (well, <em>almost </em>all the files, for some reason <em>pagefile.sys</em> and some <em>restore </em>folders generate an error when copying &#8211; the claim is that they are locked).</p>
<div class="c4">
<p><strong>NOTE:</strong> The Kaspersky Rescue Disk does not seem to be the universal boot disk I thought. It has failed to boot on three HP / Compaq computers (one was a HP Pavilion a6000, the other a HP Compaq d530 CMT, and the third was a Compaq laptop).</p>
<p>So it might be advisable to look for an alternate bootable live CD or USB with writable NTFS support.</p>
<p>This <a href="http://www.livecdlist.com/">site</a> provides a list of live CDs. <span class="i4"><strong>NOTE:</strong>This is an external site. While it was deemed safe at the time of writing, I am not responsible for its content.</span> Since I have not used any of them, I offer no recommendations.</p>
</div>
<p><strong>2) Once </strong>all the files are copied over, delete the files on the hard disk you want to defragment.</p>
<p>Your hard disk should now be mostly empty (except for system and program files).</p>
<p><strong>3) If you like</strong>, you can boot your OS and run a disk defragmenting tool &#8211; it will run much faster since (1) there are fewer files to move around and (2) there is more free space on the disk to move the files to.</p>
<p><strong>4) Copy</strong> the files back to your hard disk. As the files are copied back, they will be written back whole, rather than fragmented.</p>
<p>Sometimes, large files will still be fragmented &#8211; though not to the degree they once were (I have some large video files &#8211; bigger than 10GB &#8211; that never fully defragment; I suspect this is a limitation of the NTFS file system).</p>
<p>It still takes a long time to defragment, but not as long as using a defragmenting tool.</p>
<div class="c1">
<p><strong>NOTE:</strong> This works best for a <strong><span style="text-decoration: underline;">heavily </span></strong>fragmented drive. There is no point in moving ALL your data files if only a few of them are fragmented. If you have a few fragmented files, then use a tool like <a href="http://www.piriform.com/defraggler" target="_top" rel="noopener">Piriform&#8217;s Defraggler</a> or <a href="http://www.auslogics.com/en/software/disk-defrag/">Auslogics&#8217; Disk Defrag</a> to only defragment those files.<span class="i1"><strong>NOTE:</strong> while Auslogics&#8217; Disk Defrag offers the option to defrag single files, when I tried, nothing happened. I was using version 3.2.1.10 on Windows XP with Service Pack 3.</span></p>
</div>
<div class="c2">
<p><strong>NOTE:</strong> I have no connection with the products or companies mentioned.</p>
</div>

<p>The post <a href="https://complete-concrete-concise.com/blog/a-faster-way-to-defragment-your-hard-drive/">A Faster Way to Defragment Your Hard Drive</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://complete-concrete-concise.com/blog/a-faster-way-to-defragment-your-hard-drive/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
	</channel>
</rss>
