#Barotrauma Enhanced Performance Project(Project EP)

1 messages ยท Page 1 of 1 (latest)

slender grove
#

Status:
OBT

Link:
https://steamcommunity.com/sharedfiles/filedetails/?id=3629459376

Brief desc:
This mod heavily modified original Barotrauma/LuaCsForBarotrauma code to improve performance. Multi-thread and multi-core were introduced.
This mod itself provides built-in LuaCs support and a built-in server performance monitor

All works based on
Lua For Barotrauma

Note: due to tech issue we cannot release any client for now but a server executable is available.

How to use:
For regular players:
Subscribe, download and load this mod -> Host server via main menu -> select ServerExecutable -> Barotrauma Enhanced Performance Project - DedicatedServer.exe
For server hosts:
Subscribe, download this mod -> copy-paste everything in ModDir/Binary into your server folder -> remove workshop.txt -> Start Server

What will this mod do:
Improve CPU useage, use more threads and cores. You will expect way less pull-backs and much more smooth game experience.

Note: All tests were conducted in heavy duty servers, using TSM, JiuZhou Arsnal, NT(with many expansions), EW, DDA, EK, etc. All servers shows significant improvements in performance and overall in-game experience

What you may experience:
Improved experience in servers using Project EP executables(in most cases)
Server crashs(very very rare)

If crashed/issues found:
Goto Github(link below), Issues -> New issue
Upload your crash report/what you experienced with a brief desc on what you were doing at the moment of crash/issue happened.

Github:
https://github.com/NotAlwaysTrue/LuaCsForBarotraumaEP

GitHub

Modification for LuaCsForBarotrauma that improves performence. - NotAlwaysTrue/LuaCsForBarotraumaEP

burnt lake
thick storm
slender grove
last burrow
#

So far seems to just make game run worse

Tested with berrila full of items+a bit of spawned bots.

Both when hosted from ingame(character moved away from bots so gpu isnt loaded by them) and as headless it mostly just increases load on my cpy by 30% on all cores

#

Vanilla lua hosted in game

#

With this hosted in game

#

Vanilla lua dedicated

#

With this dedicated

#

Dedicated test was done without anyone on server as i closed client game itself after starting round annd let it settle

#

At least code wise this doesn't appear to be malware

slender grove
#

A high CPU useage is expected

#

bcuz we are using more cores and threads

#

and we are running on servers on PC over 4 cores

#

if you are worring about malware go check github

last burrow
#

Barotrauma was already running on 4 cores as can be seen in screenshots with normal lua executable

last burrow
#

adding this mod just increased cpu usage on all cores while game was still 60 tickrate capped

slender grove
#

if you run only a DS you will see only one core was running

#

What we are doing is completely server-side and for now does not include CL

last burrow
# slender grove Yes, but servers does NOT

Also have a screenshot for that above, yes it was mostly loading one core with some chaff on the rest but adding mod didn't decrease load on that one core just increased load on the rest

thick storm
#

If your server is less than 8 cores, the results may not be ideal

last burrow
#

If you dont have good cpu your performance
would be bad

#

truly optimisation classic

#

i would love to see someone do comparison on a 8 or 16 core cpu

slender grove
last burrow
#

average 60 on both

#

cpu wasn't maxed in any of the tests

slender grove
#

For now we are hard-coded max thread counts, active work is being conducted

#

so low-end stuff may not function as you may expected

#

Cores are automatically assigned so we did not know what exactly what was happening

slender grove
slender grove
#

Clarification:
For now in heavy-load servers that applied this all reported significient improvements in drag-backs.
These servers are using high-end CPUs because these heavy-load servers are expected to face heavy single-core load due to nature of Barotruama DS.
We did not have abaility to run tests on low-end CPUs because we dont have one on standby.
If you are running on a low-end CPU please be advised:
This mod may not perform as the same as our test sapmles.

#

For CPUs that has E/P cores:
We recommend running this on E cores and please try not use P cores
E cores are born for heavy duty but P cores are not.
Combining P and E cores may cause extra performence issue, eg. sudden TPS drop, due to we are using auto core assignment.

The conclusion:
Yes we have seen improvements on high-end CPUs.
No there are not enough evidences that shows there are performence improvement but we can see CPU useage was raising.

last burrow
#

Dont take this personal, optimization mods are just cesspool of malware and ai slop nowadays on workshop so i dig into them to keep people from being exploited thru them

last burrow
#

They are efficient for the manufacturer

#

That does technically mean they use less power indeed

slender grove
thick storm
slender grove
#

SITRIP:
Currently working on CL. Main bottleneck is rendering

last burrow
slender grove
slender grove
#

According to our test, multi-thread did nothing on FPS, still investigating

thick storm
slender grove
#

For now just getting started

last burrow
slender grove
cinder bramble
#

we need request official to get an upgrade of the XNA version to 4.0

amber sierra
#

I can test this on my 9800x3d if needed ๐Ÿ‘

slender grove
slender grove
trail fulcrum
twilit badger
#

how is the progress

slender grove
# twilit badger how is the progress

CL is on its way but we are having difficulties. SV has some issues causing crashes but most of them have been identified and will receive a fix ASAP

serene thorn
#

So for SP this mod makes no difference?

slender grove
trail fulcrum
#

wouldn't SP not require a performance mod since the server is just hosted on your machine thus how fast it (the server) runs depends on how fast your PC is?

slender grove
amber sierra
crystal grove
#

the testing environment was a Windows VM on a PVE platform, where the 12 allocated vCPUs represent 6 physical P-Cores plus their hyper-threaded logical processors.

slender grove
#

We are still investigating an issue causing low CPU useage

slender grove
slender grove
slender grove
#

welp got a typo ๐Ÿ™ will fix

#

Barotrauma Enhanced Performance Project(Project EP)