Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
June 18, 2013, 11:51:55 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: MyD 431 SkipBlock?  (Read 1885 times)
Gurky42
JkDefrag Senior
****
Posts: 45


View Profile
« on: June 11, 2010, 09:43:38 pm »

I was looking at the 'SkipBlock' option and was wondering if anyone has actually used it. If so, can anyone explain exactly what this is supposed to do in a more dumbed down fashion. I've read the help file description more times then I care to admit, and I still can't wrap my head around just what its intended to do.

I noticed this:

Quote
This is a huge timesaver in cases where there has been only a small change in the zone, for example a single file that was added or deleted.

If this is the case, then why isn't this option being used in the default scripts?

And before anyone says "Just try it and see", I'm not due for a monthly style defrag/optimize for at least another week or so. So no, I'm not going to change my scripts and wait around to see what this does to my files just for the fun of it. Since its newly added, is it experimental or what? Is there a downside to using the option (hence the reason it isnt in the default scripts)?

Thanks,
Logged

--

Nothing New...
Darlis
JkDefrag Hero
*****
Posts: 1725


View Profile WWW
« Reply #1 on: June 11, 2010, 10:52:28 pm »

I haven't used it myself and don't think it is experimental. I guess the answer would be that the general user wants a complete optimization. At least thats the reason for sorting the spacehogs in the monthly system disk script.
Logged

Need help creating a script? Try MyDefrag Script Creator.
Bibby
JkDefrag Senior
****
Posts: 24


View Profile
« Reply #2 on: June 12, 2010, 12:15:04 am »

I have used the following:

  FileActions
    SortByName(Ascending SkipBlock(2,ZONE222N * 0.001))
  FileEnd

I find it does indeed speed things up. The only thing i have noticed however is that it produces many wrapped-around fragmented files.

I'm not absolutely certain but I think it causes files to wrap around a whole block (block defined in the line "SkipBlock(2,ZONE222N * 0.001)"). The problem here is that if the block is large then the fragments can be too far apart.
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7156



View Profile WWW
« Reply #3 on: June 12, 2010, 04:34:27 am »

Since its newly added, is it experimental or what?
It is a new option, not experimental. It has just not extensively been tested yet. I would like to hear from everybody what they think of it, how it is performing, if they find any problems.
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7156



View Profile WWW
« Reply #4 on: June 12, 2010, 04:45:23 am »

The only thing i have noticed however is that it produces many wrapped-around fragmented files.
I have looked at the sources and now I see that this is indeed what happens. It did not show up in my own tests, I wonder why. It's not what I want.... I will have to think about it.
Logged
poutnik
JkDefrag Hero
*****
Posts: 1106


View Profile
« Reply #5 on: June 12, 2010, 07:52:28 am »

Skipblock intention is to prevent sorting already sorted parts of sorted zone ( even if they lays on suboptimal place ). If it finds a continuous block of already sorted files,  it checks if the block has minimal file count and block size. If it has, then skipblock internally considers the block as unmovable, being sorted already. All rest files from zone are then sorted in areas, that do not belong to any skipped block, wrapping eventually these blocks.

Such settings reminds me my previously suggested "iceberg" approach of sort preservation, ( considering such a block being a single file )
intended for FastFill modification, that would not have problem with block - iceberg wrapping and file fragmentation.

Side effect of Skipblock wrapping is obvious. Further analysis will mark wrapped around files as fragmented, because wrapped blocks are movable again.

I was trying recently SkipBlock feature on boot zone sorted by layout.ini order.
My idea was to tame sorting to be usable on my custom daily till weekly script.

I have realized even at daily runs it sorted very most of boot zone, until I went down with SkipBlock parameters to 3-10 files and 64-512 kB.
Such extreme settings obviously lead to heavy block wrapping fragmentation, leading in fact to file placement deoptimization.

For standard script "middle zone" of used files the SkipBlock was more friendly and SkipBlock parameters can be increased, but not much.
« Last Edit: June 12, 2010, 07:59:38 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.
Bibby
JkDefrag Senior
****
Posts: 24


View Profile
« Reply #6 on: June 12, 2010, 09:36:16 pm »

Another problem I have noticed is that with skipblock the zone has gaps. Normally the SortBy method fills everything in leaving no gaps.
Logged
poutnik
JkDefrag Hero
*****
Posts: 1106


View Profile
« Reply #7 on: June 12, 2010, 09:44:18 pm »

Another problem I have noticed is that with skipblock the zone has gaps. Normally the SortBy method fills everything in leaving no gaps.
It happens when sortby would like to shrink zone.
But it  cannot because it has decided previously not to touch Skipblocks.
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.
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!