Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
June 19, 2013, 09:06:09 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: 1 [2]
  Print  
Author Topic: Daily Weekly Monthly scripts  (Read 1982 times)
poutnik
JkDefrag Hero
*****
Posts: 1106


View Profile
« Reply #15 on: June 12, 2010, 06:55:44 pm »

Another option is just log out and then standby or more probably hibernate, depending on powering options.
My daddy would kill me because of the wasted energy. He pays the bills. Not me.
Hibernation eats exactly the same power as being switched off.
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.
BloodySword
JkDefrag Hero
*****
Posts: 1114



View Profile
« Reply #16 on: June 12, 2010, 06:59:35 pm »

Mh I never tried to hibernate after logging off. If it is possible, I will try it. I think it will boot very fast because there is no user data in RAM.
Logged

Greetings from Germany!
Kasuha
JkDefrag Hero
*****
Posts: 595


View Profile
« Reply #17 on: June 13, 2010, 12:33:25 pm »

I thought OptimizeWeekly was good enough for making the system faster. I mean it defragments files and moves them to appropriate zone. OptimizeMonthly also sorts files, but does sorting really improve performance?
Sorting by name is done over complete file pathname. This means, files from the same directory are put together. When you load a program, it has all its other files nearby and it means the disk does not need to go far for them.
Logged
poutnik
JkDefrag Hero
*****
Posts: 1106


View Profile
« Reply #18 on: June 13, 2010, 01:31:15 pm »

I thought OptimizeWeekly was good enough for making the system faster. I mean it defragments files and moves them to appropriate zone. OptimizeMonthly also sorts files, but does sorting really improve performance?
Sorting by name is done over complete file pathname. This means, files from the same directory are put together. When you load a program, it has all its other files nearby and it means the disk does not need to go far for them.
Such sorting improves performance, but not as much as people think.

It supposes relation of files with similar pathname is strong and vise verse. But it is not fully true.
Many files from different folders share similar access patterns, OTOH many files from the same folders do not.

As far as files are usually not requested in alphabet order, grouping such files  would be enough.
Unfortunately, MyDefrag does not yet provide efficient and convenient tools for such grouping, offering sorting only.

Workaround approach is multizoning, but it has its own issues.
« Last Edit: June 13, 2010, 01:41:37 pm 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.
Kasuha
JkDefrag Hero
*****
Posts: 595


View Profile
« Reply #19 on: June 13, 2010, 10:45:39 pm »

Sorting does not lead to perfect file position optimization but it provides better results than random placement and it is relatively very easy to implement.

Personally I find optimizing files into zones efficient enough so I am not really sorting files within zones ever. I agree that it does not give us enough efficiency increase to justify increased wear of the disk - because sorting the zone means all files in it get moved. The case when a file is not moved because it already lies in the place is extremely rare.

But the truth is, sorting brings some additional efficiency over files being distributed randomly within zones so it's up to everyone to choose.
Logged
BloodySword
JkDefrag Hero
*****
Posts: 1114



View Profile
« Reply #20 on: June 14, 2010, 09:34:02 am »

I don't tink that moving files into zones would bring any speed improvement. In this case, you have to make a huge number of zones after the layout.ini zone. System files, program files for each program. Then it might give a significant speed improvement without sorting. Remember that you should not make too much gaps between zones.

So I sort the layout.ini + program hints + regular files. Together they aren't such big. The spacehog zone is the biggest. I blame the winsxs directory.
Logged

Greetings from Germany!
poutnik
JkDefrag Hero
*****
Posts: 1106


View Profile
« Reply #21 on: June 14, 2010, 10:19:40 am »

I don't tink that moving files into zones would bring any speed improvement. In this case, you have to make a huge number of zones after the layout.ini zone. System files, program files for each program. Then it might give a significant speed improvement without sorting. Remember that you should not make too much gaps between zones.

So I sort the layout.ini + program hints + regular files. Together they aren't such big. The spacehog zone is the biggest. I blame the winsxs directory.
Did not I say Mydefrag does not provide an efficient and convenient solution for microzone file grouping yet ?
But saying it would not provide performance gain as almost like saying that about file sorting.

According to some interesting articles, monitoring 60000 workstation for 5 years, median file size is 10-50kB. Being such small, needed file access time is in average 1-1.5 order longer than file transfer time, so file grouping makes even more sense than file placing.

Most of the gain of file sorting is not because of sorting, but because of grouping, being the only easily usable file grouping method. But grouping only would give higher gain/price than grouping by sorting.

Multizoning can be performed by a complicated scripts hard to maintain, slow to precess if there are complex booleans,
without possibilities to avoid extra gaps between microzones.
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.
BloodySword
JkDefrag Hero
*****
Posts: 1114



View Profile
« Reply #22 on: June 14, 2010, 10:25:59 am »

If I'd adept with PowerShell, I would write a script wich will query installed programs and userfiles and generate a MyD-Script out of it witch the file grouping.

But I could write a program wich will do it. But only in .NET and only for Vista / 7. It should not be a big task. It is a search trough the program files and users dir and making zones out of them.

It would be cool if there would be a way to do this in a plain MyD-Script without any other tasks.
Logged

Greetings from Germany!
Pages: 1 [2]
  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!