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 5
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 06-24-10, 09:38 AM   #16
Arclight
Navy Seal
 
Join Date: Jun 2008
Location: Land of windmills, tulips, wooden shoes and cheese. Lots of cheese.
Posts: 8,467
Downloads: 53
Uploads: 10
Default

Just start "Run..." ("Windows key + R" shortcut) and type "cmd", enter.

Gets you a command prompt, where you type: "bcdedit /set IncreaseUserVa 3072", enter.

Done.


Do this on your own risk though; I still can't say I aprove of messing with the OS in this way.
__________________

Contritium praecedit superbia.
Arclight is offline   Reply With Quote
Old 06-24-10, 10:04 AM   #17
The General
The Old Man
 
Join Date: Aug 2006
Location: Mountain Ash, Wales, U.K.
Posts: 1,548
Downloads: 179
Uploads: 3
Default

Is there a way to reverse this, should I experience any problems?
__________________
***THE GENERAL***
The General is offline   Reply With Quote
Old 06-24-10, 10:16 AM   #18
Arclight
Navy Seal
 
Join Date: Jun 2008
Location: Land of windmills, tulips, wooden shoes and cheese. Lots of cheese.
Posts: 8,467
Downloads: 53
Uploads: 10
Default

I think the default setting is 2048, so try using that instead of 3072.

All it does is set the amount of memory for the user-space, if I understand it correctly. Normally the max of 4GB adressable is split 50-50, but with the command you set 3GB for user, leaving 1GB system/kernel.
__________________

Contritium praecedit superbia.
Arclight is offline   Reply With Quote
Old 06-24-10, 11:37 AM   #19
The General
The Old Man
 
Join Date: Aug 2006
Location: Mountain Ash, Wales, U.K.
Posts: 1,548
Downloads: 179
Uploads: 3
Default

I only have 2 Gig of DDR2 Ram on-board, so this isn't worth me doing is it?
__________________
***THE GENERAL***
The General is offline   Reply With Quote
Old 06-24-10, 12:05 PM   #20
Arclight
Navy Seal
 
Join Date: Jun 2008
Location: Land of windmills, tulips, wooden shoes and cheese. Lots of cheese.
Posts: 8,467
Downloads: 53
Uploads: 10
Default

Don't think so, but then. I don't think it's worth it in the first place.

Probably more to gain by installing more RAM, don't think this would result in any improvement at the moment.
__________________

Contritium praecedit superbia.
Arclight is offline   Reply With Quote
Old 06-24-10, 05:41 PM   #21
The General
The Old Man
 
Join Date: Aug 2006
Location: Mountain Ash, Wales, U.K.
Posts: 1,548
Downloads: 179
Uploads: 3
Default

Because SH5 is unfinished and hasn't gone through a lengthy development process where the programme is streamlined and optimized, it is very demanding upon the system's resources. The only answer is to get a machine that is way more powerful than should be necessary.
__________________
***THE GENERAL***
The General is offline   Reply With Quote
Old 06-24-10, 10:19 PM   #22
Reece
CINC Pacific Fleet
 
Reece's Avatar
 
Join Date: Sep 2003
Location: Down Under
Posts: 34,695
Downloads: 171
Uploads: 0
Default

What's annoying is that if I edit the boot.ini file just to have the " /3GB" switch added leaving the " UserVa= xxxx" out, most of my games play with stutter or lockup and my TV card just shows a black screen, take the switch out and all goes well, placing the switch to include the " UserVa=xxxx" (doesn't matter what xxxx value is) still has exactly the same problem!
__________________

Sub captains go down with their ship!
Reece is offline   Reply With Quote
Old 06-25-10, 02:27 AM   #23
Pintea
Sparky
 
Join Date: Jan 2010
Posts: 152
Downloads: 6
Uploads: 0
Default

First of all, the patch "readme" is wrong.
The 3GB switch won't do anything performance-wise. It will just avoid errors and crashes when SH5 runs out of "memory" (addressing space actually).
And it will only matter for 32 bit systems.

Even though you only have 2GB RAM, the 3GB switch refers to _virtual memory_, not physical memory. So you can enable the 3GB switch even with 1 GB of RAM, it will help.

If you have windows vista/7, the more video RAM you have, the more your harbors will disappear ! (as paradoxical as it can be....)
That's because the video card memory uses the same 2GB of virtual memory as the game uses, so you will have less memory for the game.

As a conclusion, this will only avoid errors/crashes, and only works on 32bit systems (with more positive impact for vista/win7 uses).
Pintea is offline   Reply With Quote
Old 06-25-10, 02:36 AM   #24
Arclight
Navy Seal
 
Join Date: Jun 2008
Location: Land of windmills, tulips, wooden shoes and cheese. Lots of cheese.
Posts: 8,467
Downloads: 53
Uploads: 10
Default

Quote:
Originally Posted by Reece View Post
What's annoying is that if I edit the boot.ini file just to have the " /3GB" switch added leaving the " UserVa= xxxx" out, most of my games play with stutter or lockup and my TV card just shows a black screen, take the switch out and all goes well, placing the switch to include the " UserVa=xxxx" (doesn't matter what xxxx value is) still has exactly the same problem!
Then leave it alone.


Seriously, not much to be gained here anyway. More something for servers so they can use larger caches.

You know that rattle from the HD when it needs to load something and it results in a stutter in the game, since harddrives aren't that fast? It helps to deal with that. Normally it loads things into (V)RAM during those loading screens, and works from that during play. If you run out of memory though, it will need to move unused stuff from RAM to the pagefile (virtual memory; just HD space and thus far slower than RAM), or swap some stuff between it and RAM.

*at least as far as I can figure it. Pintea has a point about the virtual memory. Think we agree it won't improve performance though.
__________________

Contritium praecedit superbia.
Arclight is offline   Reply With Quote
Old 06-25-10, 04:03 AM   #25
The General
The Old Man
 
Join Date: Aug 2006
Location: Mountain Ash, Wales, U.K.
Posts: 1,548
Downloads: 179
Uploads: 3
Default

Quote:
Originally Posted by Pintea View Post
First of all, the patch "readme" is wrong.
The 3GB switch won't do anything performance-wise. It will just avoid errors and crashes when SH5 runs out of "memory" (addressing space actually).
And it will only matter for 32 bit systems.

Even though you only have 2GB RAM, the 3GB switch refers to _virtual memory_, not physical memory. So you can enable the 3GB switch even with 1 GB of RAM, it will help.

If you have windows vista/7, the more video RAM you have, the more your harbors will disappear ! (as paradoxical as it can be....)
That's because the video card memory uses the same 2GB of virtual memory as the game uses, so you will have less memory for the game.

As a conclusion, this will only avoid errors/crashes, and only works on 32bit systems (with more positive impact for vista/win7 uses).
Thanks again Pintea, you the man!

Now, any idea on how to get Mines and Subnets into the game?
__________________
***THE GENERAL***
The General is offline   Reply With Quote
Old 09-12-16, 08:26 AM   #26
troopie
Captain
 
Join Date: Oct 2010
Location: Oz
Posts: 507
Downloads: 33
Uploads: 0
Default help

Quote:
Originally Posted by Arclight View Post
Just start "Run..." ("Windows key + R" shortcut) and type "cmd", enter.

Gets you a command prompt, where you type: "bcdedit /set IncreaseUserVa 3072", enter.

Done.


Do this on your own risk though; I still can't say I aprove of messing with the OS in this way.

G'day all.

I did this back in the day; it was the only way I could get SH5 to run on my rig. Now I want to undo it! Despite the conjecture I can safely say it was an effective fix. The effect was immediate and effective. Without it I could launch the game but the GUI 'buttons' appeared as white boxes.

I was/am using Vista 32 bit.

My rig is since upgraded (same OS) and I think the 'switch' is causing probs for my OS.

Does anyone now how to properly undo this?

@Arclight gives this post as an undo:

Quote:
I think the default setting is 2048, so try using that instead of 3072.

All it does is set the amount of memory for the user-space, if I understand it correctly. Normally the max of 4GB adressable is split 50-50, but with the command you set 3GB for user, leaving 1GB system/kernel.
Can I just bang this number in or is there an 'open default' that has been undone by specifying a value; such as when giving core numbers to 'boot'? (i.e. no value selected means max?)

And does 'increase' still work as a command?
__________________
Serial pest

Last edited by troopie; 09-12-16 at 08:46 AM. Reason: typo
troopie is offline   Reply With Quote
Old 09-12-16, 06:39 PM   #27
troopie
Captain
 
Join Date: Oct 2010
Location: Oz
Posts: 507
Downloads: 33
Uploads: 0
Default sorted

Found it here:

http://www.subsim.com/radioroom/show...&postcount=316
__________________
Serial pest
troopie is offline   Reply With Quote
Reply


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 06:52 AM.


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.