Guide for basic (Unfair) shaping?
Long time lurker, first time poster!
I've been playing with various queue types, following various guides, but I haven't found the right combination that lets me do what I want, which I think boils down to this:
= If there's high priority traffic like VOIP or RDP happening, reserve some bandwidth for it
= Everything else can go as fast as it possibly can, all the time, unless the above condition is met
I have a cable modem which does 100Mbit down, 2Mbit up, hooked up to a 1000Mb wired + 300Mb wireless LAN (pfSense is the gateway) so I'm really interested in carving out the 2Mbit upstream bandwidth when necessary, but not all the time.
Is there a simple guide for something like this?
Most of the things I've tried have resulted in some percentage of download slowness all the time, which I think means there's "fairness" at play; I'm trying to avoid the fair part and just let everything fight it out, except when the important bits happen :)
Any pointers or help would be appreciated. Thanks!
Practically any traffic-shaping tutorial should be able to teach you how to achieve your goal.
CBQ, HFSC, and FAIRQ all are capable of "link-sharing" or "bandwidth borrowing", meaning that when there's unused bandwidth it can be used by anything.
I think you primary problem is that you don't understand how download & upload traffic-shaping are different. Read this: http://www.linksysinfo.org/index.php?threads/qos-tutorial.68795/
Also, TCP ACK packets need to be guaranteed the minimum bit-rate required achieve maximum download speed. To estimate this bitrate you could initiate a max-speed download and see what your ACK queue's bitrate is.
Actually, the following observation might be your biggest problem…
You also seem to have a very strange problem that may be unfixable… I calculated that I needed transmit ~300kbit of ACKs to achieve a 12Mbit download and for you to achieve 100mbit download you would need 2500kbit of ACK packets, which is more than your upload is capable of. This means that while you are downloading, you probably will not even have any upload bandwidth free for any other vital services… that is not good at all.
Edit: To clarify, with your current 100Mbit/2Mbit connection, it's likely that even with an optimal traffic-shaping setup that your download will suffer when prioritized traffic (VOIP, RDP, etc) is being transmitted since it will decrease your already borderline ACK bitrate.