Hi everybody! I wrote nice script, but I need some help.... Script is working almost well. My question is: Can I minimalize PING time more than this script can? (nowadays is 70-150ms with large load of link) My first problem is - unreal big PING on router, and almost excellent (nowadays is 70-150ms) PING on computers in network. My users don't complain, but I noticed that the pages is becoming load quickly and when it's almost done.. the transfer is going down!! And second symptom is: when I open pages PING grows to 800ms, and quickly go down. It's almost imperceptible, but it happens. What's wrong? All packets is going to correct pipes. What should I do more? I suspect, that time of change of speed (HTB's reaction time) many queues is long. How can I improve this? Script is very nice, but I need some professional help and advices. Everything You can check when script is working: ./htb0.5.3en stat (example: ./htb0.5.3en stat 192.168.0.2) ./htb0.5.3en stat lan ./htb0.5.3en stats My network's statistics: http://stats.opat.hopto.org/ http://stats.zabierzow.net/ I attached my script. IMQ with imq_nat.diff patch is required (or AB option in kernels 2.6), patched iptables(IMQ patch) is required, iproute is required and bc is required. I tested this script on 2.6.9 kernel and iproute from .deb package. And second less important problem... How Can I mark squid's MISS packets? Is Debian's Squid Package patched to change TOS? http://stats.zabierzow.net/squid.php :d Someone will help?