xNul / palworld-host-save-fix

Fixes the bug which forces a player to create a new character when they already have a save. Useful for migrating maps from co-op to dedicated servers and from one dedicated server to another.
MIT License
886 stars 65 forks source link

Poor framerate after migrating #140

Closed GLD-OW closed 4 months ago

GLD-OW commented 5 months ago

When attempting to migrate from a dedicated server to a singleplayer server, my client-side framerate average gets cut to the mid 35s, instead of the locked 144 it usually is. Coincidentally, the serverside-framerate that the servers runs at on the dedicated server is nearly identical to the client-side framerate I get in singleplayer. I'm aware that the program only officially supports one way migration, but I find this issue pretty interesting.

Shanesan commented 5 months ago

You're gonna wanna....add some more details there bro. Like what you did, what your server was before the transfer, what "144fps" means in this case, if it happens to others on your server, etc.

vealmichael commented 5 months ago

Not sure if this is related, but do you guys have a bunch of PIDs being used by Palworld as well?

Screenshot 2024-02-04 153724

With just 3 people on the server, my Memory runs from 3gbs and climbs until all memory is consumed and the server crashes.

thoughts? fixes?

Shanesan commented 5 months ago

Not sure if this is related, but do you guys have a bunch of PIDs being used by Palworld as well? With just 3 people on the server, my Memory runs from 3gbs and climbs until all memory is consumed and the server crashes.

thoughts? fixes?

Yes, that's by design. The growing memory requirements are not by design (I am currently over 24 GB) but I assume there is a memory leak or they're not recalling memory properly.

As far as the cores maxing out (I see your core 1 is almost maxxed there), this is unfortunately normal until they multithread certain things, like worker pals, better.

xNul commented 4 months ago

There's no reason why this fix should be affecting the performance of your server so unless there's some better evidence, I'm going to close this issue.