Windows

Tips to speed up defrag operations in Windows XP

You can speed up a defrag operation in Windows XP by restarting the system beforehand. Greg Shultz reveals this defrag performance tip and a registry edit that can further increase performance.

A simple way to speed up a defrag operation in Microsoft Windows XP is to restart the system before you launch the Defrag application. This allows the operating system to clear out the swap/paging file (may require a change in configuration for ultimate effect) and to reset it to the default size. This lets Defrag focus strictly on the necessary data on the hard disk, without having to stop and manage a huge swap file loaded with unneeded data.

Another approach to speeding up a defrag operation in Windows XP is to configure it to occur immediately upon startup. You can do so easily with a simple registry edit.

Note: Editing the Windows Registry is not without risk. Please save yourself some aggravation and back up your Windows Registry before you do any editing.

With the disclaimer out of the way, follow these steps to start a defrag operation immediately upon startup:

  • Launch the Registry Editor (Regedit.exe).
  • Go to:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
  • Right-click the RunOnce subkey and select New | String Value.
  • Name the value Defrag and press [Enter] twice.
  • Type Defrag.exe c: /f in the Value Data text box and click OK.
  • Close the Registry Editor and restart Windows.

The defrag operation will begin when you type your password and press [Enter]. (Keep in mind that values added to the RunOnce key are removed immediately after the command has been run.)

Note: This tip applies to both Windows XP Home and Professional editions.

Stay on top of the latest XP tips and tricks with TechRepublic's Windows XP newsletter, delivered every Thursday. Automatically sign up today!

About

Greg Shultz is a freelance Technical Writer. Previously, he has worked as Documentation Specialist in the software industry, a Technical Support Specialist in educational industry, and a Technical Journalist in the computer publishing industry.

72 comments
JARRA9
JARRA9

At least once a day I have a new PC to install XP or have one that I have to service. In both cases I allways create C:\TEMP and C:/Tmp folders in (if any) second Disc or partition, I change the 'Temporary Internet files' folder to one of mentioned above folders, too. I change Value in User and System environment variables to above folders. Fonally I change virtual memory (pagefile) to another partition or disc (if any) and select to RAM*1.5 for min. to RAM*3 for max. amount. Then I give a small instruction to my customers to use MS DiscDefragmenter, to clean C:\TEMP and C:\Tmp folders, and to delete Cookies and Temporary Internet Files from IE properties, once a week or more, depending of that how much they use IE or use their PC. I have very satisfied customers. Ofcourse, more often you use defragmenter, more quicker it finishes.

jnijkerk
jnijkerk

It's just that simple. 1. Create a small primary partition on your HD, about 6 GB (depends on installed memory). Then configure the virtual memory: Start > Configuration > System > Advanced. Set the limit of the page file to 64 on the first harddisk, set the pagefile on other partitions to 0, situate the rest of the pagefile on the new small partition and leave the configuration of thids one to the operating system. This way the pagefile never gets defragmented. And the performance is speeded up. If you have more harddisks, locate the pagefile partition on the one that is the less used. The virtual memory will be extra fast. Tip: On our systems we have a 'parking lot' for (temporarily) storage. Thats where the pagefile is located. Just for a few bucks more... ;-) 2. Avoid messing around in the register: UltraDefrag is a GNU Public License defragger wich allows you to run the program with chosen options before OS-startup. It is done by an simple script that can be toggled off and on. This way the performance of the pagefile and UltraDefrag (wich is a very fast application) will be astonishing. About UltraDefrag: Have a look at the post of Jack Wallen on this issue. Jurriaan Nijkerk

blooberpatrick
blooberpatrick

hi aim luking for free full speed up end defrag for windows xp profescional thank if you can help xxx bloober or patrick.

weber_christian
weber_christian

I first use CONTIG.EXE from MS-Sysinternals for files with size over 1GB. It often finds a place for one whole file (which DEFRAG doesn't see ??). After defragmenting most big files with CONTIG, I start Windows XP DEFRAG and let it do the rest. This methode takes 20 min on my 500 GB hard disk against 2 hours with DEFRAG only; and defrag only often could not finish his job! Congrats to MS for CONTIG, it's one of this great, simple command-line-only utilities, all in one EXE-file with

AllGeek2Me
AllGeek2Me

One thing I do first before a defrag is delete all the Temporary Internet Files. If you don't do this on a regular basis, it can take up a lot of space that Defrag has to deal with. My 2? CDN

johndecoville
johndecoville

This is a good tip, Greg. So is the one released today, April 17, about Vista. Please resign from being a Vista Salesman, permantently, and stick to tips. Thank you, --John deCoville (XP at work and one on computer at home and Vista on two Laptops at home) Waiting for Windows 7.

sferguson
sferguson

Absolutely perfect! Worked like a charm, thank you so much!

Photogenic Memory
Photogenic Memory

Like so: defrag c: & exit It runs faster than the gui. I think I'll try the above tip to see if it'll run even faster. GREAT TIP! Thank you. Thanks to the author. I know he run Vista but I can't afford it. I plan on purchasing Windows 7 though. Can this be applied to that OS?

TeeKay
TeeKay

I was always taught that if you have a second hard drive then move the paging file to it, then the problem no longer exists. Terence Kierans www.virtualservices.com.au

vaughanm
vaughanm

I have my drive partitioned with a 5GB swap drive as drive C: no other data there just the swap file, this way not only does my swap file not get in the way of defrag but it is also on the fastest part of the drive and helps improve system speed..

sullivan
sullivan

Wow, this is so wrong...what a waste of time reading this The correct way to manage fragmenatation of the pagefile is with pagedfrg from Sysinternals. And rebooting will NOT clear or re-arrange or resize the pagefile unless you've made someother config change to trigger this. As for RunOnce, I'm so skeptical that I won't even bother to test it. You want to defrag WHILE logging on? Isn't logon pretty damn busy already?

Unkie
Unkie

There is so many ways of doing a defrag but we should also think about scheduling the script, for me what I usaully do is use a AT command and run my script once a month (last Friday). For example my script file is "tool.bat"... I have multiple scripts running daily, weekly and monthly hence the name daily_tool.txt, every morning on my login my system will call this file for me (another script which is attach to my login profile) The double :: is skiped by the OS and using REM, being a command, is read by the OS Not much on speed improvement on today's PC but still an improvement... Also adding a full path to the commanda is an improvement in time. @echo off :: :: Before running this script, setup the windows clean manager... :: Start, Run, cleanmgr /sageset:1 and select the options you want :: :: Adding file "daily_tool.txt" to c: drive with time/date stamp :: Add a second chevron (>) to the date line if you want a running record :: date /T>>c:\daily_tool.txt time /T >>c:\daily_tool.txt echo >>c:\daily_tool.txt :: :: Return to root of C: c: >>c:\daily_tool.txt cd \ >>c:\daily_tool.txt c:\windows\system32\cleanmgr /sagerun:1 >>c:\daily_tool.txt :: :: Defrag with verbose (details) :: To force a defrag add switch "-f" after "-v" (once monthly if required) :: :: For mutiple drives cp and paste a new line with proper drive assigment :: adding echo will clean up and seperate the text :: echo >>c:\daily_tool.txt c:\windows\system32\defrag.exe c: -v >>c:\daily_tool.txt echo >>c:\daily_tool.txt echo >>c:\daily_tool.txt c:\windows\system32\defrag.exe e: -v >>c:\daily_tool.txt echo >>c:\daily_tool.txt echo >>c:\daily_tool.txt :: And a reboot (init 6 in unix) c:\windows\system32\shutdown.exe -f -r >>c:\daily_tool.txt You can do calls to scripts from within a script using a call command... //Gollum-UJ// gollum-uj@rogers.com

miketech73
miketech73

better to do: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce] "Defrag"="DeFrag.exe C: /f" save as "DefragOnStartUp.reg" check & recheck, then save file, with quotes - don't take a chance on typing error screwing up the registry. simply double klik file to run it. mike

gilbartdon
gilbartdon

Only logged in as Admin or will do it logged in as user

jmbrasfield
jmbrasfield

The best way to speed up the defrag process in XP (or Vista) is to use ANY third party defrag program. Even the freebies, such as Defraggler or Smart Defrag, are infinitely superior to what comes with XP. Or better yet, use Linux and send M$ the only message they understand, $$$$$$$$$$$$$$$.

m.a.fidler
m.a.fidler

Defrag C: -b Defrag C: /V So putting this as a batch file and using task scheduler to run at start up is too difficult? Far better to keep editing the registry everytime. Genius. Tech experts you can't beat them.

rspeidel
rspeidel

There's no sense in defragmenting temp and unecessary files, so my first step is to install and run Piriform's CCleaner tool (ccleaner.com). It's free, and it works really well. It'll clear out your temp folders, internet cache, antivirus logs, Java cache, FlashPlyer cache, etc. I've had instances where CCleaner cleared up more than 2GB of space. Step 2: Safe Mode. Running a Defrag in Safe Mode will reduce the number of open files and running processes, making your defrag not only run much faster, but more completely too (Defrag can't defragment files that are open/locked). Step 3: While in Safe Mode, beofre the Defrag, go and clear out any remaining files from your temp folders that were locked when you ran CCleaner. Click on Start - Run - type in "%temp%" (without the quotes) to open your profile's temp folder. clear the contents. Click Start - Run - type in "%windir%". Open the "Temp" folder in there and clear those contents also. Click on Start - Run - type in "%windir%". Open the "Prefetch" and delete the contents of there (don't worry, it's safe to delete the Prefetch contents. Do a Google search on Prefetch if you don't believe me) Step 4: Now you're ready to Defrag. Once again, I have to recommend another Piriform product. I prefer Piriform's Defraggler (defraggler.com) over the Windows Disk Defragmenter. Like CCleaner, it's free. It also gives you alot more information about how badly fragmented your drive is and what files specifically are fragmented. Happy Defragging!

Mark W. Kaelin
Mark W. Kaelin

What is your favorite Windows XP defrag performance increasing tip?

chrisganderampy
chrisganderampy

Run CCcleaner from recycle bin. Then run reg clean from CCcleaner. THEN run wise disk cleaner (cleans out more than CC) THEN run wise reg cleaner (same as before) THEN run JkDefragGUI (easier to manage than Jkdfrag IMHO). And these are all FREE - but a small contribution might help them. Made my machine seriously faster.

ps.techrep
ps.techrep

Using the most recent version of MyDefrag (formerly jkdefrag), I tried running it in Safe Mode without networking. Not only did it run faster, but because fewer of the Windows drivers were loaded, it did a more thorough job.

rroberto18
rroberto18

you said it better than I could...thank you unfortunately, in this case, TR is in error on just about every count in this article happily, this is a rare occurance

jimdeese
jimdeese

Norton's Speed Disk works great for me.

transy12
transy12

This sounds like u a one of the Linux dreamers , one day Microsoft will go down.. I have news it will not!! windows defrag tool is the best for the windows OS. slow yes effective double YES!!! DO NOT use Beta tools or trail versions......

bigpygme
bigpygme

good point, but why so grunpy? and thx for the (unexplained) XP tip - i'll check out the switches with M$ ...

thingumybob
thingumybob

I've been using UltimateDefrag free version for some while and it does a great job. There is also a mode where you can consolidate files, i.e. not just defrag but also reorganize them all so that like is grouped with like. Takes quite a bit longer, to consolidate too, but logic says that that helps speed (I've not actually scientifically checked that claim). http://www.disktrix.com/ You will have to search for the (legally) free version. I see that they now have an 'Express' version too

---TK---
---TK---

My friend wrote this .... I added a couple other things but this is the main part.... I use to have it in a scheduled task fire it up every monday morning at 2 am... then I got vista :) @echo off Rem ********* Delete Temporary Internet Files: **** Rem RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8 Rem ********* Delete Cookies: ********************* Rem RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2 Rem ********* Delete History: ********************* Rem RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1 Rem ********* Delete Form Data: ******************* Rem RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16 Rem ********* Delete Passwords: ******************* Rem RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32 Rem ********* Remove All IE Cached Data *********** Rem RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255 Echo ********* Removing All Temp Files and Cookies for IE ************* RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351 Echo. Echo Removal of All Temp Files and Cookies for IE has Completed! Echo. Echo. Echo. Echo ********* Removing PC Temporary Files ********** rmdir /S /Q "%userprofile%\Local Settings\Temp" 2>Nul mkdir "%userprofile%\Local Settings\Temp" 2>Nul rmdir /S /Q %windir%\Temp 2>Nul mkdir %windir%\Temp 2>Nul c:\windows\system32\cleanmgr.exe /dc /sagerun: 1 Echo. Echo Removal of PC Temporary Files has Completed! Echo. Echo. Echo. Echo ********* Defragging Hard Drive ************** defrag C: -f -v GOTO End :End exit

lrstuckey
lrstuckey

Sorry if this is basic info - I didn't see anyone mention it. Disable hibernation. The hiberfil.sys file can't defragment. I don't know why, since I'm not a techie (just a nerd). Disabling hibernation frees up some space on the drive, which is great when the drive is just a little too full to defrag. My c: has less than the required 15% free space if hibernation is enabled, but more than 15% when disabled.

vindasel
vindasel

The best way to improve defrag on XP is to just install the latest version of Diskeeper and be done with it. Diskeeper 2k9 defrags when it's necessary and when there are sufficient idle system resources to do it. so it's invisible yet works great. Install and forget, and get on with your life :P

mackie44
mackie44

Install JKDefrag on your system. It is faster than Windows Defrag and shows you a live window of your hard drive. I havent used Windows Defrag since I found this program. http://www.kessels.com/Jkdefrag/

paladin2
paladin2

As a neatness freak fragged files make me crazy. I use Perfect Disk, another application that MS gives you second, third or fourth best. And having it running in the background either when the screensaver is on or the processor is not busy makes a dedicated defrag time unnecessary. Or if I don't run one of it's background schedules I defrag at the end of each day. That way it only takes 5 minutes or so and regardless those folks who scorn defragging at all (or once a year, which I've actually read people doing). A fragged up drive DOES slow down and is more prone to error and it's incredible that people will still argue the opposite. And a defragged registry and/or page file at boot also makes for a happier computer.

kent5150
kent5150

I haven't read all the replies here so these tips may have already been mentioned. First, delete the page file and reboot into Safe Mode. This keeps unnecessary files from loading and slowing down defrag. Be sure to reset the page file when it's done. Second, use Defraggler. It's made by the same company that makes CCleaner, which I also use before defrag to clean out junk files. It's faster than Windows defrag and is free. You can also select folders to defrag instead of the entire drive. Third, if your system is set for FAT32, convert it to NTFS. It's much faster when drfragging. As most of you already know, it increases general system stability as well.

Jackmagurn
Jackmagurn

Ive been doing this for years and it speeds it up and does files that in normal mode wouldnt defrag. Why not just do it this way?

Arcturus16a
Arcturus16a

A friend suggests setting the Page File to Zero before Defraging and the changing the setting back when complete. What's the Pro's and Con's to changing the memory used for the Page File?

ving
ving

Rather than edit the registry and reboot to run defrag, why not just put a link to defrag in the startup folder. It will then run each time the machine boots and you can stop it easily if you want to.

TheOnlyRick
TheOnlyRick

On a very badly fragged laptop, after a couple of JK Defrag runs, booting to logon screen went from 90 seconds to 45. Has anyone else seen a similiar increase in speed? After reading this article, I ran JK Defrag in safe mode - I'm sure it was much sloooower.

jereyes
jereyes

How about the old defrag in safe mode?

TheOnlyRick
TheOnlyRick

I don't *know* if JK Defrag is actually the best, but it certainly has a small footprint and seems to do a more thorough job than the XP defragger. I like the idea of starting in safe mode. By default I have all the XP 'eye candy' switched off anyway (except drop shadows on desktop and smooth scrolling lists). If I've got the time in future, I would do it in safe mode, though.

stuartc
stuartc

I use CCLean, but before defrag (Smart Defrag), I remove all attributes from the files as well with a bat file attrib -r -a -s -h *.* /s /d This makes sure that defrag can move all the files.

bigjessy
bigjessy

I have installed a 20Gb HDD (as a slave). I then configured the XP swap file on this. I find that it takes half the time to Defrag with this configuration. I also place a copy my latest Ghost backup on this drive. Just for a little insurance. Regards Pat Williams

Neon Samurai
Neon Samurai

Unless your going to go full Diskeeper with it's automated "run when needed" scheduling, I've found jkDefrag does a nice job of organizing stuff. Better than the build in Diskeeper Lite engine that is licensed to Windows. with the command switches available, it can also be tailored a little more. I do like the runonce tip though, I can drop jkDefrag or a few other things in there for new machines being issued to my users.

MechanicalPC
MechanicalPC

If you're just talking disk defragmentation...Auslogistics Disk Defrag or jk defrag... As for "performance increasing"...that's a huge can of worms...most workarounds are temporary or only slightly effective...proper hardware specs is important. Under system properties/performance options...set it to "adjust for best performance"... Keep your user profile small...under 50 megs...(if you can) Don't store junk under My Documents...the more files you have in there the bigger your profile gets. Use something like wise registry cleaner if you do a lot of software install/uninstall. Use a very low overhead anti-virus program.

jerseyjoe
jerseyjoe

I use Norton's Speed Disk also. It does take longer, but I feel it's more thorough than the MS defragger.

bigpygme
bigpygme

glad you said in passing that this is a vista script, or i would've had an interesting time on my XP machine...

tek-dude
tek-dude

Here's the batch file I use - I often schedule it to run monthly. rem Before running this batch file rem for the first time, do the following... rem Start, Run, cleanmgr /sageset:1 rem and select the Disk Cleanup options @ECHO OFF C: cd\ cls cleanmgr /sagerun:1 echo. echo. defrag C: /f

Royc_1
Royc_1

I used Perfect Disk for 7 or so months and it worked fine but I needed something free for my other computers. I tried many and the 1 I started using on the other computers was Smart Defrag and found it did the same job that Perfect Disk did so I have used it for 3 or so months then I put it on all my computers. Over a year later and I have been using it on all but 1 of my computers, that 1 is my slowest and I have been using it to try other freeware and some shareware. I just found a new program called DirMS. DirMS means "Do it right MicroSoft". There are 3 versions available. Dirms-S is the GUI version and runs as a Windows Service. Dirms-cl is the command line version. Buzzsaw is on-the-fly version. I am using Dirms-cl and running it from 'Safe Mode Command prompt". It does NOT give you a pretty map but it does give you a lot of good info while it is running and after it completes the info remains on the screen until you re-boot.

Neon Samurai
Neon Samurai

It can be set as the screen saver then switch over to a screensaver of your choice once it's done.

Neon Samurai
Neon Samurai

My feeling is that it's better to leave the swapfile in place and have it defraged into an appropriate location on the drive. It's going to be there and active and it's going to be a pretty static size once established. I like jkDefrag for doing the general storage organization. It hits locked files it can't defrag but generally works best unless your going to buy the retail Diskeeper version. I like Pagefile Defrag to specifically deal with the swap and hibernate blobs. It can be set to run at every boot or only at the next boot. The first time it'll take a few minutes to defrag your blobs but after that, it should simply confirm that the files are single chunks. Pagefile Defrag does my swap/hibernate. jkDefrag does the rest of the storage. I have used defrag utilities in the past that can defrag swap files without a reboot also. I think diskeeper retail version is one of them but it's killer feature is really the "schedule to run every night if defrag will improve the system". Don't defrag flash storage such as USB drives; they defrag themselves automatically in managing even wear across the storage chips. If you force a defrag utility on them, you'll quickly read the write limitations of the chip and your flashdrive will be dead. SSD internals are the same way. If it's not a platter drive (spinning hard drives including the micro drive in the iPod) and specifically a fragmenting filesystem (ntfs, fat32, fat) then forcing a defrag utility isn't going to help.

drumbeat
drumbeat

I have found that Auslogics Disk Defrag is MUCH faster than Windows Defrag. That, along with their Registry Defrag software (after cleaning the registry with CCleaner) has improved the speed of all my systems.

RB1955
RB1955

on my desktop systems i also install a smallish slave drive... usually an older one that is too small for anything else. i partition the slave drive so a small partition is the swapfile (3x installed ram), and the remainder used for ghost backup-image/s. for notebooks with a single drive i also create a 3x-ram partition and that becomes the swapfile, the next partition is about 1/2 the remainder which also becomes the ghost-image space. can't count the number of times i've saved a weekend by restoring from those ghost images. a long time ago i bought a 10k rpm sata drive. it eventually became too crowded (36Gb) so it became the desktop's slave drive, including a darn fast swapfile partition. one lesson i learned was that splitting the swapfile over 2 not-same speed physical drives caused BSODs w/XP and vista.

dreron
dreron

and you can set it as a screen saver, so it works while the computer is really not in use :)

pespinosa7
pespinosa7

Because my home PC has been running slowly I thought I'd utilize some of the advice here, including your suggestion to use ccleaner before defragging. Long story short, I downloaded ccleaner, ran it, and now my PC has a major problem - won't run any application for more than a few minutes and then they freeze. I don't blame anyone but myself, but because you sound knowledgeable about it and list tech support in your profile, I wonder if I could get any suggestions from you (or anyone else?) about the problem or possibly contact you by e-mail. Another problem, since ccleaner, my PC won't boot in safe mode, just gives me a screen full of white code against black screen. I do have updating firewall and virus protection, of course, but I suppose something could've gotten through. Thanks for any response. Phil in Tucson.

grzollar
grzollar

You can defrag large segments in seconds or at least minutes, the defrag operation can be done so much faster than the MS version.

CharlieSpencer
CharlieSpencer

"Use a very low overhead anti-virus program." Disconnect the system from outside influences then disable AV entirely. Why waste time scanning? If you're truly motivated (or if you don't have enough drive space to even start a defrag run), disable the virtual memory before you start, defrag in Safe Mode, and re-enable virtual memory before you reboot. That way you'll get a large chunk of drive that's usually exempt from the defragging process.

jo.case
jo.case

I use diskeeper set to defrag in the background.I occasionally use its manual defrag feature. It is 10 times faster than the windows tool on my XP machine.

Neon Samurai
Neon Samurai

I'd install that right away if you've a full license; or on the office test machine at list if that's the case. It defrags nice and quick, has a bit better method of optimizing than the unlicenses "lite" version and licenses Windows default. The automatic scheduling to run only when it will improve performance is the killer feature though. Let it take a quick scan between 0200 and 0500 each night then only run a full defrag if needed.

petershum
petershum

Thanks nWitt. I purchased Diskeeper recently but haven't installed it, so I am glad to hear your positive feedback. Thanks again.

nwilt
nwilt

Hi Peter,and others, I have used Diskkeeper for approx. the last 4 years. It is brilliant. Truly a set & forget program, in fact I do sometimes forget I have it installed, & when I check the level of fragmentation on my disks it is always 0% or close to it. I would highly recommend..

petershum
petershum

How about Diskkeeper? I haven't read anything about it on this thread. Does anyone have any experience with it, and how does it compare to Norton and the others?

jlofgren
jlofgren

I used to use Norton's Speed Disk. Loved it. Until I could not longer install it without the rest of the "SystemWorks" trash. But I found a free utility called "defraggler" that I like a great deal, and almost as good as Norton, and FAR better than XP's defrag. For those willing to pay money, I feel that PerfectDisk is as good or better than Norton's.

Mycah Mason
Mycah Mason

It works well for me too. I run them in this order: 1) Ccleaner - remove temp files, remove unneeded programs, clean registry. NOTE: I always place the saved copy of the registry in the C:\program files\ccleaner directory so that I always know where to restore if necessary. 2) AusLogics Registry Defrag (restart required) 3) AusLogics Disk Defrag - just be sure that you switch the option for it to run "Fastest" and restart the program for the setting to take effect. This has worked great for me and seems to be much faster/more effective than Windows defrag. This works for me on Vista and XP machines. I have only had a problem once while running the Registry Defrag. However, this was on a very poor performing/slow machine. I think that the process hung in the middle of defraging the registry then I had to rebuild it.

Neon Samurai
Neon Samurai

Well, that's what the Windows geniouses tell me anyhow. Set your swap on two physically seporate disks leaving Windows to manage the correct size. It will also manage which is used when for best performance. With my *nix installs, swap rarely get's touched so I tend to do a gig just so it has some overflow space to tell me I have a memory management issue. My swap sits at 0% used though. With my Windows installs, I leave it to the system management rather than the old-school ram*3 formula. One system likes to cache into ram, the other likes to make use of it's swap for cache space. I'm no where near half my ram limit and I'm still dumping stuff into the swap file on that second platform; as long as my games run well, nothing else is needed from it.

novice_1
novice_1

Why 3x ram? I use a 1gig partition on a slave and configure swap minimum and maximum for 1 gig so that Windows isn't having to manage swap space.

bigjessy
bigjessy

The swap file drive on my system is a 5400, primary (C:) is a 160 SATA II. I have not had any real problems - HOWEVER I take your point. With SATA II drives now being so cheap I am sure that I could pick up one and use that. I am from a time when a 15Gb Western Digital 5400 cost $415 AUD!

straightlineeng
straightlineeng

I divide big drives into smaller chunks. Windows has its own sand box to play in and use as virtual memory and swap. system and av on one partition. programs on another. data on another. seperate dir for downloads. defrag is quicker without M$ in the way. system crash to full ops, less than 45 min., no data loss.

Neon Samurai
Neon Samurai

If you put your swap partition in the middle of the drive then you may get a performance increase since the head does not need to move from one end to the other when reaching for it. I don't know if it would make a great difference if the other partitions on that drive where rarely accessed but it may be worth looking at. Also, if you have two drives that are the same speed, you can tell windows to create self managed swapfiles on both hard drives and it will automatically use the swap that makes most sense. This may improve performance a little also. For me, I wouldn't ever build a Windows box with less than two storage partitions (1/3 Windows and programs installed, 2/3 data storage, games and portableapps). A reimage is nice but if it comes down to a reinstall, it's invaluable to have that C: you can format and reinstall knowing that your D: has all your install archives and user data waiting untouched. As for portableapps, I've taken to using them where possible; easy install, easy uninstall. When I rebuild a system, I can just copy the apps directory over and continue on with all it's saved data and programs in place. That directory tree is also mirrored to my flashdrive so I have all my programs with me at any Windows machine I sit infront of.

Neon Samurai
Neon Samurai

Been tough Defrag and Norton Speed Disk. Did my time with Diskeeper full. These days, jkDefrag is working for me. - lots of command switches to customize jobs or run from schedualed jobs. - runs as a portableapp so I have it handy on flashdrive for client's machines; install is just a copy away. - seems to do a better and faster job of defrag compared to my other tries - no licencing issues to get hungup over in our hard budget times It's good stuff so far.

Lost Cause?
Lost Cause?

This is one of those programs that will scan your computer then tell you that you HAVE TO BUY the full version to remove anything that the scan found. I'll keep my MalwareBytes and IO Bit 360, thank you very much any ways.

mkinzer
mkinzer

You could have gotten something in your operating system so you could try this. Download Malwarebytes and run a full scan, this is a very good detection software. Then run Combofix, this will pickup anything that could have been overlooked. And for safety sake, see if you can get a copy of SpywareCease or download it and run a full scan. I found out that is software will pickup alot more things that are left overlooked. I run all three even after running a scan of my anti-virus software.

jerry~Beans
jerry~Beans

'xactly-zero is as low as you can go. and it's simple enough that any user with enough smarts to find the power switch can do it, once they are shown how (although i do keep a roll of bright red labeling tape in my kit, so i can mark where the plug goes back in when they are done) and while we are talking about users: the scripts look interesting, and i might play with them for myself, but when i am config new system for normal people, i just use 'Pin To Start Menu' for Disk Cleanup and Disk Defragmenter-good enuff for most folks, and it's presence in the Start Menu means that it might actually get done occasionally.