View Issue Details

IDProjectCategoryView StatusLast Update
0000432Medieval EngineersEnhancementpublic2023-01-26 16:47
Reporterequinox Assigned Toequinox  
PrioritynormalSeverityminorReproducibilityN/A
Status resolvedResolutionfixed 
Target Version0.7.4 (unreleased)Fixed in Version0.7.4 (unreleased) 
Summary0000432: Increase maximum packet size when sending the world to clients
Description

The existing multipart sender used to send the world (planet and voxels) to clients sends one chunk at a time, waiting for the full round trip ack before the next chunk gets sent.
Because the existing chunk size is 64kiB, and considering an effective 200ms rtt (which isn't unreasonable considering simulation time and physical network latency), this comes out to 320kiB/sec (2.5MiB/sec) max.

Steam's maximum chunk size for reliable packets is 1MB, so we should be able to safely increase this chunk size to 512kiB, which should make joining large multiplayer worlds significantly faster. The possible downside is if the host's upload link gets saturated the large block size makes it more likely already joined players will be affected.

TagsNetwork

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2022-12-09 22:38 equinox New Issue
2022-12-09 22:38 equinox Status new => assigned
2022-12-09 22:38 equinox Assigned To => equinox
2022-12-09 22:38 equinox Tag Attached: Network
2022-12-09 22:47 equinox Status assigned => in progress
2023-01-26 16:47 equinox Status in progress => resolved
2023-01-26 16:47 equinox Resolution open => fixed
2023-01-26 16:47 equinox Fixed in Version => 0.7.4 (unreleased)