For this I use a program called "iperf" and while it can be a bit daunting at first with a little know-how it's actually pretty easy! Read on to find out how to use it in a variety of situations:
A perfect Gigabit connection
My personal blog for pasting random (mostly technology related) things out of my head on (virtual) paper.