Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
June 20, 2013, 12:21:01 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1] 2 3
  Print  
Author Topic: which is the best zone to put mft+folders?  (Read 3994 times)
drugo
JkDefrag Hero
*****
Posts: 105


View Profile
« on: March 16, 2011, 12:44:37 pm »

Hi
i use a script made by a great user Darlis

is this
Code:
Title('folders')
Description(" Optimizes system files and directories only")

VolumeSelect
  CommandlineVolumes()
  and Removable(no)
  and Writable(yes)
  and Mounted(yes)
VolumeActions

  /* Place files at 30% into the data on the disk. */
  MakeGap(RoundUp(VolumeUsed * 0.3,VolumeSize * 0.01), DoNotVacate)

  /* Zone 1: Place the MFT and some other special NTFS files. */
  FileSelect
    SelectNtfsSystemFiles(yes)
  FileActions
    PlaceNtfsSystemFiles(Ascending,MftSize * 0.1)
  FileEnd

  /* Zone 2: Directories. */
  FileSelect
    Directory(yes)
  FileActions
    SortByName(Ascending)
  FileEnd

VolumeEnd

but where is the best zone of the partition to put them ?

thanks
Logged
WHRoeder
JkDefrag Hero
*****
Posts: 180


View Profile
« Reply #1 on: March 16, 2011, 05:07:39 pm »

Quote
but where is the best zone of the partition to put them ?
The code you posted is identical to the stock scripts as far as the MFT is concerned. Why do you think the stock scripts would not be optimal?
Logged
drugo
JkDefrag Hero
*****
Posts: 105


View Profile
« Reply #2 on: March 16, 2011, 05:20:34 pm »

Quote
but where is the best zone of the partition to put them ?
The code you posted is identical to the stock scripts as far as the MFT is concerned. Why do you think the stock scripts would not be optimal?

because it moves the mft and the folders always in a different places
Logged
poutnik
JkDefrag Hero
*****
Posts: 1106


View Profile
« Reply #3 on: March 17, 2011, 08:36:55 am »

Quote
but where is the best zone of the partition to put them ?
The code you posted is identical to the stock scripts as far as the MFT is concerned. Why do you think the stock scripts would not be optimal?

because it moves the mft and the folders always in a different places
Because best position is closely related to personal preference what is best position
and furthermore according to some criteria it changes all the time.

So, if not satisfied with default criteria,
choose what is best position for you and use it in your script.
Logged

It can be fast, good or easy. You can pick just 2 of them....
Treating Spacehog zone by the same effort as Boot zone is like cleaning a garden by the same effort as a living room.
Kasuha
JkDefrag Hero
*****
Posts: 595


View Profile
« Reply #4 on: March 19, 2011, 06:53:39 pm »

As far as I know, current position where standard scripts move MFT to is set up according to Microsoft research during which it was figured out that the disk is providing about the best performance when MFT is placed approximately at 30% of the used disk size.
Logged
poutnik
JkDefrag Hero
*****
Posts: 1106


View Profile
« Reply #5 on: March 19, 2011, 10:50:11 pm »

I agree, concerning built-in defragmentators.
But I think it does not count with significant file distribution bias in MyDefrag.
30% of used area is often far deep in spacehog area, especially in single partition scenario.
Logged

It can be fast, good or easy. You can pick just 2 of them....
Treating Spacehog zone by the same effort as Boot zone is like cleaning a garden by the same effort as a living room.
Kasuha
JkDefrag Hero
*****
Posts: 595


View Profile
« Reply #6 on: March 19, 2011, 11:22:03 pm »

I agree, concerning built-in defragmentators.
But I think it does not count with significant file distribution bias in MyDefrag.
30% of used area is often far deep in spacehog area, especially in single partition scenario.
I agree but nobody has performed similar research considering MyDefrag disk layout yet and placing MFT at 30% of the disk is sure better than placing it directly at the start of the disk.
Even among spacehogs there is quite a lot of frequently used files and don't forget that any new files on the disk have good chance of appearing even behind spacehogs at least until you run another daily optimization.
Personally I believe placing MFT and directories right in between programs zone and spacehogs would be better but the performance gain would not be really great and filebooleans needed to make current zones 1 and 2 into zones 4 and 5 would make the script yet again harder to read.
Logged
poutnik
JkDefrag Hero
*****
Posts: 1106


View Profile
« Reply #7 on: March 20, 2011, 07:32:21 am »

I agree but nobody has performed similar research considering MyDefrag disk layout yet and placing MFT at 30% of the disk is sure better than placing it directly at the start of the disk.
Even among spacehogs there is quite a lot of frequently used files and don't forget that any new files on the disk have good chance of appearing even behind spacehogs at least until you run another daily optimization.
Personally I believe placing MFT and directories right in between programs zone and spacehogs would be better but the performance gain would not be really great and filebooleans needed to make current zones 1 and 2 into zones 4 and 5 would make the script yet again harder to read.
Microsoft research cannot be easily applied to MyDefrag as conditions are very different. There is also other approach, maybe from MS too, maybe from other source - not handy: 30% of used area, but not more then 3 GB. For random placement the optimum would be near 50%. For slightly biased placement as MS utilities do the estimation is in good correlation with MS 30% suggestion. For highly biased placement as MyDefrag does 30% is too much. I agree placing MFT/folders closer to begin than 30% of used area will deoptimize placement for some files, but will optimize it in general.

It is impossible to calculate optimum as placement average weighed by access and filesize. But its rough estimation can be easily imagined. Even if among spacehogs are frequently accessed files, this center would be hardly there. Furthermore positioniong MFT in spacehog zone increases probability of file creation there or above.

Optimization of system usually means some its part are sacrified to create somewhere bigger gain than lost.
I am not sure nice looking script is good criteria for MFT placement.   Smiley

Personally I use also semispacehog zone for accessed spacehog.
« Last Edit: March 20, 2011, 08:14:04 am by poutnik » Logged

It can be fast, good or easy. You can pick just 2 of them....
Treating Spacehog zone by the same effort as Boot zone is like cleaning a garden by the same effort as a living room.
Darlis
JkDefrag Hero
*****
Posts: 1725


View Profile WWW
« Reply #8 on: March 20, 2011, 08:24:22 am »

I agree but nobody has performed similar research considering MyDefrag disk layout yet and placing MFT at 30% of the disk is sure better than placing it directly at the start of the disk.
I (unintentionally) made a test where the MFT is placed at 30% (~4GB, Standard Monthly) and at 15% (2GB, Optimized Monthly) into the used space. As you can see in the benchmarks, there is only a very slight increase in performance.
Logged

Need help creating a script? Try MyDefrag Script Creator.
poutnik
JkDefrag Hero
*****
Posts: 1106


View Profile
« Reply #9 on: March 20, 2011, 08:28:22 am »

I agree but nobody has performed similar research considering MyDefrag disk layout yet and placing MFT at 30% of the disk is sure better than placing it directly at the start of the disk.
I (unintentionally) made a test where the MFT is placed at 30% (~4GB, Standard Monthly) and at 15% (2GB, Optimized Monthly) into the used space. As you can see in the benchmarks, there is only a very slight increase in performance.
Can file placement script difference interfere ? ( Not studied the script details )
I have read somewhere in MS docs about 7-10% performance gain, being 3 GB off the start, compared to very start position.
I guess putting it upper the difference goes smaller fast.
« Last Edit: March 20, 2011, 08:30:28 am by poutnik » Logged

It can be fast, good or easy. You can pick just 2 of them....
Treating Spacehog zone by the same effort as Boot zone is like cleaning a garden by the same effort as a living room.
poutnik
JkDefrag Hero
*****
Posts: 1106


View Profile
« Reply #10 on: March 20, 2011, 08:35:50 am »

I (unintentionally) made a test where the MFT is placed at 30% (~4GB, ) and at 15% (2GB ) into the used space.  As you can see in the benchmarks, there is only a very slight increase in performance.

It could be they were both on comparable good places. If 30% is 4GB, then it does not matter, it is good placement. if 30% is 120 GB, it can be different.
Logged

It can be fast, good or easy. You can pick just 2 of them....
Treating Spacehog zone by the same effort as Boot zone is like cleaning a garden by the same effort as a living room.
Darlis
JkDefrag Hero
*****
Posts: 1725


View Profile WWW
« Reply #11 on: March 20, 2011, 08:55:43 am »

Can file placement script difference interfere ? ( Not studied the script details )
The scripts are almost identical. In the Optimized Monthly the MFT is placed at 2GB and the gaps are smaller.
2GB vs. 4GB placement is not much, maybe I'm going to make a test with the MFT placed further away, to simulate a much more filled disk.
Logged

Need help creating a script? Try MyDefrag Script Creator.
drugo
JkDefrag Hero
*****
Posts: 105


View Profile
« Reply #12 on: March 20, 2011, 03:10:33 pm »

Can file placement script difference interfere ? ( Not studied the script details )
The scripts are almost identical. In the Optimized Monthly the MFT is placed at 2GB and the gaps are smaller.
2GB vs. 4GB placement is not much, maybe I'm going to make a test with the MFT placed further away, to simulate a much more filled disk.
but always move the files mft+ folder , in the beginning or in the middle or in the end of the data
it 's weird
i know
Logged
Merit Support
JkDefrag Supporter
***
Posts: 12


View Profile
« Reply #13 on: June 09, 2011, 05:03:26 am »

As far as I know, current position where standard scripts move MFT to is set up according to Microsoft research during which it was figured out that the disk is providing about the best performance when MFT is placed approximately at 30% of the used disk size.

Microsoft did research relocating the MFT to avoid corruption, not performance.  By locating the file approximately 30% inside the disk, file corruption was reduced over 90%.  I never knew about the purpose of this placement until I heard a Microsoft engineer explain it at a local conference for IT professionals.  He is said it was one of the most impactful biggest and easiest fixes they ever developed.  It is all about the physical disk, not the partition.  If the partition is not near the outside edge, then reliability is not an issue.
   
Of course, an uncorrupted MFT does perform much better than a corrupt one. Wink
Logged
quanthero
JkDefrag Hero
*****
Posts: 234



View Profile
« Reply #14 on: June 09, 2011, 03:29:57 pm »

As far as I know, current position where standard scripts move MFT to is set up according to Microsoft research during which it was figured out that the disk is providing about the best performance when MFT is placed approximately at 30% of the used disk size.

Microsoft did research relocating the MFT to avoid corruption, not performance.  By locating the file approximately 30% inside the disk, file corruption was reduced over 90%.  I never knew about the purpose of this placement until I heard a Microsoft engineer explain it at a local conference for IT professionals.  He is said it was one of the most impactful biggest and easiest fixes they ever developed.  It is all about the physical disk, not the partition.  If the partition is not near the outside edge, then reliability is not an issue.
   
Of course, an uncorrupted MFT does perform much better than a corrupt one. Wink


Very interesting! So are you saying that corruption is more likely to happen on the outer edge of the disk? If so, why is this the case?
Logged
Pages: [1] 2 3
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!