All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] HFSC default upper-limit trouble
@ 2005-07-06 18:16 Artūras Šlajus
  2005-07-10 19:37 ` Andy Furniss
  0 siblings, 1 reply; 2+ messages in thread
From: Artūras Šlajus @ 2005-07-06 18:16 UTC (permalink / raw)
  To: lartc

Hello,

I'm having such problem with HFSC with following config:
+ tc qdisc del dev eth3 root
+ tc qdisc add dev eth3 root handle 1: hfsc default 2
+ tc class add dev eth3 parent 1: classid 1:1 hfsc ls rate 512kbit ul 
rate 512kbit
+ tc class add dev eth3 parent 1:1 classid 1:2 hfsc ls rate 2kbit ul 
rate 400kbit
+ tc class add dev eth3 parent 1:1 classid 1:3 hfsc ls rate 32kbit ul 
rate 32kbit
+ tc class add dev eth3 parent 1:1 classid 1:4 hfsc ls rate 300kbit ul 
rate 300kbit

Let's say i start to upload thru 1:3. the upper-limit applies, traffic 
doesn't do up more than 4kb/s. The 1:4 is still functional, but 1:2, the 
default class starts backlogging and dropping as hell:
class hfsc 1: root
  Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
  period 0 level 2

class hfsc 1:1 parent 1: ls m1 0bit d 0us m2 512000bit ul m1 0bit d 0us 
m2 512000bit
  Sent 0 bytes 0 pkts (dropped 0, overlimits 0) <-- This is weird too ^_^
  period 2643 work 821712 bytes level 1

class hfsc 1:2 parent 1:1 ls m1 0bit d 0us m2 2000bit ul m1 0bit d 0us 
m2 400000bit
  Sent 477205 bytes 3874 pkts (dropped 0, overlimits 0)
  backlog 201p <-- HUH? (it goes even to 800p..1000p then it starts 
dropping)
  period 2494 work 456595 bytes level 0

class hfsc 1:3 parent 1:1 ls m1 0bit d 0us m2 32000bit ul m1 0bit d 0us 
m2 32000bit
  Sent 350599 bytes 558 pkts (dropped 0, overlimits 0)
  backlog 11p
  period 70 work 342761 bytes level 0

class hfsc 1:4 parent 1:1 ls m1 0bit d 0us m2 300000bit ul m1 0bit d 0us 
m2 300000bit
  Sent 22356 bytes 214 pkts (dropped 0, overlimits 0)
  period 212 work 22356 bytes level 0

The 1:1 shows no packets sent as you see.. Is this desirable behavior?
The default class kinda becomes unusable. Can someone explain me such 
behavior?
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-07-10 19:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-06 18:16 [LARTC] HFSC default upper-limit trouble Artūras Šlajus
2005-07-10 19:37 ` Andy Furniss

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.