civilnetworks-projects / SCP_Public_Development

1 stars 2 forks source link

PAC3 networking and optimisations #711

Open McYeke opened 1 month ago

McYeke commented 1 month ago

Enhancement description Review PAC3 codebase with aims to reduce and improve the amount of networking required to prevent netchannel overload, USA has 75% more PACs than the UK server and despite having better hardware is facing significant issues and it is believed to be down to the amount of highly complex and custom PAC3s on the USA server requiring constant networking, making the server laggy.

I am unsure of specific areas to target within PAC3, however this would be for a general review of the PAC3 codebase to improve on any potentially laggy areas with aims to reduce.

Key areas seen in PAC3 on the net_size_logger

[pac_in_editor_posang] [pac_entity_mutator]

outside of this it may be worth looking at possible ways to limit the amount of custom downloaded assets per outfit and animations per outfit, as people have around 10 - 30~ animations per outfit

McYeke commented 1 month ago

Critical rationale - major performance issues on the US server, this being the only known difference between the UK that is likely to contribute to lag issues

mttqr0 commented 3 weeks ago

Soon to test a third party PAC optimisation tool on SCP dev