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 01-14-10, 08:40 PM   #1
irish1958
Ocean Warrior
 
Join Date: Apr 2005
Location: Carmel, Indiana
Posts: 3,248
Downloads: 320
Uploads: 11
Default

Subsim is an amazing forum. In addition to learning about navel warfare and history, you can learn about computers and how they operate.
Correct me if I am wrong, please, as I often am.
If you defrag your game files, doesn't it make little or no difference where they are located on the disc as the read time is much longer for large files that the seek time to locate them?
__________________
Irish1958
irish1958 is offline   Reply With Quote
Old 01-14-10, 09:06 PM   #2
Ships-R-Us
XO
 
Join Date: Nov 2009
Posts: 415
Downloads: 134
Uploads: 0
Default

Quote:
Originally Posted by irish1958 View Post
Subsim is an amazing forum. In addition to learning about navel warfare and history, you can learn about computers and how they operate.
Correct me if I am wrong, please, as I often am.
If you defrag your game files, doesn't it make little or no difference where they are located on the disc as the read time is much longer for large files that the seek time to locate them?
The seek time is nonrelevent. The outside of a disk contains many more sectors of information than the inside sectors. Henceforth in one revolution of the disk much more information is read from the files that were installed first on the disk. The commands from those files will be executed faster as a result. That is why again your OS is the first set of files installed on C drive. Yes, defragging helps to some extent but not much unless severely fragmented. I'm a neat freak and defrag all my drives several times a week.

THINK OF IT THIS WAY: If you play an old phonograph record there are more words to the song contained in the first revolution of the record at the start of the song than there is at the end of the song in the during one revolution of the record.

On any computer the game will load and run faster if the game is installed on its own drive and the first thing installed on that drive. If you do not have a second drive for the game, just edit C drive and move the game to the sectors next to your OS so that it is second in line
Ships-R-Us is offline   Reply With Quote
Old 01-15-10, 09:21 AM   #3
irish1958
Ocean Warrior
 
Join Date: Apr 2005
Location: Carmel, Indiana
Posts: 3,248
Downloads: 320
Uploads: 11
Default

Quote:
Originally Posted by Shipsrus View Post
On any computer the game will load and run faster if the game is installed on its own drive and the first thing installed on that drive. If you do not have a second drive for the game, just edit C drive and move the game to the sectors next to your OS so that it is second in line
Shopsrus, thanks for the info. How does one move the game file (files) next to the OS on the C drive?

KlassenT, thanks for the info.
__________________
Irish1958
irish1958 is offline   Reply With Quote
Old 01-15-10, 09:32 AM   #4
Ships-R-Us
XO
 
Join Date: Nov 2009
Posts: 415
Downloads: 134
Uploads: 0
Default

Quote:
Originally Posted by irish1958 View Post
Shopsrus, thanks for the info. How does one move the game file (files) next to the OS on the C drive?

KlassenT, thanks for the info.
I am leaving for Seattle in 30 minutes for a Dr. Appt. at the VA Hospital. I will answer your question this afternoon upon my return.....Ships...
Ships-R-Us is offline   Reply With Quote
Old 01-14-10, 10:28 PM   #5
KlassenT
Mate
 
Join Date: Jul 2009
Posts: 54
Downloads: 21
Uploads: 0
Default

Quote:
Originally Posted by irish1958 View Post
Subsim is an amazing forum. In addition to learning about navel warfare and history, you can learn about computers and how they operate.
Correct me if I am wrong, please, as I often am.
If you defrag your game files, doesn't it make little or no difference where they are located on the disc as the read time is much longer for large files that the seek time to locate them?
That's true for initial loading times, but the main reason you're encouraged to keep fragmentation low is for caching during run-time. If you've ever played a game or run a very memory-intensive program that tends to 'hiccup' just a bit right before a new model is rendered onscreen, that's usually where the seek time comes into play. Instead of being able to load new resources in one seamless sweep, you get those tiny little stutters from jumping around on the platter hunting for the right files.

So, in this case, you're certainly correct that fragmentation won't play a noticeable role at all during SH4's initial load, but don't take that as an excuse to get lazy with defragmenting.

I think there are few enough models to cache in a naval sim that file fragmentation probably won't play much of a factor in SH4 specifically; but, that said, if you're in something much more fast-paced like an FPS where dozens of models are being pulled in as you progress, and there are too many of them to fully cache during pre-load, you're probably going to start feeling the effects of that seek time more and more.
KlassenT is offline   Reply With Quote
Old 01-15-10, 02:48 PM   #6
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by irish1958 View Post
If you defrag your game files, doesn't it make little or no difference where they are located on the disc as the read time is much longer for large files that the seek time to locate them?
the only thing i would add with what answers you already have gotten is this:

the way to think about defragging is it is just like when you rearrange the files in a file cabinet in alphabetical order so when you search for a file you can find things faster.

files get scrambled out of order sometimes due to how and when they get into your system so every now and then when you defrag your system it looks for those "out of place" files and puts them back into a neat grouping system that allows quick fast location of any file so searches are quicker.

all this doesnt change the total number of files (the size of the filing cabinet) you have to look through but it helps you find files faster.

think of it in terms of having a bunch of file folders spread out onto a table vs having those same file folders neatly arranged in a filing cabinet and that explains why defraging helps to speed up location of files.

there are lots of different opinions on how often you should be defragging but i do it about every 5-6 months or anytime i add, rearrange, or remove a lot of data. to me its like washing your car, you only "need" to do it when it gets dirty but if you just want to do it more often it doesnt hurt anything
  Reply With Quote
Old 01-15-10, 05:09 PM   #7
irish1958
Ocean Warrior
 
Join Date: Apr 2005
Location: Carmel, Indiana
Posts: 3,248
Downloads: 320
Uploads: 11
Default

Quote:
Originally Posted by WEBSTER View Post
to me its like washing your car, you only "need" to do it when it gets dirty but if you just want to do it more often it doesnt hurt anything
mmmmmmmmmmmmmm, I last washed my car four years ago.
__________________
Irish1958
irish1958 is offline   Reply With Quote
Old 01-15-10, 08:34 PM   #8
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by irish1958 View Post
mmmmmmmmmmmmmm, I last washed my car four years ago.

my 1998 truck has only been washed about 5 times but i do drive it in the ran occcassionally
  Reply With Quote
Old 01-15-10, 09:00 PM   #9
G2B
XO
 
Join Date: May 2009
Location: Guam, I think
Posts: 420
Downloads: 80
Uploads: 0
Default

Doesn't Defragging move more commonly used files to the front of the drive for fasting access.

My kids are grown so my truck doesn't get washed anymore
__________________


Last edited by G2B; 01-24-10 at 12:59 AM.
G2B is offline   Reply With Quote
Old 01-24-10, 12:43 AM   #10
jerm138
Watch Officer
 
Join Date: Dec 2009
Posts: 332
Downloads: 35
Uploads: 0
Default

Ok... so I figured I'd test out the platter speed/installation location theory.

I have a 1TB Western Digital Caviar 7200rpm HDD.
My partitions were set up like this:

C: 50 GB - for WinXP
E: 50 GB - Reserved for future use (Win7 or Ubuntu)
G: 450 GB - For files (pictures, video, music, etc.)
H: 450 GB - For programs. This is where I had SH4 installed

If the theory is correct, I had SH4 (and all my other programs) installed in the worst possible place on the platter... furthest from the OS, therefore closer to the middle for worse seek times.

So I moved my Steam installation, along with SH4, to my E: drive to test it out.

Prior to the move, with TMO and RSRDC, it took just under 6 minutes to go from my desktop to being in control of my boat. This was timed immediately after defragging all partitions.

After the move, it's a MUCH more acceptable time: 2 min, 40 sec. This is without any other hardware configuration changes.

SO... theory to practice proved (in this case, anyhow) that having a program installed closer to the OS will result in faster load times.

Of course, this means I have a LOT of work to do to move around my partitions and get everything in an optimal place.

Thanks for the tips everyone. I'll still eventually buy more RAM, but I'm not in any hurry now that my problem has been fixed.
__________________
jerm138 is offline   Reply With Quote
Old 01-24-10, 01:21 AM   #11
Ships-R-Us
XO
 
Join Date: Nov 2009
Posts: 415
Downloads: 134
Uploads: 0
Default

Thanks for those results.....That is the proof I wrote about a few posts earlier... If you come across a spare second hard drive sometime just install the game on it first, make a partition further down in the disk for mods, misc. files etc. I'm pleased you took the time for the testing you did. Your test results will help others a lot.....Ships...
Ships-R-Us 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 05:38 AM.


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