Bug#401771: netpanzer: big games are extremely slow
Fabian Fagerholm
fabbe at paniq.net
Tue Dec 5 21:23:36 CET 2006
Package: netpanzer
Version: 0.8-1
Severity: normal
When playing netpanzer with a big map (like the OpenWar map), and 6-10
players, the game slows down to such a crawl that it's no longer
playable at all. Units move one square every few minutes, and sometimes
they don't react to commands for several minutes or they stop responding
altogether.
This is usually accompanied by very high CPU load in both client and
server, and messages like the following in the server:
Network send error when sending to client 52: message sent to
unknown client.
I haven't looked at the code, but it seems to me that this state is a
combination of an algorithm that doesn't scale well, and network code
that doesn't cope with broken or timed-out connections.
Some specs:
Server
- 466 MHz Celeron II
- 386752 kB RAM (~16 MB free while playing)
- 512 kbps internet connection (never saturated during play)
Client
- 1,2 GHz Pentium M
- 1024 MB RAM (~70 MB free while playing)
- 10/1 Mbps internet connection (never saturated during play)
Obviously, I have no idea what kind of specs the other players have.
If more detailed information is needed, please let me know!
--
Fabian Fagerholm <fabbe at paniq.net>
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (575, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-3-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages netpanzer depends on:
ii libc6 2.3.2.ds1-22sarge4 GNU C Library: Shared libraries an
ii libgcc1 1:3.4.3-13sarge1 GCC support library
ii libphysfs-1.0 1.0.0-4 filesystem abstraction library for
ii libsdl-image1 1.2.4-1 image loading library for Simple D
ii libsdl-mixer1 1.2.6-1 mixer library for Simple DirectMed
ii libsdl1.2debi 1.2.7+1.2.8cvs20041007-4.1 Simple DirectMedia Layer
ii libstdc++5 1:3.3.5-13 The GNU Standard C++ Library v3
ii netpanzer-dat 0.8-1 data files for the netPanzer game
-- no debconf information
More information about the Pkg-games-devel
mailing list