Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
May 21, 2013, 05:02:23 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: JKDefrag issues with -a 7  (Read 2091 times)
Lothsahn
JkDefrag Junior
**
Posts: 8


View Profile
« on: September 30, 2008, 10:27:30 pm »

My system:
AMD Athlon 3000+
C: Individual 120 GB HD (Windows is here)
D: 195GB Partition of a Raid 1 of 2*250GB WD HD's  (23GB free)
E: Remaining partition for the raid array.

All drives are NTFS.

I have a number of compressed folders on D:, and some on C:

I have full permissions to the entire contents of C:, D:, and E:.

I have no known viruses or spyware--I am an extremely experienced technical user, and have no reason to believe anything on this computer is broken.

Prior to running JKDefrag, I've verified that except for 2 or 3 files, all files on D: are NOT in use as I've shutdown programs and verified file handles with SysInternals Process Explorer.  Therefore, I would expect nearly all files to be accessible.

I ran the following command:
JKDefrag -a 7 -d 3 -l c:\JKDefrag.log d:


Problems:

1) I found a number of files that could not be moved.  I don't understand why they could not be moved--in fact, I picked a random file (RASETUP.exe) and was able to move it to a different folder.  I at no time had Red alert running during the defrag.  I have included the "could not be moved" portion of my log below.  None of these files showed as "in use" based on the file handle search from Sysinternals process explorer.


2) The defrag reports that it finished, but I don't think it has.  I see the following in the log:
09:50:35 d:\games\Halo\MAPS\bitmaps.map
  Moving 2 clusters from 39512825 to 40034734, VCN=68288.
09:52:24 Finished.

When I left the house (at 9:30 AM), it reported that it was 13% (Zone 3) complete.  This defrag has been running since 10PM last night, so I would not expect the other 70% to complete within 10 minutes.  When I restart JKDefrag, I see free space scattered around the disk, and the disk is full all the way to the edge, which is the slow part that shouldn't be filled.  It looks anything but what I expect.  There are gaps far in excess of the 1% (2.5GB) in the middle of the drive, so I can't expect that it's the 2 "buffer" zones.  Plus, the log file indicates it stopped on d:\games\Halo\MAPS\bitmaps.map, but there are tons of folders after this one, alphabetically.  I don't know if JKDefrag moves the files alphabetically, but if it does, it's missed a very large portion of my drive.


3) JKDefrag in -a mode (on any drive in my system) eats all of the CPU.  I expect it to place heavy disk access, but there is something in the software that is causing extreme CPU consumption.  The entire system is sluggish and slow, but these issues resolve after I lower the priority to "below Normal".  For comparison, Windows Disk Defragmenter takes 1-2% of the CPU. 


4) I cannot run JKDefrag against c: and d: at the same time.  Once #3 is resolved, I would love to do this, since they are two separate physical disks, so the IO access on each shouldn't interfere with each other.


Please let me know if you need any other parts of the log.


Log:
09:52:24 These items could not be moved:
09:52:24   Fragments       Bytes  Clusters Name
09:52:24           1    67108864     16384 d:\$LogFile
09:52:24          10       37504        10 d:\$MFT::$BITMAP
09:52:24           1   307183616     74996 d:\$MFT
09:52:24           2        8192         2 d:\.
09:52:24           2   116707106     28457 d:\drivers\soyo USB bluetooth\widcomm\BTW5.0.1.1200.zip
09:52:24          12   644491987    114219 d:\games\Atari\Axis & Allies\Data.rwd
09:52:24           2   149828360     36492 d:\games\Battlefield 2\mods\bf2\Common_client.zip
09:52:24           2      131200        15 d:\games\Battlefield 2\mods\bf2\Levels\Dragon_Valley\Info\loadmap.png
09:52:24           2      131200        17 d:\games\Battlefield 2\mods\bf2\Levels\FuShe_Pass\Info\loadmap.png
09:52:24           2      131200        16 d:\games\Battlefield 2\mods\bf2\Levels\Gulf_of_Oman\Info\loadmap.png
09:52:24           2      131200        15 d:\games\Battlefield 2\mods\bf2\Levels\kubra_dam\Info\loadmap.png
09:52:24           2      131200        13 d:\games\Battlefield 2\mods\bf2\Levels\Operation_Clean_Sweep\Info\loadmap.png
09:52:24           2      131200        14 d:\games\Battlefield 2\mods\bf2\Levels\Strike_at_Karkand\Info\loadmap.png
09:52:24           3   641042884    156226 d:\games\Battlefield 2\mods\bf2\Objects_client.zip
09:52:24           2      131072         9 d:\games\bleem\ff7(2).MCD
09:52:24           2      131072        11 d:\games\bleem\ff7(4).MCD
09:52:24           2      131072        11 d:\games\bleem\ff7(5).MCD
09:52:24           2      131072        11 d:\games\bleem\ff7(6).MCD
09:52:24           2      131072        11 d:\games\bleem\ff7(7).MCD
09:52:24           2      131312         8 d:\games\Civilization III\Civ3PTW\Scenarios\Antartida S.bic
09:52:24           2      128471         9 d:\games\Civilization III\Civ3PTW\Scenarios\Double Your Pleasure\Text\Pediaicons.txt
09:52:24           2      256040        14 d:\games\Civilization III\Civ3PTW\Scenarios\RingWorld (Large) v2.bic
09:52:24           2    86251508     21056 d:\games\comedy\movies\teamwizzy\TW-NFEpisodeOne.wmv
09:52:24           1        4096         1 d:\$MFTMirr
09:52:24           1     6399896      1563 d:\$Bitmap
09:52:24           3   357481664     87275 d:\games\Command & Conquer The First Decade\Command & Conquer Red Alert(tm) II\RA2\movies01.mix
09:52:24          21   304170688     74260 d:\games\Command & Conquer The First Decade\Command & Conquer Red Alert(tm) II\RA2\movies02.mix
09:52:24         646   394116336     96215 d:\games\Command & Conquer The First Decade\Command & Conquer Red Alert(tm) II\RA2\movmd03.mix
09:52:24           3    18666588      3698 d:\games\Command & Conquer The First Decade\Command & Conquer Red Alert(tm) II\RA2\multi.mix
09:52:24           2    31264268      6088 d:\games\Command & Conquer The First Decade\Command & Conquer Red Alert(tm) II\RA2\multimd.mix
09:52:24           2       90112        16 d:\games\Command & Conquer The First Decade\Command & Conquer Red Alert(tm) II\RA2\patchget.dat
09:52:24           3      184320        30 d:\games\Command & Conquer The First Decade\Command & Conquer Red Alert(tm) II\RA2\patchgetmd.dat
09:52:24           2      171520        31 d:\games\Command & Conquer The First Decade\Command & Conquer Red Alert(tm) II\RA2\PATCHW32.DLL
09:52:24           2   281888480     47194 d:\games\Command & Conquer The First Decade\Command & Conquer Red Alert(tm) II\RA2\ra2.mix
09:52:24           2     1314623       239 d:\games\Command & Conquer The First Decade\Command & Conquer Red Alert(tm) II\RA2\RA2MD.exe
09:52:24           2   204527696     34826 d:\games\Command & Conquer The First Decade\Command & Conquer Red Alert(tm) II\RA2\ra2md.mix
09:52:24          16    76862662     18713 d:\games\Command & Conquer The First Decade\Command & Conquer Red Alert(tm) II\RA2\theme.mix
09:52:24          26    46859102     11426 d:\games\Command & Conquer The First Decade\Command & Conquer Red Alert(tm) II\RA2\thememd.mix
09:52:24           2     6181704      1387 d:\games\Command & Conquer The First Decade\Command & Conquer Red Alert(tm) II\RA2\wdt.mix
09:52:24           3     1277757       231 d:\games\Command & Conquer The First Decade\Command & Conquer Red Alert(tm) II\RA2\YURI.exe
09:52:24          34     3070092       749 d:\games\Command & Conquer The First Decade\Command & Conquer Red Alert(tm)\2nd_hand.aud
09:52:24           2     2941132       717 d:\games\Command & Conquer The First Decade\Command & Conquer Red Alert(tm)\araziod.aud
09:52:24          43     3178252       775 d:\games\Command & Conquer The First Decade\Command & Conquer Red Alert(tm)\backstab.aud
09:52:24          31     2386955       579 d:\games\Command & Conquer The First Decade\Command & Conquer Red Alert(tm)\bog.aud
09:52:24           3     1161235       174 d:\games\Command & Conquer The First Decade\Command & Conquer Red Alert(tm)\EDIT.DAT
09:52:24           3      869888       117 d:\games\Command & Conquer The First Decade\Command & Conquer Red Alert(tm)\EDWIN.EXE
09:52:24           2      458242        96 d:\games\Command & Conquer The First Decade\Command & Conquer Red Alert(tm)\EXPAND.MIX
09:52:24           2      469922        99 d:\games\Command & Conquer The First Decade\Command & Conquer Red Alert(tm)\EXPAND2.MIX
09:52:24           2     2476183       379 d:\games\Command & Conquer The First Decade\Command & Conquer Red Alert(tm)\GAME.DAT
09:52:24           2      261425        31 d:\games\Command & Conquer The First Decade\Command & Conquer Red Alert(tm)\HMIDRV.386
09:52:24         117  1331073921    324645 d:\games\Command & Conquer The First Decade\Command & Conquer Red Alert(tm)\MAIN.MIX
09:52:24           2      142336        26 d:\games\Command & Conquer The First Decade\Command & Conquer Red Alert(tm)\PATCHW32.DLL
09:52:24           3     2375680       363 d:\games\Command & Conquer The First Decade\Command & Conquer Red Alert(tm)\ra95.dat
09:52:24           2      108498        19 d:\games\Command & Conquer The First Decade\Command & Conquer Red Alert(tm)\RASETUP.EXE
09:52:24           3      244874        47 d:\games\Command & Conquer The First Decade\Command & Conquer Red Alert(tm)\README.EXE
09:52:24           2     1440056       266 d:\games\Command & Conquer The First Decade\Command & Conquer Red Alert(tm)\RED ALERT\ALLIED.BMP
09:52:24           3     1439824       349 d:\games\Command & Conquer The First Decade\Command & Conquer Red Alert(tm)\RED ALERT\ALLIED.WAV
09:52:24           9     1440056       314 d:\games\Command & Conquer The First Decade\Command & Conquer Red Alert(tm)\RED ALERT\Ant.BMP
Logged
Lothsahn
JkDefrag Junior
**
Posts: 8


View Profile
« Reply #1 on: September 30, 2008, 10:40:38 pm »

Jeroen:

I'm so very sorry--I forgot that Microsoft had released a buggy update to Windows (Vista).  I should have specified my OS.  I'm using Windows XP Professional 32-bit edition. Smiley

Also wanted to say that I've been using JKDefrag for a while (but not option -a 7), and it's so far worked very well for me, so I'm very happy for your software.

Thanks again,
Lothsahn
Logged
WHRoeder
JkDefrag Hero
*****
Posts: 180


View Profile
« Reply #2 on: October 01, 2008, 03:18:15 pm »

09:52:24         646   394116336 indicates to me that there were no large gaps to defrag files.  therefor it couldn't move files out of the way for the sort (it will not fragment files while making the gap.)  therefor it was spending a lot of time trying to fill small holes and fragmenting file into those holes.

Try -a 3 repeatedly until you don't have fragmented files.
If the log still shows files could not be moved, then the problem may be your antiviral.

Also are you sure the cpu usage was defrag? defrag sometimes triggers the antiviral into cpu usage.
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7155



View Profile WWW
« Reply #3 on: October 01, 2008, 08:36:16 pm »

1) I found a number of files that could not be moved.
There are any number of reasons why a file can show up in the list. For example, if there is no gap big enough to move the file to. If you run JkDefrag with a higher debug option you will see more info, for example "-d 5". Are the files compressed? (open the properties of a file, see the advanced attributes).

Quote
2) The defrag reports that it finished, but I don't think it has.
The status report is only written to the logfile when JkDefrag finishes.

Quote
I don't know if JKDefrag moves the files alphabetically
Yes, with "-a 7".

Quote
4) I cannot run JKDefrag against c: and d: at the same time.
I advice against it, but it is possible with a little trick. Make copies of the JkDefrag.exe executable under different names, for example JkDefragC.exe and JkDefragD.exe. You can run copies simultaneously, the program only checks for the original executable names.
Logged
Lothsahn
JkDefrag Junior
**
Posts: 8


View Profile
« Reply #4 on: October 02, 2008, 05:53:28 am »

09:52:24         646   394116336 indicates to me that there were no large gaps to defrag files.  therefor it couldn't move files out of the way for the sort (it will not fragment files while making the gap.)  therefor it was spending a lot of time trying to fill small holes and fragmenting file into those holes.


I think this is the problem.  Other defrags fail--I think I need more free space, it doesn't shuffle files around as I'd expect.



As for the high cpu usage--it's not compressed files or antiviral.  It only happens when I do -a 7.  -a 3 uses like 4-5% cpu usage.  There must be some performance issue with -a 7.
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!