Manually Throttle the Bandwidth of a Linux Network Interface
https://github.com/urbenlegend/netimpair is a tool which implements the techniques that are described in the article, and more. In particular, jitter (variance) is often forgotten about when testing.