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

HFSC, understanding umax,dmax,rate



hi,

im looking at HFSC currently and im not sure if this is right:

acording to: tc-hfsc 8
http://manpages.ubuntu.com/manpages/precise/man8/tc-hfsc.8.html


     SC := [ [ umax BYTE ] dmax SEC ] rate BPS
                  umax : maximum unit of work
                  dmax : maximum delay
                  rate : rate



does this mean that:
umax is the normal packet size, what do i set it to when using teamspeak for example...packet size varies 0-xxx bytes. or should this just be set to ethernet frame size?

dmax - the maximum delay at which it has to be sent.
assuming dmax is 1ms and umax is 1500 does this mean that rate has to be 12000?

Code:
    rate = 8*1500bytes / 1 = 12000kbit


why is rate not optional or is it supposed to be bigger then whats needed to keep up with the delay/packet size?


Reply to: