All of lore.kernel.org
 help / color / mirror / Atom feed
From: Raj Mathur <raju@linux-delhi.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] [LONG] Weights not working
Date: Sat, 26 Jul 2003 06:21:21 +0000	[thread overview]
Message-ID: <marc-lartc-105919984808018@msgid-missing> (raw)
In-Reply-To: <marc-lartc-105919332505371@msgid-missing>

Hi Rio,

>>>>> "Rio" = Rio Martin <rio@martin.mu> writes:

    >> The Problem
    >> -----------
    >> Throttling is working fine in both directions.  However, when
    >> the link is choked the PCs do not get bandwidth proportional to
    >> their RATEs or CEILs.  So if all the PCs start downloading
    >> simultaneously, each pool gets ~85 Kbps, instead of pools (a)
    >> and (c) getting 64 Kbps each and (b) getting 128 Kbps.

    Rio> It will be getting worse if your hosts start to open Kazaa or
    Rio> Download Accelerator Pro brutally (let say 10 - 20 DAP,
    Rio> Kazaa, FlashGet)

    Rio> As i ve seen in your script, you didnt play the Quantum
    Rio> value.. This is exactly the same just like i did my HTB
    Rio> working for the first time..  Set the Quantum value to suits
    Rio> your bandwidth manager..

Hmm, so if I understand you correctly you're saying that the QUANTUM
in each SFQ should be proportional to the bandwidth allocated to that
pool.  As per the documents I've read, this must also be >= the
maximum packet size.

I /could/ do that but that'd mean that I have to scan all the pools
beforehand and figure out the weights for each pool, since the weights
are relative.  I was hoping that htb.init would do that for me
automatically :)

Another question: wouldn't the QUANTUM only affect the sharing within
a specific pool?  Or would it have an impact at the global level
(inter-pool) bandwidth allocation too?

Regards,

-- Raju
-- 
Raj Mathur                raju@kandalaya.org      http://kandalaya.org/
       GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
                      It is the mind that moves
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  parent reply	other threads:[~2003-07-26  6:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-26  4:32 [LARTC] [LONG] Weights not working Raj Mathur
2003-07-26  4:59 ` Rio Martin.
2003-07-26  6:21 ` Raj Mathur [this message]
2003-07-29  5:22 ` Rio Martin.
2003-07-29  7:42 ` Stef Coene

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-105919984808018@msgid-missing \
    --to=raju@linux-delhi.org \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.