Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
May 22, 2013, 03:04:49 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: Saw-toothed system load when -s used  (Read 1849 times)
Esprit
JkDefrag Hero
*****
Posts: 70


View Profile
« on: January 12, 2008, 12:38:52 am »

For user it's better that JkDefrag loads system more smoothly - not switching full and no load in intervals of few seconds. For non-interactive applications (file copy) it's better current solution with long delays. Will be there a possibility to select (by parameter) which approach we want?
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7155



View Profile WWW
« Reply #1 on: January 12, 2008, 06:15:39 am »

JkDefrag is based on the Microsoft defragmentation API. Basically all it does is send "move this file to that location" commands to the API. The API executes the commands deep inside a system thread somewhere. There is no way to slow it down. When the API is moving a big file then the computer will be busy - there is nothing I can do about it. So the answer is no, I see no way to spread the load more evenly.
Logged
Esprit
JkDefrag Hero
*****
Posts: 70


View Profile
« Reply #2 on: January 12, 2008, 10:16:28 am »

I know that you cannot modify function in Micr. API but SlowDown() function can be called more often in the rest of the code.
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7155



View Profile WWW
« Reply #3 on: January 13, 2008, 08:27:23 am »

I know that you cannot modify function in Micr. API but SlowDown() function can be called more often in the rest of the code.
Yes, I suppose so. But there is also some overhead involved, so it cannot be called too often. I feel that calling it once for every file that is moved is enough.
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!