SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > Silent Hunter 4: Wolves of the Pacific
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 08-01-07, 07:50 AM   #1
AVGWarhawk
Lucky Jack
 
AVGWarhawk's Avatar
 
Join Date: Jun 2005
Location: In a 1954 Buick.
Posts: 28,254
Downloads: 90
Uploads: 0


Default Defrag virtual memory

I'm posting this here because most if not all on this forum are full of computer information and such. Furthermore, I can not find a good concise answer on the web. Concerning XP and defragging the NTFS, is defragging the virtual memory a good thing and neccessary? If so, how does one defrag the virtual memory?
__________________
“You're painfully alive in a drugged and dying culture.”
― Richard Yates, Revolutionary Road
AVGWarhawk is offline   Reply With Quote
Old 08-01-07, 08:01 AM   #2
sqk7744
Ace of the Deep
 
Join Date: Apr 2007
Location: ~About 60' below
Posts: 1,150
Downloads: 7
Uploads: 0
Default

Hey AVGWarhawk,

Grab a trial of Diskeeper Pro Premier, a great app:
www.diskeeper.com

1. Defrag all drives
2. Enable and run I-Faast
3. Run the boot-time defragmentation

---
my tune-up list is good to do to:

SH4 PC Tune-up Checklist
For Win XP Clients
Specs Check:
1)START --> MY COMPUTER (right click -PROPERTIES)
2)General Tab à Note CPU Speed and RAM, Service Pack 1 or 2
3)Check Available Hard drive Space

Optimization:

1)START --> MY COMPUTER (right click -PROPERTIES)
2)ADVANCED TAB à Performance – Settings à Visual Effects
a) [x]Adjust for best performance
b) Advanced tab à Processor Scheduling [x]Programs
c) Advanced tab -> Memory Usage [x]Programs


*** CHECK AVAILABLE HARDDRIVE SPACE BEFORE DOING THE FOLLOWING:
d) Advanced tab -> Virtual Memory à Change, [x]custom:
Init/Max =4096 MB -> click SET button
* Note: if you can, 6000/6000 works best for SH4

3)SYSTEM RESTORE- Slows performance but a good thing, -your call.

Change IE 5/6:
1)Tools -> Options à General -> Delete Cookies, Delete Files, Clear History.
2)Tools -> Options à Advanced -> Security, [x]Empty Temp. Internet Files on Exit.
3)Tools -> Options à Advanced-> Security, [x]Don’t save encrypted pages to disk
4)Tools -> Options à Advanced-> Browsing, [x]Uncheck Reuse Windows launching shortcuts

[Clean up]

In Start-up:
1) Remove ALL non-required Applications
- MS Office Toolbar Startup
- AOL, Real Player, Etc.

Msconfig: Startup
1) Realplayer Loader
2) Download Daemon
3) Any Un-Necessary Applications

Anti-Virus:
1) Update Virus files

MS Update:
1) Critical Updates, etc
2) MSOffice Updates

Maintenance:
1)Grab a trial copy of Diskeeper from http://www.diskeeper.com
2)Install and Run Defrag
3)Then set Set-it and Forget-it feature.
__________________
"
All Ships can dive, but only Submarine's surface!"
MODS: KillFlags - Elco PT109 - AOB Attack Course Tutorial

Last edited by sqk7744; 08-01-07 at 08:16 AM.
sqk7744 is offline   Reply With Quote
Old 08-01-07, 08:12 AM   #3
TDK1044
Ocean Warrior
 
Join Date: Mar 2005
Location: Georgia, USA
Posts: 2,674
Downloads: 25
Uploads: 0
Default

There is a command-line tool which is designed to do exactly that: It's called pagedefrag. When you run it, it will force a defrag on your page file the next time your machine is rebooted.

Look here:

http://www.microsoft.com/technet/sys...ageDefrag.mspx
TDK1044 is offline   Reply With Quote
Old 08-01-07, 08:50 AM   #4
Misfit138
Lieutenant
 
Join Date: Apr 2005
Location: Finland
Posts: 267
Downloads: 80
Uploads: 0
Default

Quote:
Originally Posted by TDK1044
There is a command-line tool which is designed to do exactly that: It's called pagedefrag. When you run it, it will force a defrag on your page file the next time your machine is rebooted.

Look here:

http://www.microsoft.com/technet/sys...ageDefrag.mspx
Yeah, everytime I try to run it I get message "Make sure that you are an administrator. Error loading PageDefrag driver."

And yes, I have tried to run it as an administrator but it's a no-go. Not compatible with Windows XP 64-bit edition..? Geez, haven't had that one before

Last edited by Misfit138; 08-01-07 at 09:09 AM.
Misfit138 is offline   Reply With Quote
Old 08-01-07, 08:52 AM   #5
sqk7744
Ace of the Deep
 
Join Date: Apr 2007
Location: ~About 60' below
Posts: 1,150
Downloads: 7
Uploads: 0
Default

Quote:
Originally Posted by Misfit138
Quote:
Originally Posted by TDK1044
There is a command-line tool which is designed to do exactly that: It's called pagedefrag. When you run it, it will force a defrag on your page file the next time your machine is rebooted.

Look here:

http://www.microsoft.com/technet/sys...ageDefrag.mspx
Yeah, everytime I try to run it I get message "Make sure that you are an administrator. Error loading PageDefrag driver."

And yes, I have tried to run it as an administrator no it's a no-go. Not compatible with Windows XP 64-bit edition..? Geez, haven't had that one before
figures...
__________________
"
All Ships can dive, but only Submarine's surface!"
MODS: KillFlags - Elco PT109 - AOB Attack Course Tutorial
sqk7744 is offline   Reply With Quote
Old 08-01-07, 09:00 AM   #6
AVGWarhawk
Lucky Jack
 
AVGWarhawk's Avatar
 
Join Date: Jun 2005
Location: In a 1954 Buick.
Posts: 28,254
Downloads: 90
Uploads: 0


Default

Thanks gents. I will give these a try. Does it really help at all to do this?
__________________
“You're painfully alive in a drugged and dying culture.”
― Richard Yates, Revolutionary Road
AVGWarhawk is offline   Reply With Quote
Old 08-01-07, 09:02 AM   #7
sqk7744
Ace of the Deep
 
Join Date: Apr 2007
Location: ~About 60' below
Posts: 1,150
Downloads: 7
Uploads: 0
Default

Quote:
Originally Posted by AVGWarhawk
Thanks gents. I will give these a try. Does it really help at all to do this?
Yes! but first, at the absolute minimum, change the Virtual memory to 4096 min and 4096 max.
(Diskkeeper is a great Application -I've been using it for 3+ years to aid the tuning of my Flightsim PC)

6000 (6gb) min max if you have the space ( you can also enable this on more than one (internal) drive too.

C:\
D:\ (HD #2 not partition#2)
__________________
"
All Ships can dive, but only Submarine's surface!"
MODS: KillFlags - Elco PT109 - AOB Attack Course Tutorial
sqk7744 is offline   Reply With Quote
Old 08-01-07, 09:04 AM   #8
AVGWarhawk
Lucky Jack
 
AVGWarhawk's Avatar
 
Join Date: Jun 2005
Location: In a 1954 Buick.
Posts: 28,254
Downloads: 90
Uploads: 0


Default

Good deal! Thanks for the responses. I have installed a modded BIOS to do some extra tweaks and such. My computer is flying darn good now. I was wondering about this memory.
__________________
“You're painfully alive in a drugged and dying culture.”
― Richard Yates, Revolutionary Road
AVGWarhawk is offline   Reply With Quote
Old 08-01-07, 09:14 AM   #9
AVGWarhawk
Lucky Jack
 
AVGWarhawk's Avatar
 
Join Date: Jun 2005
Location: In a 1954 Buick.
Posts: 28,254
Downloads: 90
Uploads: 0


Default

I have read that disabling virtual memory, rebooting then defragging with the installed windows program will also defrag the page file. Then enable virtual memory when done, reboot. Is there any truth to this?
__________________
“You're painfully alive in a drugged and dying culture.”
― Richard Yates, Revolutionary Road
AVGWarhawk is offline   Reply With Quote
Old 08-01-07, 09:21 AM   #10
sqk7744
Ace of the Deep
 
Join Date: Apr 2007
Location: ~About 60' below
Posts: 1,150
Downloads: 7
Uploads: 0
Default

Quote:
Originally Posted by AVGWarhawk
I have read that disabling virtual memory, rebooting then defragging with the installed windows program will also defrag the page file. Then enable virtual memory when done, reboot. Is there any truth to this?
I leave that one up to others.

Resetting the VM to max for both keeps it from thinking about it ( only watchout for applications that have a set Scratch Disk like Adobe Premiere or Illustrator etc)

Best bet is to reset VM, reboot, then install the diskkeeper trial.

Do the defrags, and set I-Faast (optimizes frequently used applications) then do a Boot-time defrag: Paging file, Master File Table and CHKDSK util. Viewing the screen/report after defrag is optional, but might be interesting.

Cheers
__________________
"
All Ships can dive, but only Submarine's surface!"
MODS: KillFlags - Elco PT109 - AOB Attack Course Tutorial
sqk7744 is offline   Reply With Quote
Old 08-01-07, 09:36 AM   #11
PepsiCan
Planesman
 
Join Date: Apr 2007
Location: Netherlands
Posts: 189
Downloads: 0
Uploads: 0
Default Yes

Quote:
Originally Posted by AVGWarhawk
I have read that disabling virtual memory, rebooting then defragging with the installed windows program will also defrag the page file. Then enable virtual memory when done, reboot. Is there any truth to this?
Yes.

Virtual memory is nothing more than an area on the harddrive that is reserved to 'park' software or data currently running in RAM that does not need to be used right now but has been used recently or will be used in the near future.

If you set your virtual memory to 0 then there is no page file on the disk. So, it effectively deletes it. But with NTFS formatting you shouldn't have to defrag your disks as often as with FAT anyways. I also suspect that Windows deletes the page file anyways when you shut it down.
__________________
===================
AMD Athlon 64 3200+ 2.1Ghz
1Gb RAM
MSI NVidia 6800 128MB
MSI motherboard
Realtek soundcard
Windows XP Pro SP2
===================
PepsiCan is offline   Reply With Quote
Old 08-01-07, 09:56 AM   #12
AVGWarhawk
Lucky Jack
 
AVGWarhawk's Avatar
 
Join Date: Jun 2005
Location: In a 1954 Buick.
Posts: 28,254
Downloads: 90
Uploads: 0


Default

Quote:
Originally Posted by PepsiCan
Quote:
Originally Posted by AVGWarhawk
I have read that disabling virtual memory, rebooting then defragging with the installed windows program will also defrag the page file. Then enable virtual memory when done, reboot. Is there any truth to this?
Yes.

Virtual memory is nothing more than an area on the harddrive that is reserved to 'park' software or data currently running in RAM that does not need to be used right now but has been used recently or will be used in the near future.

If you set your virtual memory to 0 then there is no page file on the disk. So, it effectively deletes it. But with NTFS formatting you shouldn't have to defrag your disks as often as with FAT anyways. I also suspect that Windows deletes the page file anyways when you shut it down.
These are the things I'm wondering. I have it set up as a NTFS system. I defrag about once every two weeks as my daughters load up Barbie games and things off the internet etc. Sponge Bob games can slow things down At any rate, if I disable VM and defrag, effectively I clean up VM and start fresh?

I have basically the same system as you with exception of 2 gig DD400 and X1300 XGE 512mb vidcard. How does your system handle SH4?
__________________
“You're painfully alive in a drugged and dying culture.”
― Richard Yates, Revolutionary Road
AVGWarhawk is offline   Reply With Quote
Old 08-01-07, 10:14 AM   #13
Canonicus
XO
 
Join Date: Mar 2007
Location: In your baffles...
Posts: 434
Downloads: 624
Uploads: 7
Default

Quote:
Originally Posted by TDK1044
There is a command-line tool which is designed to do exactly that: It's called pagedefrag. When you run it, it will force a defrag on your page file the next time your machine is rebooted.

Look here:

http://www.microsoft.com/technet/sys...ageDefrag.mspx
Thanks for the heads-up on this app,mate...very handy!

It works without a hitch with Vista 32bit ,...BTW.
Canonicus is offline   Reply With Quote
Old 08-01-07, 10:35 AM   #14
Iron Budokan
Sea Lord
 
Join Date: Dec 2006
Location: Texas
Posts: 1,778
Downloads: 32
Uploads: 0
Default

Lol, my little boys play Sponge Bob on the computer, too!
__________________
"You will take on England wherever you find her ships, and you will break her power at sea." --Iron Coffins, Herbert A. Werner

http://kennethmarkhoover.com
Iron Budokan is offline   Reply With Quote
Old 08-01-07, 10:41 AM   #15
AVGWarhawk
Lucky Jack
 
AVGWarhawk's Avatar
 
Join Date: Jun 2005
Location: In a 1954 Buick.
Posts: 28,254
Downloads: 90
Uploads: 0


Default

Quote:
Originally Posted by Iron Budokan
Lol, my little boys play Sponge Bob on the computer, too!
Nothing like a few grand so you kids can play Barbie or Sponge Bob. Heck, I'm the TV Pong generation. No cable TV..did not exist. Three channels only. Cartoons only shown on Saturday morning.
__________________
“You're painfully alive in a drugged and dying culture.”
― Richard Yates, Revolutionary Road
AVGWarhawk is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 10:44 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.