Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
May 21, 2013, 10:32:15 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: My defrag script. Chunk size 100MB with Fill using files under 500MB  (Read 2480 times)
Mohan
Newbie
*
Posts: 1


View Profile
« on: November 05, 2009, 05:45:55 pm »

My script is simple enough.
If Mydefrag doesn't support:
1) Select All files and defrag those
2) Select Files under 500 MB and use them to fill.
Then damn, I'll just go back to auslogics disk defrag.
I still use this to analyze my HDs but to defrag ? Maybe next year.

My script that should have worked but doesn't is still as an attachment.
It's pretty simple, but the program doesn't understand it so...
Any moderator is free to delete this thread.

* Toni.MyD (0.64 KB - downloaded 133 times.)
« Last Edit: November 09, 2009, 03:53:23 pm by Mohan » Logged
poutnik
JkDefrag Hero
*****
Posts: 1105


View Profile
« Reply #1 on: November 05, 2009, 06:06:46 pm »

In light of

Quote
Do not set a very low chunk size. It will not only make MyDefrag slower (moving big chunks is far more efficient), but more importantly will cause the MFT to become bigger and will make all disk access slower (for all applications, not just MyDefrag). Files are stored in the MFT in "extends". Contiguous extends (back-to-front on the disk) form fragments. The number of extends is not listed by MyDefrag (or any other defragmentation program) but should be as low as possible, just like the number of fragments should be as low as possible. Decreasing the chunk size will increase the number of extends.

it seems to me FileMoveChunkSize(1M) is far too small.

And first fileselect will choose all files, so nothing will be left for the 2nd one.

Code:
FileSelect
all
FileActions
Defragment(ChunkSize(100))
FileEnd
FileSelect
Size(0,500M)
FileActions
FastFill()
FileEnd
VolumeEnd
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.
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7155



View Profile WWW
« Reply #2 on: November 05, 2009, 08:03:24 pm »

I wasn't completely impressed with the default scripts.
Most users expect complete defragmentation and optimization, and do not care so much about processing time. So that's what the default scripts do. Feel free to write your own scripts, that's what the MyDefrag scripting is for.

Quote
Now let me see if this board can take the script as an attachment..
Yes it can, see the "additional options" just below where you type text.
Logged
verdy_p
JkDefrag Hero
*****
Posts: 62


View Profile
« Reply #3 on: December 02, 2009, 06:34:41 am »

In light of

Quote
Do not set a very low chunk size. It will not only make MyDefrag slower (moving big chunks is far more efficient), but more importantly will cause the MFT to become bigger and will make all disk access slower (for all applications, not just MyDefrag). Files are stored in the MFT in "extends". Contiguous extends (back-to-front on the disk) form fragments. The number of extends is not listed by MyDefrag (or any other defragmentation program) but should be as low as possible, just like the number of fragments should be as low as possible. Decreasing the chunk size will increase the number of extends.

it seems to me FileMoveChunkSize(1M) is far too small.

And first fileselect will choose all files, so nothing will be left for the 2nd one.

Code:
FileSelect
all
FileActions
Defragment(ChunkSize(100))
FileEnd
FileSelect
Size(0,500M)
FileActions
FastFill()
FileEnd
VolumeEnd

That's right! You'd better defragment in the first pass only the large files, and then select the remaining small files to fast fill, if that's erally what you want. But personnaly, I would most probably do the reverse: defragment small files in the first zone (at the begining of disk, where they will be faster), and use fast fill for the remaining large files in the second zone.
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!