<?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>gHacks Technology News &#124; Latest Tech News, Software And Tutorials &#187; defragment</title> <atom:link href="http://www.ghacks.net/tag/defragment/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net</link> <description>A technology news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Fri, 10 Feb 2012 20:51:26 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/> <item><title>Does Linux need to be defrag&#8217;d?</title><link>http://www.ghacks.net/2010/06/07/does-linux-need-to-be-defragd/</link> <comments>http://www.ghacks.net/2010/06/07/does-linux-need-to-be-defragd/#comments</comments> <pubDate>Mon, 07 Jun 2010 00:29:08 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Operating Systems]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[defrag]]></category> <category><![CDATA[defragment]]></category> <category><![CDATA[fragmentation]]></category> <category><![CDATA[linux defrag]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=26259</guid> <description><![CDATA[I get this question a lot. And generally speaking the answer is a resounding &#8220;no&#8221;. I have gone nearly twelve years using Linux without defragging a drive and I&#8217;ve never noticed a slowdown on a system. But just because you don&#8217;t need to doesn&#8217;t mean you can&#8217;t. I have found  it possible to actually check [...]]]></description> <content:encoded><![CDATA[<p>I get this question a lot. And generally speaking the answer is a resounding &#8220;no&#8221;. I have gone nearly twelve years using Linux without defragging a drive and I&#8217;ve never noticed a slowdown on a system. But just because you don&#8217;t need to doesn&#8217;t mean you can&#8217;t. I have found  it possible to actually check the fragmentation of a linux mount point and defragment that mount point.</p><p>In this article I will discuss this very issue and then I will show you how you can test the fragmentation of a mount point on your Linux drive and then defragment that mount point.</p><p><span
id="more-26259"></span><strong>What it isn&#8217;t necessary</strong></p><p><strong></strong>This is the question I get nearly every time I tell a user that it is not necessary to defrag a Linux drive. The first and foremost reason you do not have to defrag a system is that the majority of files on a system need super-user permission to move. Oh sure you can move anything you want around in your <strong>~/ </strong>directory. But try to move anything in <strong>/usr/bin, /opt, /sbin</strong> or any other directory outside of <strong>~/ </strong>(without super user permission) and see how far you get. What this means is that during general, every-day usage the vast majority of files are not being moved around on your system. The only files you really need concern yourself with are the ones in your home directory &#8211; and those files have little to nothing to do with the performance of your machine.</p><p>Another difference is that some other operating systems try their best to place files as close the front of the drive as they can &#8211; without gaps. When files get moved around, these gaps appear, making it hard for the drive to be read. The Linux operating system does not do this. Instead the system starts in the center and places files not in a random fashion, but doesn&#8217;t concern itself with placing files next to one another in the start of the drive. So when spaces are created it&#8217;s not a big deal because the system is used to those spaces. The only time you will notice defragmentation on a Linux drive is when the drive is over 95% full. At that point the seeming &#8220;randomness&#8221; of placement will have caught up and the spaces between files might not allow for the addition of more files.</p><p>So when this happens&#8230;is it possible to defragment? Yes it is.</p><p><strong>Fragmentation check</strong></p><p>I discovered a very handy Perl script that will allow you to check a mount point for fragmentation. The script can be found <a
title="fragmentation check script" href="http://forums.gentoo.org/viewtopic-p-3111409-highlight-.html#3111409" target="_blank">here</a> in the discussion. Copy that code into a file called <em>fragmentation.pl<strong> </strong><span
style="font-style: normal">and give that file executable permissions with the command </span>chmod u+x fragmentation.pl</em>. Now issue the command:</p><p><em>sudo ./fragmentation.pl /home/USER </em></p><p><em></em>Where USER is the user who&#8217;s home directory you want to check.</p><p>You will most likely be surprised at how how low the number is. It will give you a report like:</p><p>﻿﻿<em>1.30108895488615% non contiguous files, 1.01067741479282 average fragments.</em></p><p><strong>Defragging </strong></p><p>Now, say you do want to defragment that home directory. You can do so with <a
title="defragmenting code" href="http://ck.kolivas.org/apps/defrag/defrag-0.06/defrag" target="_blank">this handy piece of code</a>. Save that piece of code in a file called <em>defrag.pl<strong> </strong><span
style="font-style: normal">and give it executable permissions with the command </span>chmod u+x defrag.pl</em>. Now issue the command:</p><p><em>sudo ./defrag.pl /home/USER</em></p><p>Where USER is the user who&#8217;s home directory you want to defragment.</p><p>Now this task can take some time, depending upon the size of your ~/ and how much is in that directory. But once it is done, issue the <em>fragmentation.pl </em>command again and I bet you will find the results positive.</p><p><strong>Final thoughts</strong></p><p>Although you will most likely never have to run this, it is nice to know that it is possible. The Linux system rarely gets fragmented to the point you will ever notice the slightest hiccup&#8230;at least not until that drive is nearly full. And considering the cost to size ratio of today&#8217;s drives, the possibility of them filling up is slim. And if they do, you&#8217;ll probably just go out and buy another drive.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/06/07/does-linux-need-to-be-defragd/feed/</wfw:commentRss> <slash:comments>23</slash:comments> </item> <item><title>Repair Defragment In Windows Vista</title><link>http://www.ghacks.net/2009/01/11/repair-defragment-in-windows-vista/</link> <comments>http://www.ghacks.net/2009/01/11/repair-defragment-in-windows-vista/#comments</comments> <pubDate>Sun, 11 Jan 2009 09:06:32 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[defragment]]></category> <category><![CDATA[dfrg.inf]]></category> <category><![CDATA[dfrgsnap.dll]]></category> <category><![CDATA[dfrgui.dll]]></category> <category><![CDATA[disk defrag]]></category> <category><![CDATA[file defragmentation]]></category> <category><![CDATA[repair windows]]></category> <category><![CDATA[windows tips]]></category> <category><![CDATA[windows-vista]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=9813</guid> <description><![CDATA[Defragment seems to make more problems in Windows Vista than it did in Windows XP. A recent test on a Toshiba notebook running Windows Vista Service Pack 1 revealed that a click on the defragment button would do nothing at all. This is apparently caused by third party disk defragmentation software programs that somehow hijack [...]]]></description> <content:encoded><![CDATA[<p>Defragment seems to make more problems in Windows Vista than it did in Windows XP. A recent test on a Toshiba notebook running Windows Vista Service Pack 1 revealed that a click on the defragment button would do nothing at all. This is apparently caused by third party disk defragmentation software programs that somehow hijack the defragmentation process.</p><p>The following article explains how to repair defragment in Windows Vista. It will also mention alternatives in case the repair does not succeed. The following error messages are symptomatic: &#8220;The Disk Defragmenter is not installed on your computer&#8221; or &#8220;Windows cannot connect to the Disk Defragmenter engine&#8221;. The suggest help topics do not help in this case.</p><p>The first thing that can be done is to register two dynamic link libraries (dlls) again. This can be done by opening a command prompt as an administrator and typing in the following commands:</p><p><span
id="more-9813"></span><code><br
/> regsvr32 dfrgsnap.dll<br
/> regsvr32 dfrgui.dll<br
/> </code></p><p>You might need to switch to the system32 directory first in the command line using <em>cd /windows/system32/</em>.</p><p>The second option is to reinstall the defragment tool completely. Locate the file dfrg.inf in the /windows/inf/ directory. Right-click it and select Install from the menu.</p><p><strong>Alternatives To The Windows Defragmenter:</strong></p><p>There are two possible alternatives. You can try and start the Dos defragmenter by typing in defrag.exe or install a third party disk defragmentation tool like <a
href="http://www.auslogics.com/en/software/disk-defrag/">disk defrag</a>.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/01/11/repair-defragment-in-windows-vista/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>A Few Defragmentation Tools</title><link>http://www.ghacks.net/2008/06/15/a-few-defragmentation-tools/</link> <comments>http://www.ghacks.net/2008/06/15/a-few-defragmentation-tools/#comments</comments> <pubDate>Sun, 15 Jun 2008 13:27:09 +0000</pubDate> <dc:creator>joshua</dc:creator> <category><![CDATA[Tools]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[defrag]]></category> <category><![CDATA[defragment]]></category> <category><![CDATA[vista]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=4992</guid> <description><![CDATA[My defragmenter of choice has always been Auslogic Defragmenter, I have no idea how effective it is compared to other programs but it’s simple enough and looks pretty. However I came across Piriform Defraggler the other day and I was interested in one feature it had… individual file and folder defragmentation. At first I thought [...]]]></description> <content:encoded><![CDATA[<p>My defragmenter of choice has always been <a
href="http://www.auslogics.com/en/software/disk-defrag/">Auslogic Defragmenter</a>, I have no idea how effective it is compared to other programs but it’s simple enough and looks pretty.</p><p>However I came across <a
href="http://www.piriform.com/defraggler">Piriform Defraggler</a> the other day and I was interested in one feature it had… individual file and folder defragmentation. At first I thought this was pretty superfluous considering it would be difficult to notice much of an effect defragmenting a single file or folder…&#160; however I have a laptop and not a huge hard drive so a complete defragment doesn’t take huge amount of time anyway.</p><p>If you have a large hard drive however then this could be a very useful tool. I’m thinking of large music collections or DVD rips which go into the hundreds of gigabytes worth of space.</p><p><span
id="more-4992"></span><p>Using Piriform Defraggler to defragment just your music or video collection could have some kind of small effect on performance. Apart from this it has all the other basic features and even a nice monitoring tool which for some strange reason was omitted from the Vista defragmentation application.</p><p>Unfortunately there are no scheduling options but it’s simple and works fast enough to keep most people happy.</p><p>For anything more advanced I recommend <a
href="http://www.iobit.com/iobitsmartdefrag.html">IOBit Smart Defrag</a>. This has the kind of scheduling options you may be looking for as well the ability to defragment and optimise multiple hard drive partitions.</p><p>The best thing about Smart Defrag is that it can be set to start up whenever the computer is left idle. I think schedules are a pain as you might in the middle of something when a scheduled task starts up so instead running when the computer is idle is the best solution.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2008/06/15/a-few-defragmentation-tools/feed/</wfw:commentRss> <slash:comments>23</slash:comments> </item> <item><title>Speed up all Source Engine Games</title><link>http://www.ghacks.net/2007/09/28/speed-up-all-source-engine-games/</link> <comments>http://www.ghacks.net/2007/09/28/speed-up-all-source-engine-games/#comments</comments> <pubDate>Fri, 28 Sep 2007 09:53:18 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Entertainment]]></category> <category><![CDATA[Games]]></category> <category><![CDATA[Tools]]></category> <category><![CDATA[counter strike source]]></category> <category><![CDATA[defragment]]></category> <category><![CDATA[halflife 2]]></category> <category><![CDATA[steam]]></category> <category><![CDATA[team fortress 2]]></category> <guid
isPermaLink="false">http://www.ghacks.net/2007/09/28/speed-up-all-source-engine-games/</guid> <description><![CDATA[Source Engine games are Half-life 2, Team Fortress 2, Counter Strike Source and others. Those games, or better part of those games, can get internally defragmented and can't be optimized using a software that defragments Windows hard drives. It is a good idea to defragment those games regularly to speed them up.]]></description> <content:encoded><![CDATA[<p>Source Engine games are Half-life 2, Team Fortress 2, Counter Strike Source and others. Those games, or better part of those games, can get internally defragmented and can&#8217;t be optimized using a software that defragments Windows hard drives. It is a good idea to defragment those games regularly to speed them up.</p><p>You need a software called GFCScape to do this. It&#8217;s just a small application that requires the Windows .net Framework 2 to run. Run GFCScape after installing it and click on File > Open in the menu. Navigate to your steamapps folder on your hardrive and select one of the files in the list.</p><p>All games benefit from defragmenting the files starting with source 2007 while defragmenting the files named like the games benefit only those games. GFCScape will load the file and display information about its contents. Click on View > Columns to add the Fragmentation column to the menu.</p><p><span
id="more-2058"></span><img
src="http://www.ghacks.net/files/screens/2007/09/defragment-source-games.jpg" alt="defragment source games" /></p><p>Every value greater than 0,0 means that the file is fragmented and will benefit from defragmentation. To be able to defragment the files you need to enable Write Access which can be done in Options > Write Access.</p><p>I had to load a new file afterwards to be able to defragment it. To start the defragmentation of the files click on Tools > Defragment. This should only take a matter of seconds and display the fragmentation score of 0,0 after loading the game again.</p><p>This way you are able to fragment games like Counter Strike Source, Half-life 2 and Team Fortress 2 resulting in a speed up.</p><p><strong>Read More:</strong></p><p><a
href="http://nemesis.thewavelength.net/index.php?p=26">GCFScape Download</a></p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2007/09/28/speed-up-all-source-engine-games/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Page Defrag</title><link>http://www.ghacks.net/2007/09/19/page-defrag/</link> <comments>http://www.ghacks.net/2007/09/19/page-defrag/#comments</comments> <pubDate>Wed, 19 Sep 2007 06:43:02 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Operating Systems]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tools]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[defragment]]></category> <category><![CDATA[microsoft]]></category> <category><![CDATA[page defrag]]></category> <category><![CDATA[sysinternals]]></category> <guid
isPermaLink="false">http://www.ghacks.net/2007/09/19/page-defrag/</guid> <description><![CDATA[Page Defrag is a tiny 70 Kilobyte software that displays information about how fragmented your paging files and registry hives are. Defragmenters running in Windows have no way of defragmenting those paging files and registry hives which usually means that they get fragmented over time which can degrade system performance.]]></description> <content:encoded><![CDATA[<p>Page Defrag is a tiny 70 Kilobyte software that displays information about how fragmented your paging files and registry hives are. Defragmenters running in Windows have no way of defragmenting those paging files and registry hives which usually means that they get fragmented over time which can degrade system performance.</p><p>Page Defrag can defragment all files open for exclusive access at the next system boot or even at every boot. Information about the process and results are printed directly on screen which is excellent to see if the defragmentation was successful or if any errors occurred doing so.</p><p>You can naturally run Page Defrag again in Windows to check the defragmentation level of those files as well. It is not necessary to us the software if your defragmentation tool offers this option as well.</p><p><span
id="more-2020"></span><img
src="http://www.ghacks.net/files/screens/2007/09/page-defrag.jpg" alt="page defrag" /></p><p><strong>Read More:</strong></p><p><a
href="http://technet.microsoft.com/en-us/sysinternals/bb897426.aspx">Page Defrag</a></p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2007/09/19/page-defrag/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> </channel> </rss>
