Re: [LARTC] hfsc scheduler

2004-11-01 Thread syrius . ml

I'm using HFSC. But I haven't had time to really understand how to
correctly define curves. So i'm using it the linear way.
I'm just using a rt service curve for my interactive class. (but the
root class is a linear one)

for sure a simple example for a real case could help.
hmm in my case on my 2028/256kbits adsl line: my classes are roughly
defined like this:
  root 
 /  \
interactive bulk_parent
/\
  normal boring_bulk_parent
  /  \
  syn+small_acksreal_boring_bulk
/ |   \
   host1 host2host3

(ul rates are near 240kbits, it's a bit less for "boring" classes)

My interactive class is defined like this:
... ls umax ${MTU}b dmax 25ms rate ${MAX}kbit \
rt umax ${MTU}b dmax 25ms rate ${MAX}kbit

25ms, it's a bit less than the latency i have when my link isn't used.

i guess my setup is not really coherent. bulk_parent shouldn't be a
linear service class. And if that's true, all its leaf classes
shouldn't be linear services ones.

another thing, (an example is better than a long long phrase:)
using the same class tree with htb:
 host[1-3] upload at 25kB/s, if I start a ftp upload (normal bulk
 class), it takes precedence, host[1-3] are slowed and the ftp upload
 gets(sends at) more than 25kB/s
I'd like to use HFSC and always have that behavior.

I'm pretty sure a howto-use-hfsc-in-real-context+faq could help. :)
unfortunatly I'm afraid not a lot of people can write it :)
i've read the theory docs, english isn't not my monther tongue language
and for me there's a huge gap between hfsc theory and hfsc in a real
situation.

Anyway, many thanks to Patrick for his work and the documentation he
wrote.

at the moment, for my usage, i prefer to use HFSC rather than HTB.


-- 
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


Re: [LARTC] patch: HTB update for ADSL users

2004-06-19 Thread syrius . ml
Ed Wildgoose <[EMAIL PROTECTED]> writes:

> I would be interested to hear if anyone has a CBQ based setup and can
> tell me if that patch works for them?  Or even whether it works on the
> incoming policer properly?

Would that work with HFSC ?
what about PPPoE ? i didn't really understand what I have to change if
I'm using PPPoE and MTU=1492.

TIA

-- 
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


Re: [LARTC] HTB MPU

2004-05-21 Thread syrius . ml

[...]
> I've just noticed that there is a patch on devik's site which does mpu
> and overhead.
> For dsl users mpu is, for practical purposes going to be 106 -
> overhead is still variable though, depending on packet size.
> Having these should let you push upstream bandwidth rates a bit closer
> to the limit.

Hmm now I'm trying to use HFSC, I'd love to see a similar feature with
HFSC :)

-- 
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


Re: [LARTC] CLASSIFY target documentation

2004-04-19 Thread syrius . ml
Myrddin Emrys <[EMAIL PROTECTED]> writes:

[...]
> I need to classify packets into PRIO queues based on iptables rules. I
> am currently setting MARKs during classification. Unfortunately, if I
> understand correctly u32 cannot see marks because they're not in the
> packet, so my next obvious solution is to skip MARKing them and just
> CLASSIFY them...
[...]

the only documentation i know about classify is provided by
patch-o-matic.
You may prefer to use "handle $mark fw" as a filter to match netfilter
marks.
Or depending on your needs, you may only want to use u32 without
netfilter marks.
As you probably know there's a howto on http://lartc.org

-- 
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


Re: [LARTC] Re: HFSC

2004-03-01 Thread syrius . ml

Thanks for your answers Patrick.
now I'm able to start testing :)
btw, i would appreciate if you could send me the documentation u
started.
Thanks in advance.

-- 
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


Re: [LARTC] HFSC

2004-02-27 Thread syrius . ml
[EMAIL PROTECTED] writes:

> where can i find more informations and examples about the *linux* HFSC
> ?
> http://trash.net/~kaber/hfsc/ does not help here

the patch http://trash.net/~kaber/hfsc/ provides compiles correctly
when applied on
ftp://ftp.inr.ac.ru/ip-routing/iproute2-2.4.7-now-ss020116-try.tar.gz
but not on ss010824.

# tc qdisc add dev eth0 root hfsc help
Usage: ... hfsc [ default CLASSID ]

# tc qdisc add dev eth0 root hfsc default 1:10
HFSC: Illegal "default"

(same results without the "root" option)


without talking about the wireless features, what's the difference
between http://trash.net/~kaber/hfsc and http://wsched.sf.net hfsc ?

what are rt, ls and ul service curves ?

-- 
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


[LARTC] HFSC

2004-02-25 Thread syrius . ml

hmm
HFSC ?
where can i find more informations and examples about the *linux* HFSC
?
http://trash.net/~kaber/hfsc/ does not help here

-- 
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/