Jump to content
fred41

using large page memory mapping, for increased performance

Recommended Posts

Since Large Pages helped quite a few to get better performance I wonder if there are any technical reason why BIS can't release same/similar malloc themself?

/KC

Share this post


Link to post
Share on other sites
Since Large Pages helped quite a few to get better performance I wonder if there are any technical reason why BIS can't release same/similar malloc themself?

/KC

The malloc works and large pages are used only the registry tweak doesn't work.

Share this post


Link to post
Share on other sites

Thanks Jimmy! Maybe I run an old version and thats why my performance suffered (or something else happened in 1.38)? Have to check it up when I get back home... IIRC there was a logfile version to verify if LP was used...

/KC

Share this post


Link to post
Share on other sites

malloc still working but this registry tweak no longer working in windows 7..it works fine in windows 8-10

Share this post


Link to post
Share on other sites

Fred41 I hope you still around , your efforts and knowledge is important for a lot of players.

Share this post


Link to post
Share on other sites
Fred41 I hope you still around , your efforts and knowledge is important for a lot of players.

... no panic iam alive and some times around. Still tinkering a bit, as usual, if time is left :)

Share this post


Link to post
Share on other sites

Nice to know Fred.

/KC

Share this post


Link to post
Share on other sites

Excellent so there is still hope for even better performance in the future :)

Share this post


Link to post
Share on other sites
... no panic iam alive and some times around. Still tinkering a bit, as usual, if time is left :)

nice to see you still around

could you please consider to release your latest version of Your memory allocator ?

(the one only handful testers had and you asked to not release it)

and ideally on latest TBB base ...

older one slowly cease to function on various systems (bugs, crashes)

Share this post


Link to post
Share on other sites

... for all GMF fans, here is a little update ...

I'am trying to 'reanimate' this tweak for all 'non-BE' sessions, like SP or LAN-MP.

Since it is an additional patch of arma client nessecary to make this tweak work,

you have to bar in mind:

DON'T use a patched arma client to join a 'battleye enabled' session!!!

Please read the readme in my GMF repository for detailed usage instructions and read it carefully.

If you prefer the manual method, i recommend to work with a copy of 'arma3.exe' to reduce the risk of unintentionally joining a battleye enabled server.

For the less experienced users, there is an updated 'LPManager' available again, to save you some work and stress.

This tweak must now be reapplied with each arma update to work, i am sorry.

Enjoy :)

Share this post


Link to post
Share on other sites

Will give it a try later, thanks for making and sharing!

/KC

Share this post


Link to post
Share on other sites

Some tests with the new LPManager/GMF thingy combined with the tbbmalloc: 8-10fps difference compared to vanilla malloc and no GMF :butbut:

Share this post


Link to post
Share on other sites
Some tests with the new LPManager/GMF thingy combined with the tbbmalloc: 8-10fps difference compared to vanilla malloc and no GMF :butbut:

What the fuck. That's a lot. I've gotta try this.

Share this post


Link to post
Share on other sites

Vanilla vs. tbbmalloc = +2/3 fps with tbbmalloc.

Vanilla + tbbmalloc vs. Vanilla + tbbmalloc + large pages = -20 fps

This time the tweak does not work for me :(

Share this post


Link to post
Share on other sites

I'm not sure I did it the right way but I only gain 1-3 FPS when I run the game through the new 'arma3LP.exe'

Anyway thanks for the effort :)

Edited by Nikiforos

Share this post


Link to post
Share on other sites

Too bad it's not safe to use it in an MP environment.

And yes please Fred, release the ultimate Malloc again :)

Share this post


Link to post
Share on other sites

... thanks for your feedback, guys ...

I think, generally you should get similiar relative improvements like before arma 1.38 (in percent, %).

I got the following result, on windows 7/64bit, using helo's altis benchmark (5 runs each, averaged):

83.3 arma3.exe ...

94.1 arma3LP.exe -malloc=tbbmalloc ...

((94.1/83.3) - 1) * 100% = 12.96% ~ 13%

Considering the fact, that this effect is only caused by large page usage, for most of the data and all main module code, this result is not that bad.

Anyway, i think it is still a lot of effort to set it up correctly and therefore primarily interesting for the performance enthusiast :)

Share this post


Link to post
Share on other sites

Arma3LP doesn't work after latest update to 1.44. I guess they want with purpose to break your balls Fred41 :)

Edited by Nikiforos

Share this post


Link to post
Share on other sites

Screaming out loud -Nooooo! :omg:

Will hopefully be able test tonight...

Share this post


Link to post
Share on other sites
Screaming out loud -Nooooo! :omg:

Will hopefully be able test tonight...

No need to panic, it might be something wrong at my end. I'm using win7 and also had bad luck with many fixes before so no need to panic :)

Share this post


Link to post
Share on other sites

@Nikiforos, just reapply, via LPManager (uncheck and check 'LP ImageFileMapping Client').

If you forgot this step, you are trying to run a 'arma3LP.exe' ver. 1.42, on 1.44 data ;)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×