Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
May 22, 2013, 03:53:54 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Slight improvements to gaps between zones  (Read 626 times)
Kasuha
JkDefrag Hero
*****
Posts: 595


View Profile
« on: November 05, 2009, 10:08:12 am »

As far as I know  MyDefrag still has problems putting files together to a zone if there is a gap inside the zone and some other files are right behind what MyDefrag calculated as the end of the zone (without counting gaps inside the zone). Last time it happened to me yesterday on latest MyDefrag.

So I propose, at least to slightly improve it, to ensure there are some gaps behind each zone by the following change:

instead of

    AddGap(RoundUp(ZoneEnd,VolumeFree * 0.01))

use

    AddGap(RoundUp(ZoneEnd + VolumeFree / 200, VolumeFree / 200))

the difference is, the gap will always be at least 0.5% of the free space big and may be up to 1% of free space big. Original scripts can go with very small or no gaps if files pile up to the wrong spot which is bad for putting the zone together.

(but I believe the core problem should be fixed too)
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7155



View Profile WWW
« Reply #1 on: November 05, 2009, 10:26:32 am »

Thanks for sharing your idea, I appreciate it.
Logged
Pages: [1]
  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!