I have a TD-W8970 router flashed it with LEDE several months ago installed the SQM package. Using cake as the discipline and layer of cake as the setup script. It really is a god send. Before, when several people were watching youtube/netflix at the same my ping used to deviate like crazy but since flashing LEDE and setting up SQM i've had no problems whatsoever.
Depending on what router you have (if it is supported at all) the setup can be slightly more complicated than your average consumer router. I actually had to buy a special USB to Serial converter to initially flash the router.
If you have problems with ping deviation when your internet connection is under heavy load, this is something I'd highly recommend.