| |||||||
| Coding / Scripting / Programming Discussions on all manner of coding and scripting. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) | |
| Why is ther not a program that automatically keeps your hd from "fragmenting" in the first place? In my uninformed opinion (Iknow nothing about why a hd files get fragmented in the first place) think it would be more effecient if the way the pc puts struff on the hard drive would be in some kind of order, group similar files together then there would be less need to defragement. It seems there is no ryme or reason behind whear a file gets written onto the hard drive. would it be more effecient and make more sense for files to be grouped together when there put on the hard drive? Realize I'm an individual that still can't figure out how to put windows on it's own partition and have no clue as to the difference between a fat file or the other type. just a thought. | ||
| | | |
| | #2 (permalink) | |
| It's not such an easy task to prevent harddisk fragmentation altogether. When data is initially written to the disk, it is written as one long sector. But over time, files are moved and deleted from the harddisk, which leaves "holes" in the data. When more data is written to the disk, the system attempts to fill in these holes. Hence, fragmentation occurs. The easiest way to help gain back the speed you loose on your HDD from fragmentation is to defrag... set it so it runs at night when you're not using the computer. That's what I do and it works beautifully. | ||
| | | |
| | #3 (permalink) | |
| Apex Techie II | Fragmentation is a way of life on hard disks, there's really no logical way to avoid it once you understand how data is physically written to the disk. One way would be to resort the data every time a file is modified or deleted, but that would slow things down considerably. Not to mention every time you appended a byte you would need to shuffle stuff around. Then again you could leave a buffer around each file, but if it outgrew the buffer you would still fragment, and not to mention when you fill up the drive with data and buffers data would have to be split up to fit in the buffer space. A good enough solution is just to defrag nightly ![]() | |
| | | |
| | #4 (permalink) | |
| If one reads carefully, Windows actually trys to defrag the HDD when not in use all by its self *pets windows* , however, fragmentation occurs anyway because it only does this when the disk is idle, and not in use *kicks Windows*. Well, you disk is always used, whether you to it to or not. So, it becomes the task of the end user to run HDD defragmentation tools to speed things up. The built in Defragmentation tool is the first step when you defrag the drive. This puts everything in in a nice and neat order. Then one needs to run a third party defragmentor that optimizes the HDD by putting the most frequently used files at the begining of the HDD. IE Norton's Speed Disk. and System Mechanic's Disk Optimizor. This task should be perform usually at the end of every month, but no later than once every quarter. Hope that helps | ||
| | | |
| | #5 (permalink) | ||||||||||||||||||||||||
So, once solid state drives become the norm, will we still get fragmentation? | |||||||||||||||||||||||||
| | | ||||||||||||||||||||||||
| | #8 (permalink) | |
| Apex Techie Wannabe | Actually, there are plenty of file systems that don't have a fragmentation problem. Pretty much any *NIX file system. There is only one that I can think of off hand that even has a defrag utility. Windows however, is plagued with this issue. http://www.extremetech.com/article2/...1455687,00.asp The answer from kgwagner14 is right on the money. | |
| | | |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Question for Guitar Guru's | BigAkita | Anything Goes | 3 | 04-September-05 03:19 AM |
| Question for the Programming Pimps! | drougnor | Anything Goes | 6 | 13-March-05 04:31 AM |
| any .avi --> mpeg/svcd guru's?? need help! | AMD-playa | Anything Goes | 1 | 26-January-05 09:37 PM |
| For all you Ram guru's?? | biohazardpc | Anything Goes | 5 | 01-April-04 12:30 AM |
| Programming question | Cheshiredemon | Coding / Scripting / Programming | 5 | 25-September-03 07:01 AM |