XP automatically defrags while idle?

Oct 16, 1999
10,490
4
0
Is this so? Playing around with Cacheman I see an option to disable this. Anyone know the specific registry entry to turn this off? Occaisionally I'd hear chirps from my computer and it was driving me crazy. I figured it wasn't the hard drive because the system was idle and so I thought I had a noisey fan. But since I checked this option I haven't heard the noise, so I'd really like to know how to turn this off w/o Cacheman. Thanks.
 

Sianath

Senior member
Sep 1, 2001
437
0
0
There is no such feature in Windows XP. You can't even schedule a defragment if you wanted to outside of command-line.

For those that are interested, you do so with the defrag.exe command-line utility.

283080 Description of the New Command Line Defrag.exe Included with Windows XP
http://support.microsoft.com/?id=283080
 

bsobel

Moderator Emeritus<br>Elite Member
Dec 9, 2001
13,346
0
0
Originally posted by: Sianath
There is no such feature in Windows XP. You can't even schedule a defragment if you wanted to outside of command-line. For those that are interested, you do so with the defrag.exe command-line utility. 283080 Description of the New Command Line Defrag.exe Included with Windows XP http://support.microsoft.com/?id=283080

Mostly wrong.

Every three days (or so) while idle, XP optimizes the layout of recently used files based on the layout data stored in the prefetch directory. However, to be fair to Sianath this is not a 'full' defrag, just a partial against those apps.

Bill

 

johnjkr1

Platinum Member
Jan 10, 2003
2,124
0
0
Windows XP definelty moves files around while its idle for better application performance, and yes, it's a feature.
 

Twista

Diamond Member
Jun 19, 2003
9,646
1
0
Well yes it is. When xp first came out all you heard was "This is the 1st os to automaticlly defrag itself when idle" Was on tv computer shows and ect.
 

dawks

Diamond Member
Oct 9, 1999
5,071
2
81
Originally posted by: bsobel
Originally posted by: Sianath
There is no such feature in Windows XP. You can't even schedule a defragment if you wanted to outside of command-line. For those that are interested, you do so with the defrag.exe command-line utility. 283080 Description of the New Command Line Defrag.exe Included with Windows XP http://support.microsoft.com/?id=283080

Mostly wrong.

Every three days (or so) while idle, XP optimizes the layout of recently used files based on the layout data stored in the prefetch directory. However, to be fair to Sianath this is not a 'full' defrag, just a partial against those apps.

Bill


Yes, this is most definatly not a full defrag. It only attempts to help programs launch a little quicker. Its by no means a replacement for a full 'manual' defrag. Full degfrags can do a much better job at optimizing program launch times.

Just a side note: Windows XP can also show additional disk activity while 'idle'. This is often related to the indexing service, which makes searching for files on the system faster.
 

Sianath

Senior member
Sep 1, 2001
437
0
0
bsobel, documentation please?

227463 Disk Defragmenter Limitations in Windows 2000, Windows XP, and Windows
http://support.microsoft.com/?id=227463

314848 How to Defragment Your Disk Drive Volumes in Windows XP
http://support.microsoft.com/?id=314848

On top of that, I actually support the product here at Microsoft. I can guarantee we do no defragmentation during idle times.

If you want to go beyond documenation in the KB, check out Windows XP, Inside Out. It lists the same things I stated above, as well as what is documented in the articles I listed.

For those of you watching this thread that work at MS, I also verified this with CPR.
 

Sianath

Senior member
Sep 1, 2001
437
0
0
LOL, which part? The fact we don't defrag in the background during idle times, or the fact that some people think we do.

The first is by design. The second... a feature maybe?
 

CTho9305

Elite Member
Jul 26, 2000
9,214
1
81
Originally posted by: Sianath
LOL, which part? The fact we don't defrag in the background during idle times, or the fact that some people think we do.

The first is by design. The second... a feature maybe?

Link

Prefetching is further improved if the files are located next to each other on the outer edge of the disk. Windows XP Professional optimizes the location of boot files and applications when the computer is idle. The optimization occurs in the background and lasts only a minute or two; you might hear the hard disk being accessed when optimization occurs. After the initial optimization takes place, subsequent optimization occurs, at most, every three days.

Tech support guys don't know everything about the product they support .

Just in case that one link isn't enough evidence... [l=this page] states:
Defragmentation

I/O performance is strongly influenced by the layout of files on disk. Files and directories that are heavily fragmented or dispersed across the disk will hurt performance. While Windows XP will automatically reposition some files to improve performance, this will generally be done infrequently and will usually include only a small fraction of the files on the disk. Therefore, it is a good idea to defragment the disk following an installation.

Once every three days, by default, Windows XP will perform a partial defragmentation and adjust the layout of the disk based upon current use. The files to be moved are written in the file Layout.ini (found in the Prefetch directory under the System Root directory).

Prefetching is further improved if the files are located next to each other on the outer edge of the disk. Windows XP Professional optimizes the location of boot files and applications when the computer is idle. The optimization occurs in the background and lasts only a minute or two; you might hear the hard disk being accessed when optimization occurs. After the initial optimization takes place, subsequent optimization occurs, at most, every three days.

Tech support guys don't know everything about the product they support .

Just in case that one link isn't enough evidence... [l=this page] states:
Defragmentation

I/O performance is strongly influenced by the layout of files on disk. Files and directories that are heavily fragmented or dispersed across the disk will hurt performance. While Windows XP will automatically reposition some files to improve performance, this will generally be done infrequently and will usually include only a small fraction of the files on the disk. Therefore, it is a good idea to defragment the disk following an installation.

Once every three days, by default, Windows XP will perform a partial defragmentation and adjust the layout of the disk based upon current use. The files to be moved are written in the file Layout.ini (found in the Prefetch directory under the System Root directory).
 

wayliff

Lifer
Nov 28, 2002
11,718
9
81
Originally posted by: Sianath
bsobel, documentation please?

227463 Disk Defragmenter Limitations in Windows 2000, Windows XP, and Windows
http://support.microsoft.com/?id=227463

314848 How to Defragment Your Disk Drive Volumes in Windows XP
http://support.microsoft.com/?id=314848

On top of that, I actually support the product here at Microsoft. I can guarantee we do no defragmentation during idle times.

If you want to go beyond documenation in the KB, check out Windows XP, Inside Out. It lists the same things I stated above, as well as what is documented in the articles I listed.

For those of you watching this thread that work at MS, I also verified this with CPR.

Funny how Microsoft contradicts itself.

 

bsobel

Moderator Emeritus<br>Elite Member
Dec 9, 2001
13,346
0
0
Originally posted by: Sianath
LOL, which part? The fact we don't defrag in the background during idle times, or the fact that some people think we do. The first is by design. The second... a feature maybe?

You claim to work for MS right, I can't believe your this clueless about your own product.
Bill


 

CTho9305

Elite Member
Jul 26, 2000
9,214
1
81
Originally posted by: bsobel
Originally posted by: Sianath
LOL, which part? The fact we don't defrag in the background during idle times, or the fact that some people think we do. The first is by design. The second... a feature maybe?

You claim to work for MS right, I can't believe your this clueless about your own product.
Bill

Tech support monkeys only need to be trained on user-observable stuff .

No offense to Sianath. I've seen other posts by you - you're helpful for a lot of people. You're just wrong this time.
 

mee987

Senior member
Jan 23, 2002
773
0
0
the auto-partial-defrag, assuming it does exist, only happens once every 3 days. i bet what gonad is experiencing is the auto indexing. maybe someone can help him disable that?
 

bsobel

Moderator Emeritus<br>Elite Member
Dec 9, 2001
13,346
0
0
No offense to Sianath. I've seen other posts by you - you're helpful for a lot of people. You're just wrong this time.

Fair enough, my comment was probably a bit too harsh.
Bill


 
Oct 16, 1999
10,490
4
0
Originally posted by: mee987
the auto-partial-defrag, assuming it does exist, only happens once every 3 days. i bet what gonad is experiencing is the auto indexing. maybe someone can help him disable that?

I don't think it's indexing. I'm pretty sure I disabled that along with a lot of the other junk that XP tries to load/do by default when I installed. Whatever it was doing, that setting in Cacheman seems to have stopped it. I'd just like to know what it does and how to do it manually.
 

Sianath

Senior member
Sep 1, 2001
437
0
0
Thank you for that article bsobel, I ran it by the dev group and they said it's somewhat correct, and redirected me to some internal docs that are better.

So I stand corrected (kind of).

For those that are internal, I pinged the Dev Lead for the Core File Services group... if you want the internal URL to the docs, send me a PM.

So yes, we do actually move a very small subset of files on disk.

 

Antoneo

Diamond Member
May 25, 2001
3,911
0
0
I think you can turn this feature off with TweakUI (one of the powertoys available from Microsoft).
Go to: General>> Optimize Hard Disk While Idle (uncheck it).
 
Oct 16, 1999
10,490
4
0
Originally posted by: Antoneo
I think you can turn this feature off with TweakUI (one of the powertoys available from Microsoft).
Go to: General>> Optimize Hard Disk While Idle (uncheck it).

I'm looking and don't see it.
 

Antoneo

Diamond Member
May 25, 2001
3,911
0
0
Originally posted by: Gonad the Barbarian
Originally posted by: Antoneo
I think you can turn this feature off with TweakUI (one of the powertoys available from Microsoft).
Go to: General>> Optimize Hard Disk While Idle (uncheck it).

I'm looking and don't see it.
Hrmm. General >> Settings >> Optimize Hard Disk While Idle.

It's not a separate branch entry, it's listed under the Settings when you click on General (bottom of the list).

 

Sianath

Senior member
Sep 1, 2001
437
0
0
Ignore this if you are using TweakUI (not positive how it does it, but I assume the same way mentioned here), but here is an answer from Dev on how you can disable the optimization without disabling the Prefetch component.

If you want to just disable the optimal file layout, we advertised the following registry value to 3rd party defraggers.

Create a REG_DWORD EnableAutoLayout with 0 as the value under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OptimalLayout
 

zephyrprime

Diamond Member
Feb 18, 2001
7,512
2
81
As I recall, the application loading order thingie was originally made by Intel. It has been in windows since 98se but I think it was only added to the NT line as of XP. It's not actually a defragger at all. It works by purposely fragmenting your exe and dlls so they appear on the drive in the order that they load into memory.

Diskeeper offers background and screen saver defragging.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |