Frictional Games Forum (read-only)
How to Improve ram usage - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Technical Support (https://www.frictionalgames.com/forum/forum-57.html)
+--- Forum: Technical Support - Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-31.html)
+---- Forum: Linux - ATDD (https://www.frictionalgames.com/forum/forum-32.html)
+---- Thread: How to Improve ram usage (/thread-7126.html)



How to Improve ram usage - Caterpillar - 03-31-2011

I have 16 gb of ram in my system. Does exist a setting that can improve Amnesia ram usage to make shorter levels loading?


RE: How to Improve ram usage - Urkle - 03-31-2011

Are you running the 32bit or 64bit linux binary? What CPU do you have? What graphics card do you have?

Load time is really dependent on disk, CPU, and graphics card speed. The levels themselves are pre-cached so that loading is fairly quick. There is a setting (which should be enabled by default) which forces amnesia to ONLY use the cache files. If, for some reason, that is OFF and your cache files have the wrong timestamp, AND Amnesia can not write to the game directory, then it will be rebuilding levels on every startup which is very slow.

Can you post your main_settings.cfg file that is located in your ~/.frictionalgames/Amnesia/Main ?


RE: How to Improve ram usage - Caterpillar - 03-31-2011

I think I'm running the 64bit, but how can I check if it is 64 or 32?

Phenom II X2 550 BE
GeForce GTX 260 896 MB ram

The game is fast to change levels, but I was wondering about making it really istant


Code:
<Main ShowMenu="true" ExitMenuDirectly="false" SaveConfig="true" DefaultProfileName="dev_user" StartLanguage="italian.lang" UpdateLogActive="false" LoadDebugMenu="false" ScreenShotExt="jpg" ForceCacheLoadingAndSkipSaving="true" ShowPreMenu="true" />
<Graphics TextureQuality="0" TextureFilter="2" TextureAnisotropy="16.000000" Gamma="1.100000" Shadows="1" SSAOActive="true" SSAOSamples="16" ShadowQuality="2" ShadowResolution="2" SSAOResolution="1" ParallaxEnabled="true" WorldReflection="true" EdgeSmooth="true" GBufferType="0" NumOfGBufferTextures="3" OcclusionTestLights="true" Refraction="true" ShadowsActive="true" ParallaxQuality="0" ForceShaderModel3And4Off="false" PostEffectBloom="true" PostEffectImageTrail="true" PostEffectSepia="true" PostEffectRadialBlur="true" PostEffectInsanity="true" />
<Engine LimitFPS="true" SleepWhenOutOfFocus="true" />
<Screen Width="1680" Height="1050" FullScreen="true" Vsync="false" />
<Physics PhysicsAccuracy="2" UpdatesPerSec="60.000000" />
<Sound Device="0" Volume="1.000000" MaxChannels="32" StreamBuffers="4" StreamBufferSize="262144" />
<MapLoad FastPhysicsLoad="false" FastStaticLoad="false" FastEntityLoad="false" />



RE: How to Improve ram usage - jens - 03-31-2011

There is no specific Amnesia settings for such a "tweak". You can create a RAM disk (a portion of your RAM that computer treats as a harddrive) and then install amnesia onto it and run from there I suppose.


RE: How to Improve ram usage - Urkle - 04-01-2011

There's just a LOT of stuff begin loaded, so I don't think an "instant" is feasible. Possibly using a RAM disk *may* help.. (ie. tempfs or something similar)