GeneralNMX wrote: >I thought this was the point of tcclasses and marking packets to only use a >portion of the bandwidth? I was hoping Shorewall could help me use all my >bandwidth. Maybe I'm just greedy and want all the theoretically available >bandwidth to myself. Alright I'll dock it 500kbit on both ends like I did >back when I was using Wondershaper (so long, long ago).
But you MUST throttle your traffic to LESS than (or equal to) the upstream bandwidth - even if it's only 1 byte/s slower. And every level of your prioritisation must add up to less than (or equal) the next level up. The reason shaping/prioritation is working is that you don't allow any queue of traffic to build up that you don't control. In your shaper, you control the queues, so you can let a queue build up for (eg) p2p traffic because you control the mechanisms that will take care of sending other stuff out ahead of it. If you send outbound traffic any faster than your uplink speed then queues can build up that you don't control and your latency suffers on high priority traffic. The next thing you need to remember is that your effective link speed may well be very different to the sync speed of your modem/whatever. At work we have the luxury, at a cost I might add, of an uncontended and unlimited service (we do hosting) which measn we know exactly what we can shove up the wire. At home, I'm on an ADSL service where there is no guaranteed speed - the actual throughput will be lower when others are using their connections, so I have to guess at what max speeds (down and up) will mostly avoid me hitting restrictions due to contention in my ISPs backhaul. In practice, I set my up and down speed limits somewhat below the sync speed of the ADSL modem to allow for this contention. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some available as e-books. ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
