traffic shaping via qos
Florian Lohoff
flo at rfc822.org
Thu Jan 23 14:59:02 CET 2003
Hi,
hat jemand schon mal mit traffic shaping rumgespielt ? Ich wuerde gerne
RED (Random Early Detection) inklusive ECN (Early Congestion
Notification) einsetzen und auf eine beliebige bandbreite (70-80MBit/s)
shapen.
Leider scheint das ganze nicht so zu funktionieren wie es sollte.
So adde ich das auf das interface:
tc qdisc add dev eth0 parent root red limit 128kb min 8kb max 16kb avpkt 1k burst 8 bandwidth 8kbit probability 0.02
Leider wird nichts gedroppt bzw gemarkt (Hier die version ohne ECN)
dump:~# tc -s -d qdisc
qdisc red 8004: dev eth0 limit 128Kb min 8Kb max 16Kb ewma 1 Plog 19
Scell_log 17
Sent 137371111 bytes 169312 pkts (dropped 0, overlimits 0)
marked 0 early 0 pdrop 0 other 0
Der Download laeuft prima mit 2MBit/s - Kann es sein das das RED im
Linux Kernel wirklich nur auf Physikalische Interfacegeschwindigkeiten
shapen kann ? Shaping mit TBF funktioniert bei mir prima ...
dump:~# tc qdisc add dev eth0 parent root tbf rate 100KBit latency 50ms burst 15000
dump:~# tc -s qdisc show
qdisc tbf 8005: dev eth0 rate 100Kbit burst 14999b lat 61.0ms
Sent 5186696 bytes 7029 pkts (dropped 8, overlimits 1115)
backlog 14Kb 100p
Flo
--
Florian Lohoff flo at rfc822.org +49-5201-669912
Heisenberg may have been here.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lug-owl.de/pipermail/linux/attachments/20030123/483e6d48/attachment.sig>
More information about the Linux
mailing list