Skip to contentSkip to conversation

Speed problem discriminating traffic services

LARTC Roberto Arcomano 1 participant 1 message Apr 5, 2002

lore
Share & tools
lore
#0 lore raw

Hi all,
I use a very simple script like this:

*******************************************************************
#!/bin/bash

# Qdisc
tc qdisc del dev eth1 root
tc qdisc add dev eth1 root handle 1: prio
tc qdisc add dev eth1 parent 1:1 tbf limit 1600 burst 2600 rate 28800

# Filter
tc filter add dev eth1 parent 1:0 protocol ip prio 1 handle 1 fw classid 1:1

# Rules
ipchains -F
ipchains -A output -p tcp -d lab 20:21 -b -j ACCEPT -m 1
********************************************************************
where lab is an host of mine.

When I upload using ftp, all is ok (28800 bit/s).
When I use interactive services (like "Midnight Commander", Norton Commander" Linux clone) I have speed problem, response time is slow. So I wonder what about other services (like HTTP.....).
What I'm wronging? I need some other class to add?
Thank you very much for your help!
Roberto Arcomano

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/