Opened 8 years ago

Last modified 8 years ago

#3890 new enhancement

Multiplayer performance warnings

Reported by: elexis Owned by: echotangoecho
Priority: Should Have Milestone: Backlog
Component: Network Keywords:
Cc: Patch:

Description

Idea: Players should optionally receive a notification if some player(s) need more than turn-length (500ms) time to compute the most recent turn (CPU-bottleneck detection).

The use case of this feature would be to find out if some particular client is much slower than others (or even paused the game without informing others), so the host might decide to kick.

Implementation: The turnmanager of the server will be able to measure the time the clients need and broadcast a message if it's more than the turnlength.

It should be shown in the topright corner, similar to bad ping and network timeouts (#3264): http://trac.wildfiregames.com/raw-attachment/ticket/3264/video_ping.gif

It should be disabled by default, since it will permanently show a warning for every client if there are too many trees or hundreds of units in a close area for example. The network-warning option should become a dropdownbox with 3 choices (no warnings, network only, network and performance).

Notice pausing would trigger the same warning, as the client doesn't progress the simulation. So the server has to know which client paused deliberately, which will be achieved in #1950.

Change History (2)

comment:1 by echotangoecho, 8 years ago

Owner: set to echotangoecho

comment:2 by elexis, 8 years ago

Component: Core engineNetwork

(changed component to network)

Note: See TracTickets for help on using tickets.