Hi Phill, : CeilDouwnloadDC=120 #max download speed for direct connect Is this a typographical error? "CeilDownloadDC" instead of what you have written? [ snip ] : #11-->Fast-WWW,telnet,ssh,ping,... : tc class add dev $LOCAL parent 1:1 classid 1:11 htb rate 100kbit ceil : ${CeilDownload}kbit prio 1 burst 15k quantum 100 I don't think this is a good idea for a quantum size. I'd suggest a quantum of minimum MTU size. [ snip ] : tc class add dev $LOCAL parent 1:1 classid 1:15 htb rate 2kbit ceil : ${CeilDownloadDC}kbit prio 5 quantum 1 Did you meant to set r2q to 1? A quantum of one penalizes this class severely. [ snip sfqs and fw classifiers/filters ] ( good idea to add the terminal sfq qdiscs ) [ snip many iptables rules ] : ################################################################################ : # Upload part ... : ################################################################################ : : tc qdisc add dev $NET root handle 2: htb default 21 : : tc class add dev $NET parent 2: classid 2:1 htb rate ${CeilUpload}kbit ceil : ${CeilUpload}kbit : : #11-->Fast-everything...Default : tc class add dev $NET parent 2:1 classid 2:11 htb rate 90kbit ceil : ${CeilUpload}kbit prio 7 burst 15k Good! You should get decent interactive performance out of this class! : #12-->Slow-DC,edonkey upload : tc class add dev $NET parent 2:1 classid 2:12 htb rate 6kbit ceil : ${CeilUploadDC}kbit prio 8 burst 5k quantum 1 Again, with a quantum of 1, you several penalize this upload. I would agree that this is a good class to penalize. There is no reason to give away your bandwidth, but this will limit the upload rate to an almost neglible rate. Best of luck, Phill, -Martin -- Martin A. Brown --- SecurePipe, Inc. --- mabrown@xxxxxxxxxxxxxx _______________________________________________ LARTC mailing list / LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/