If you type "netgraph 1" at the console, it will show a graph of your ping. Black bars mean packet loss. If you're getting a lot of those, you either need to use a different server or a different ISP. Also make sure you aren't using the 'net for other things (streaming, torrents, etc.). Wireless can also be a problem.