Tech Support Guy banner
Status
Not open for further replies.
1 - 12 of 12 Posts

· Registered
Joined
·
239 Posts
Discussion Starter · #1 ·
Hi,
im using Diskeeper and i cant defrag my paging file.
I try the boot time defrag and at the end is just says cant move MFT or something like that due to not enough congiuous(sp) space?
I used to have about 10MB-40MB of space on my drive, ive unistalled alot of stuff and now have 20% free space which is 15GB of space.
Any ideas on why it is not working?
Also i continaully defrag and defrag but i still have tons of fragged files. Just want to know why they are not being defraged correctly.
Thanks.
 

· Registered
Joined
·
151 Posts
Not all files can be defragmented. Sometimes making a file contiguous (having all of the pieces of the file next to each other on the disk) would use up more space than it would actually save, so the file isn't defragmented.

Having defragmented files isn't a bad thing, you only really need to defragment when you are desperate for disk space, although it is recommended that you do it once a month. Having fragmented files doesn't mean that you have a problem, it is perfectly normal.

Hope that answers your concerns :)
 

· Registered
Joined
·
11,852 Posts
The Master File Table (MFT) is a database where file and folder metadata--- information on size, time and date stamps, permissions and so on--- is maintained on NTFS-formatted drives. Every single file on your system has at least one entry. The more files and folders you add to your drive, the larger your MFT becomes. When you delete files, space is made available for re-use in the MFT, but the MFT itself never shrinks.

Because a fragmented MFT is slower than an unfragmented one, some percentage of the drive (12.5% by default) is reserved for the MFT to avoid fragmentation. Each volume of an NTFS drive has two separate areas: a space set aside for the MFT (as well as very small files) and another space for all other files and folders.

If the MFT fills up its own space, the file system will grab more of the "regular" space and assign it to the MFT. Because it's very unlikely that adjacent space is available, randomly located space will be used for the spill-over MFT, while some part of the MFT remains in the originally allotted space. In other words, the MFT will be divided into more than one piece--- it will be fragmented--- and your system's disk access will become slower.

If, on the other hand, the "regular" space fills up with data and applications, the file system will start writing files to the MFT area. As the MFT grows over time, it will have to position itself around these "regular" files--- and the result again is that it fragments itself.

Note that a fragmented drive also increases the size of the MFT because a drive in that condition needs additional records to keep track of all those file fragments--- a kind of software feedback loop, with more disk space consumed at each turn.

You can see how MFT size, MFT space size, and defragmentation of both the MFT and the disk in general are all connected--- and all affect disk performance. If you want maximum performance, you'll want everything defragmented--- including the MFT--- and that requires plenty of elbow room in both parts of the disk.

Making space for--- and defragmenting --- your MFT and your hard disk are highly desirable and recommended.

Any utility that messes around with the MFT while Windows is running would likely cause serious problems. That's the benefit of utilities like Diskeeper. Version 10 features a boot-time utility that safely defragments the MFT and paging file (a.k.a. "swap file").

Diskeeper 10 has a tool for configuring the MFT that gives you the option of preemptively increasing the size of the MFT space (note that once you've increased the size, you can't decrease it without reformatting). It also uses a variety of metrics (including available disk space) to estimate a good MFT space size.

Are there risks associated with defragmenting your MFT and increasing MFT space? There is always at least a small chance that something could go wrong whenever you make changes to system files. But the risk of not doing anything about fragmentation is probably higher. And, as always, you should give yourself insurance in the form of quality backups.

Here's a bonus tip for optimizing the MFT: Never "convert" a drive full of files from FAT to NTFS. When you do this, the MFT will almost certainly be placed at some random location on the disk, and possibly in a fragmented state. It's better to reformat the drive using NTFS, because the reformatting process assure the MFT will be placed by default on the faster part of the drive. Once it's formatted, you can copy the files to drive, and you'll end up with minimal initial fragmentation.
 

· Banned
Joined
·
5,855 Posts
are you using the lite version?

i tried it and tired of clicking "no upgrade" before it would start and found it to not be very effective.

i use what's packaged with 98/2k/xp.

i set the page file min/max the same value at 1 1/2x's ram.
 

· Gone but never forgotten
Joined
·
9,283 Posts
ozrom1e said:
The Master File Table (MFT) is a database.
etc
etc
It is usual to give credit where credit is due.

Langlist

Raziel_ said:
Sometimes making a file contiguous (having all of the pieces of the file next to each other on the disk) would use up more space than it would actually save, so the file isn't defragmented.
A fragmented and non fragmented file are both the same size.

you only really need to defragment when you are desperate for disk space
Defragging does not result in more (total) space.
 

· Registered
Joined
·
239 Posts
Discussion Starter · #6 ·
Ive tried the boot time defrag but it wont work.
Just keeps saying needs congious space.
Ive got afew folders 7GB plus, so maybe thats causing all the damage.
I think my flight sim folder is about 13GB.
 

· Registered
Joined
·
10,313 Posts
I don't use third-party tools to defrag . . but the way I take care of a fragmented page file is to set the memory to "No page file" and reboot into safemode and defrag. . then reboot to normal mode and set it back to the size I like
 

· Registered
Joined
·
239 Posts
Discussion Starter · #10 ·
stantley said:
Try PageDefrag by Sysinternals. It will show you if your page file is fragmented and will do a defrag on boot. I've never had to use it because my page file is never fragmented.
That fixed the problem.
Thankyou.

I now only have 1.02 fragments, which is alot lower than before. Diskeeper says my disc has low or none fragments, but im sure that would mean less than 1 fragment?
Or is the 1 fragment the actual disc itself?
 

· Registered
Joined
·
7,297 Posts
When you defrag with Windows, Diskeeper or any of the others there are always a few files left over that still have fragments, it's nothing to worry about. You just don't want a hard drive that is heavily fragmented. As long as you do it about once a month or so you should be fine.
 
1 - 12 of 12 Posts
Status
Not open for further replies.
Top