[SOLVED] Qos classification

I think you could start by entering your MAC address and setting the classification result at the bottom to high priority.
The problem is that this only prioritizes your traffic IN YOUR ROUTER. Once it leaves the router, no changes.
I am only planning to prioritize traffic in my router.. I entered my mc adress. In traffic class option I can enter values from 1-1024. What should I put in next?
 
Go here and run the speedtest when you're experiencing lag. It will tell you if you have buffer bloat: http://www.dslreports.com/speedtest

If you do, normal QOS won't be that good. I would only use a form of FQ_Codel SQM management to help with your lag. I would get a normal ADSL modem and a router that supports DDWRT with FQ_Codel. Or a ubiquity Edgerouter X and use your router as an access point for wifi.
I am experiencing huge bufferbloat.
 
FQ_Codel and newer algorithms like CAKE, use up alot of processor power to work. They really do help with bufferbloat, but since they require so much processing power. Most consumer grade routers don't have it. The Edgerouter X only has enough processing power to shape up to about 150mbps internet. You need a more powerful router if you have faster internet. Most high end ARM based routers would probably max out at about 400-500mbps.

I gave up using an off the shelf router, even high end routers due to the lack of processing power, and instead built my own router using an old desktop computer and 2 Intel server grade network cards($15 each, used). I loaded it with OpenWRT and because it has a desktop class processor, it can fully shape 1gigabit internet without issue using the advanced CAKE algorithm.