[LARTC] Speed problem discriminating traffic services

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux