Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
May 21, 2013, 09:45:47 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: 2 defrag methods  (Read 6599 times)
rdsu
JkDefrag Hero
*****
Posts: 97


View Profile
« on: February 17, 2007, 03:56:13 pm »

Hi Jeroen,

I already saw, in this forum and by email, that you will try develop new defrag strategy's, so I would like to suggest 2 methods:

(1) I don't know if is legal or not, but if you can develop something like Smart Replacement of PerfectDisk, where the files are allocated in this order, starting from the outer track of the disk:
    - Files on layout.ini file
    - Files that are rarely modified
    - Files between the rarely and recently modified files
    - Files that are recently modified
This method is great for those who want fast defragmentation and free space consolidation. This will also lead in a very good performance.

(2) The other method is based on the last accessed time, to put the used files on the outer tracks and the files not accessed to X days on the inner tracks. This will speed the system because the new files will be also in a fast part of the disk.

(3) I would like to also suggest to make a good offline defrag for Paging file, Master File Table, Metadata and Hibernate file.

What do you think about?

Regards
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7155



View Profile WWW
« Reply #1 on: February 17, 2007, 06:16:48 pm »

Quote from: "VaMPiRiC_CRoW"
I would like to suggest 2 methods:

Thank you very much for sharing your thoughts, I appreciate it! I have made a note and will think about it.

Quote from: "VaMPiRiC_CRoW"
(3) I would like to also suggest to make a good offline defrag for Paging file, Master File Table, Metadata and Hibernate file.

I have done some research in the past and have decided against it. Defragging those files is only possible by a Native program. That's a very special kind of program that can run before Windows is fully started. Most of the Native API is undocumented, and very low-level and potentially dangerous. There's a free download on the Microsoft website called PageDefrag (see the "See Also" section in the JkDefrag docs) which does a perfectly good job. So I decided against trying to make something myself.
Logged
rdsu
JkDefrag Hero
*****
Posts: 97


View Profile
« Reply #2 on: February 17, 2007, 06:38:41 pm »

Quote from: "jeroen"

Thank you very much for sharing your thoughts, I appreciate it! I have made a note and will think about it.

Glad to hear that! Smiley

Do you have some date to start making the methods that you choosed?

Quote from: "jeroen"
I have done some research in the past and have decided against it. Defragging those files is only possible by a Native program. That's a very special kind of program that can run before Windows is fully started. Most of the Native API is undocumented, and very low-level and potentially dangerous. There's a free download on the Microsoft website called PageDefrag (see the "See Also" section in the JkDefrag docs) which does a perfectly good job. So I decided against trying to make something myself.

That explain why only PerfectDisk can deal with this... Smiley
Logged
gemini
JkDefrag Supporter
***
Posts: 15


View Profile
« Reply #3 on: February 19, 2007, 08:15:50 am »

I don't like Perfect Disk and Diskeeper, they're very slow and hogs my pc system and memory.
Logged
rdsu
JkDefrag Hero
*****
Posts: 97


View Profile
« Reply #4 on: February 20, 2007, 12:57:05 am »

Quote from: "VaMPiRiC_CRoW"
Quote from: "jeroen"

Thank you very much for sharing your thoughts, I appreciate it! I have made a note and will think about it.

Glad to hear that! Smiley

Do you have some date to start making the methods that you choosed?

:?:
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7155



View Profile WWW
« Reply #5 on: February 20, 2007, 04:50:30 pm »

Quote from: "VaMPiRiC_CRoW"
Do you have some date to start making the methods that you choosed?

No. JkDefrag is basically a hobby and I'll get around to it when I'm in the mood. At the moment I am working on directly reading the MFT, which promises to be a lot faster than the current analysis and should find even more hidden system files.
Logged
rdsu
JkDefrag Hero
*****
Posts: 97


View Profile
« Reply #6 on: February 20, 2007, 05:02:39 pm »

Quote from: "jeroen"
Quote from: "VaMPiRiC_CRoW"
Do you have some date to start making the methods that you choosed?

No. JkDefrag is basically a hobby and I'll get around to it when I'm in the mood. At the moment I am working on directly reading the MFT, which promises to be a lot faster than the current analysis and should find even more hidden system files.

Ok, keep the good work Wink
Logged
idle.newbie
JkDefrag Junior
**
Posts: 5


View Profile
« Reply #7 on: February 22, 2007, 04:33:51 pm »

Quote from: "jeroen"
Defragging those files is only possible by a Native program. That's a very special kind of program that can run before Windows is fully started. Most of the Native API is undocumented, and very low-level and potentially dangerous.

http://www.microsoft.com/technet/sysinternals/information/NativeApplications.mspx Nov. '06
can't find any link to another older article "Inside the Native API" Last updated November 23, 2004. This article lists much different stuff than above, and a sample Native program w/ source 2006-05-30_221611_Native.zip dunno if they'll help or not, maybe a p.m. attachment?
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7155



View Profile WWW
« Reply #8 on: February 22, 2007, 06:20:29 pm »

Quote from: "idle.newbie"
This article lists much different stuff than above

Thanks for the link, I appreciate it! I already know the article. It was originally published on the Sysinternals website and has moved to the Microsoft website when they bought Sysinternals. Quote from the article: "The NTDLL runtime consists of hundreds of functions that allow native applications to perform file I/O, interact with device drivers, and perform interprocess communications. Unfortunately, as I stated earlier, the vast majority of these functions are undocumented." So I think I'd better stay away from it...
Logged
idle.newbie
JkDefrag Junior
**
Posts: 5


View Profile
« Reply #9 on: February 22, 2007, 09:22:42 pm »

Sadly sysinternals did not release PageDfrg source, and i can't programming. Keep your great work.
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!