How can i check/inspect the performance of my network game via Wireshark and specifically the Graphs available in Wireshark,i want to test the performance of my network game. which kind of graphs can be helpful and relevant and give me the idea of network performance of my game? i m really newbie to networking so i m unable to decide.
|
Tools like WireShark are excellent (partly because they're free and open source, but also because the functionality they offer is fantastic), but they'll only be useful with regards to knowing what's going on on your network. Some things to keep in mind when developing network communications for your network game:
To test out your networking, set up some separate hosts on your network and start transferring large amounts of data between them to saturate your network (tools like WireShark will be very helpful here because you'll be able to see what's going on with your network during this time), then see how your game performs. What you want to do is to create a scenario where your game will lag, and then you want to see how your game works during these lag times. I'd venture a guess that one very common scenario would be that the players are also running torrent transfers in the background (possibly without even realizing that they are, either because the application minimizes to a System Tray icon {out of sight, out of mind}, or they have SpyWare installed {anyone remember KaZaa?}), so you may want to test your game with these sorts of things running as well to see how your game performs. I recommend you put a lot of careful thought into your protocol. Ask yourself questions like "What commands will the player likely be triggering more often?" The less common commands could be two bytes or longer while the more common ones should be kept to one byte. Another advantage of using byte codes for commands is that fewer CPU cycles are required for command generation and parsing, which means that the rest of the game play gets more processing power to make the overall experience just a little bit better for the players. |
|||||
|

windows resource monitorit give's data filtered by process or connection. the only problem is that it doesn't save the logfiles. – Gajoo Jun 9 '11 at 23:16