Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 2 [3] 4   Go Down

Author Topic: Memory Use Improvement for 64bit systems  (Read 34031 times)

0 Members and 4 Guests are viewing this topic.

Taxman

  • member
  • Offline Offline
  • Posts: 113
Re: Memory Use Improvement for 64bit systems
« Reply #24 on: November 19, 2012, 09:18:02 PM »

Will this work with any il-2 exe?  Right now mine is through the DBW Selector.

Thanks
Logged

Mad026

  • Modder
  • member
  • Offline Offline
  • Posts: 683
  • F.A.C. Tailnumber 26
Re: Memory Use Improvement for 64bit systems
« Reply #25 on: January 07, 2013, 05:39:02 AM »

I am a DBW user and I just try to use this mod, how do I know If it works?
Logged

western0221

  • Modder
  • member
  • Offline Offline
  • Posts: 6790
  • Live in Japan
    • IL-2 itaki blog
Re: Memory Use Improvement for 64bit systems
« Reply #26 on: January 07, 2013, 05:56:38 AM »

I am a DBW user and I just try to use this mod, how do I know If it works?

I think that... SASModAct3(it's contained in DBW1.71) or SASModAct4 's IL2 Selector ver.3 "Expert Mode" enables similar function upto 2048MB mamory use.

In fact , IL-2 1946 and its java.exe are 32bit application.
IL-2 1946's native code *.dll (written in C++) are 32bit , so 32bit java.exe is needed to use those 32bit *.dll.
(64bit java.exe cannot treat 32bit *.dll)
So, IL-2 1946 and its java.exe can use only 2048MB memory even if Windows OS is 64bit and PC carries 4GB~8GB~16GB memories.

I don't know how Daniel Pistelli breaks 2GB=32bit wall...
But I feel 2048MB is enough memory to IL-2 1946.
Logged

Mad026

  • Modder
  • member
  • Offline Offline
  • Posts: 683
  • F.A.C. Tailnumber 26
Re: Memory Use Improvement for 64bit systems
« Reply #27 on: January 07, 2013, 06:07:11 AM »

hm except when you have a thousands of mod  :D
Logged

benitomuso

  • SAS Team
  • member
  • Offline Offline
  • Posts: 2587
  • P.A.L.
Re: Memory Use Improvement for 64bit systems
« Reply #28 on: January 07, 2013, 06:39:51 AM »

I am a DBW user and I just try to use this mod, how do I know If it works?

I think that... SASModAct3(it's contained in DBW1.71) or SASModAct4 's IL2 Selector ver.3 "Expert Mode" enables similar function upto 2048MB mamory use.

In fact , IL-2 1946 and its java.exe are 32bit application.
IL-2 1946's native code *.dll (written in C++) are 32bit , so 32bit java.exe is needed to use those 32bit *.dll.
(64bit java.exe cannot treat 32bit *.dll)
So, IL-2 1946 and its java.exe can use only 2048MB memory even if Windows OS is 64bit and PC carries 4GB~8GB~16GB memories.

I don't know how Daniel Pistelli breaks 2GB=32bit wall...
But I feel 2048MB is enough memory to IL-2 1946.

The Portable Executables (what we know as .exes) in the header have several properties. That is information for the Operating System (Windows). Apart of version, author, loading segment requests, etc., one of those flags literally means "This application knows how to manage adresses over 2Gb". It is important at programming level, specially if you create routines in assembler or work with system resources.

  But theorically, by activating that flag, the il2fb.exe which was created a long time ago will not do anything different. Only more modern wrappers (as the one I created for TotalMODder), made with modern compilers could potentially address memory spaces in a more efficient way. But the execution of the Il-2 game relies in the il2fb.exe, so no real benefit could be achieved that way.

  The most dramatic difference for Il-2 is the Java heap management introduced by Kegetys, improved by Storebror and later adapted by me for TotalMODder too.

  For those who want to learn something else about LAA flag, please read here:

http://simswiki.info/wiki.php?title=Sims_3:Large_Address_Aware

  Regards,
                           Pablo
Logged

agracier

  • Modder
  • member
  • Offline Offline
  • Posts: 3048
    • The Great War in a Different Light
Re: Memory Use Improvement for 64bit systems
« Reply #29 on: January 07, 2013, 08:39:40 AM »

For those who want to learn something else about LAA flag, please read here:
http://simswiki.info/wiki.php?title=Sims_3:Large_Address_Aware

Wasn't the 4gb patch integrated into DBW if I am not mistaken? I know some years back when the link was first posted, using that patch made a big difference in Il-2 performance.
Logged

sphantom

  • retired Fighter Pilot
  • member
  • Offline Offline
  • Posts: 766
  • If you wake up and see grass roots growing
Re: Memory Use Improvement for 64bit systems
« Reply #30 on: January 07, 2013, 08:48:17 AM »

well it does tested it with the monty packs and the difference is quite noticeable. Then installed on the rest of the versions of il2 it does work
Logged

rhinofilms

  • member
  • Offline Offline
  • Posts: 143
Re: Memory Use Improvement for 64bit systems
« Reply #31 on: January 13, 2013, 09:45:21 AM »

For those who want to learn something else about LAA flag, please read here:
http://simswiki.info/wiki.php?title=Sims_3:Large_Address_Aware

Wasn't the 4gb patch integrated into DBW if I am not mistaken? I know some years back when the link was first posted, using that patch made a big difference in Il-2 performance.

I assumed that is was since choosing 4Gb address space is no longer in the DBW selector, but if it was incorporated then why do people see a performance improvement when they mod il2.exe with the 4Gb patch?
Logged

sphantom

  • retired Fighter Pilot
  • member
  • Offline Offline
  • Posts: 766
  • If you wake up and see grass roots growing
Re: Memory Use Improvement for 64bit systems
« Reply #32 on: January 13, 2013, 07:56:03 PM »

good question
Logged

arquillos

  • member
  • Offline Offline
  • Posts: 202
Re: Memory Use Improvement for 64bit systems
« Reply #33 on: January 14, 2013, 04:36:16 AM »

bet for a placebo effect...
Logged

SAS~Storebror

  • Editor
  • member
  • Online Online
  • Posts: 23959
  • Taking a timeout
    • STFU
Re: Memory Use Improvement for 64bit systems
« Reply #34 on: January 14, 2013, 06:58:14 AM »

why do people see a performance improvement when they mod il2.exe with the 4Gb patch?
Pablo provided a pretty comprehensive explanation.
If you need the short version, just listen to arquillos.

Best regards - Mike
Logged
Don't split your mentality without thinking twice.

Typhoon Ib

  • SAS Enfant terrible
  • member
  • Offline Offline
  • Posts: 1632
  • unlock.inc
Re: Memory Use Improvement for 64bit systems
« Reply #35 on: February 03, 2013, 11:39:45 AM »

...zing...  ;D
Logged
Collecting dislikes since December '82.
Pages: 1 2 [3] 4   Go Up
 

Page created in 0.032 seconds with 27 queries.