Barotrauma

Barotrauma

View Stats:
We need better CPU usage.
Multithreading pls...
Originally posted by Dynamoon:
Hi! We've seen a few posts suggesting multithreading as a performance fix and have refrained from writing back to avoid sounding nitpicky or besserwissery, when we understand these problems are really frustrating for you. But the next update is getting close and probably will not flat-out eliminate all performance issues, so I thought I'd drop by and write a little bit about this now that it has come up again.

Barotrauma actually already employs multithreading in some places, and adding more might indeed be helpful, but only to a degree. It's not the only or most effective thing we could do to improve performance, because the current problems are probably not greatly affected by whether the game uses a single core or multiple ones. The problems also do not appear to be tied to any single cause, such as a particular hardware make, that would help to pinpoint and address them neatly. Instead, the issues that have cropped up, particularly following the latest update, are most likely the product of a number of smaller, underlying factors, which means we need to identify and optimise them individually.

This is why it seems like a forever-task to get the game running smoothly – that's exactly what it is. We optimise the game continuously with each update, but some updates introduce unexpected setbacks, just like bugs slip into releases, and that's what unfortunately seems to have happened with the previous update.

As I mentioned, the next update is now close – barring any unexpected delays, it will be released next week. It includes some changes which helped performance notably in our internal testing and while testing with our Unstable community tester group. However, since performance can be affected by so many factors, we want to be realistic and not promise that perfomance will improve for everyone by leaps and bounds with the update. Instead, we are hopeful it will be improved in many cases, and more again with later updates.

We're sorry for the bad FPS you've been having, and grateful for your patience and good will! If you run into a perfomance issue post-update that appears to be tied to a specific context, please do drop us a line about that, since it could lead us to a problem that we hadn't noticed before. And hopefully you will run into fewer performance problems after the update altogether.

Thanks for reading :) Wish you all a good Easter, if you celebrate it!
< >
Showing 1-8 of 8 comments
Galaxies Apr 13, 2022 @ 1:35pm 
The devs are working on that, it'll *probably* happen by the time the new update this month comes out.
Eple Apr 13, 2022 @ 1:37pm 
Yea, started to notice the fickle lags on my high end system on the new larger bases we encounter, game desperately needs optimization and multithreaded.
Buggy Boy Apr 13, 2022 @ 2:12pm 
Imagine how well this game would run on even a moderate system that has multiple cores and threads available compared to how it does now on just a single thread, considering most of the game depends on the CPU.
The author of this thread has indicated that this post answers the original topic.
Dynamoon  [developer] Apr 14, 2022 @ 8:56am 
Hi! We've seen a few posts suggesting multithreading as a performance fix and have refrained from writing back to avoid sounding nitpicky or besserwissery, when we understand these problems are really frustrating for you. But the next update is getting close and probably will not flat-out eliminate all performance issues, so I thought I'd drop by and write a little bit about this now that it has come up again.

Barotrauma actually already employs multithreading in some places, and adding more might indeed be helpful, but only to a degree. It's not the only or most effective thing we could do to improve performance, because the current problems are probably not greatly affected by whether the game uses a single core or multiple ones. The problems also do not appear to be tied to any single cause, such as a particular hardware make, that would help to pinpoint and address them neatly. Instead, the issues that have cropped up, particularly following the latest update, are most likely the product of a number of smaller, underlying factors, which means we need to identify and optimise them individually.

This is why it seems like a forever-task to get the game running smoothly – that's exactly what it is. We optimise the game continuously with each update, but some updates introduce unexpected setbacks, just like bugs slip into releases, and that's what unfortunately seems to have happened with the previous update.

As I mentioned, the next update is now close – barring any unexpected delays, it will be released next week. It includes some changes which helped performance notably in our internal testing and while testing with our Unstable community tester group. However, since performance can be affected by so many factors, we want to be realistic and not promise that perfomance will improve for everyone by leaps and bounds with the update. Instead, we are hopeful it will be improved in many cases, and more again with later updates.

We're sorry for the bad FPS you've been having, and grateful for your patience and good will! If you run into a perfomance issue post-update that appears to be tied to a specific context, please do drop us a line about that, since it could lead us to a problem that we hadn't noticed before. And hopefully you will run into fewer performance problems after the update altogether.

Thanks for reading :) Wish you all a good Easter, if you celebrate it!
sintri Apr 14, 2022 @ 9:35am 
Multithreading also isn't a magic bullet, you throw a million bodies into building a building, and now you've still got 999,999 people standing around doing nothing waiting for the designer to finish designing it. Not to mention now you've got people that are just focused on making sure other people are doing their jobs properly.

Point being sometimes it'll help, sometimes it won't, sometimes the overhead'll actually be worse than running on a single or limited threads. For the most part it'll make sense to divide tasks up so one thread doesn't do everything, but sometimes you'll just have bottlenecks where no amount of extra threads are going to help.
RED-Yapper Jan 10, 2024 @ 11:06am 
Originally posted by Dynamoon:
Hi! We've seen a few posts suggesting multithreading as a performance fix and have refrained from writing back to avoid sounding nitpicky or besserwissery, when we understand these problems are really frustrating for you. But the next update is getting close and probably will not flat-out eliminate all performance issues, so I thought I'd drop by and write a little bit about this now that it has come up again.

Barotrauma actually already employs multithreading in some places, and adding more might indeed be helpful, but only to a degree. It's not the only or most effective thing we could do to improve performance, because the current problems are probably not greatly affected by whether the game uses a single core or multiple ones. The problems also do not appear to be tied to any single cause, such as a particular hardware make, that would help to pinpoint and address them neatly. Instead, the issues that have cropped up, particularly following the latest update, are most likely the product of a number of smaller, underlying factors, which means we need to identify and optimise them individually.

This is why it seems like a forever-task to get the game running smoothly – that's exactly what it is. We optimise the game continuously with each update, but some updates introduce unexpected setbacks, just like bugs slip into releases, and that's what unfortunately seems to have happened with the previous update.

As I mentioned, the next update is now close – barring any unexpected delays, it will be released next week. It includes some changes which helped performance notably in our internal testing and while testing with our Unstable community tester group. However, since performance can be affected by so many factors, we want to be realistic and not promise that perfomance will improve for everyone by leaps and bounds with the update. Instead, we are hopeful it will be improved in many cases, and more again with later updates.

We're sorry for the bad FPS you've been having, and grateful for your patience and good will! If you run into a perfomance issue post-update that appears to be tied to a specific context, please do drop us a line about that, since it could lead us to a problem that we hadn't noticed before. And hopefully you will run into fewer performance problems after the update altogether.

Thanks for reading :) Wish you all a good Easter, if you celebrate it!

I think you still need an optimization job. I don’t think it’s normal in Vanilla to get to max 40 fps with an Amd Ryzen 7 5700G 8Core and have a collapse of fps with 10 npc.
the game is top. I wish you the best
Ribbons0121R121 Jan 11, 2024 @ 7:13pm 
Originally posted by BAGNAFREGNE:
Originally posted by Dynamoon:
Hi! We've seen a few posts suggesting multithreading as a performance fix and have refrained from writing back to avoid sounding nitpicky or besserwissery, when we understand these problems are really frustrating for you. But the next update is getting close and probably will not flat-out eliminate all performance issues, so I thought I'd drop by and write a little bit about this now that it has come up again.

Barotrauma actually already employs multithreading in some places, and adding more might indeed be helpful, but only to a degree. It's not the only or most effective thing we could do to improve performance, because the current problems are probably not greatly affected by whether the game uses a single core or multiple ones. The problems also do not appear to be tied to any single cause, such as a particular hardware make, that would help to pinpoint and address them neatly. Instead, the issues that have cropped up, particularly following the latest update, are most likely the product of a number of smaller, underlying factors, which means we need to identify and optimise them individually.

This is why it seems like a forever-task to get the game running smoothly – that's exactly what it is. We optimise the game continuously with each update, but some updates introduce unexpected setbacks, just like bugs slip into releases, and that's what unfortunately seems to have happened with the previous update.

As I mentioned, the next update is now close – barring any unexpected delays, it will be released next week. It includes some changes which helped performance notably in our internal testing and while testing with our Unstable community tester group. However, since performance can be affected by so many factors, we want to be realistic and not promise that perfomance will improve for everyone by leaps and bounds with the update. Instead, we are hopeful it will be improved in many cases, and more again with later updates.

We're sorry for the bad FPS you've been having, and grateful for your patience and good will! If you run into a perfomance issue post-update that appears to be tied to a specific context, please do drop us a line about that, since it could lead us to a problem that we hadn't noticed before. And hopefully you will run into fewer performance problems after the update altogether.

Thanks for reading :) Wish you all a good Easter, if you celebrate it!

I think you still need an optimization job. I don’t think it’s normal in Vanilla to get to max 40 fps with an Amd Ryzen 7 5700G 8Core and have a collapse of fps with 10 npc.
the game is top. I wish you the best


im not a total wizz at it as most of my optimization experience is in java, but i think it may be lack of memory usage. like, ram. i have a comically sized amount of ram and it uses none of it whatsoever and my performance just stays mid, stable but no better.
RED-Yapper Jan 12, 2024 @ 3:38am 
Originally posted by Ribbons0121R121:
Originally posted by BAGNAFREGNE:

I think you still need an optimization job. I don’t think it’s normal in Vanilla to get to max 40 fps with an Amd Ryzen 7 5700G 8Core and have a collapse of fps with 10 npc.
the game is top. I wish you the best


im not a total wizz at it as most of my optimization experience is in java, but i think it may be lack of memory usage. like, ram. i have a comically sized amount of ram and it uses none of it whatsoever and my performance just stays mid, stable but no better.

I think you’re right. I have 32 gb of ram and I think it’s too much for a game like this ahah
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: Apr 13, 2022 @ 11:36am
Posts: 8