All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rene Gallati <lartc@draxinusom.ch>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Sharing/splitting bandwidth on a link while bandwidth
Date: Wed, 05 Jan 2005 12:07:26 +0000	[thread overview]
Message-ID: <41DBD87E.6060807@draxinusom.ch> (raw)
In-Reply-To: <20050105090941.73415.qmail@web51608.mail.yahoo.com>

Hello,

> I want to  share/split bandwidth on a link with unknown bandwidth. I 
> want to exactly
> share/split bandwidth (for example : FTP 30% , HTTP 20% or 30% for 
> a group of PCs and so forth.)
>  
> "Traffic-Control-HOWTO" talk that PRIO scheduler is an ideal match for 
> "Handling a link with a variable (or unknown) bandwidth".
>  
> But PRIO scheduler can not exactly share/split bandwidth .
>  
> Could you tell me if  I can exactly share/split bandwidth on a link with 
> a variable (or unknown) bandwidth?  If it is possible, how can I do that ?

[Warning irony ahead]
I'll give you a complete script if you tell me how many bits/sec exactly 
30% of unknown is.
[/irony]

In other words: You don't know how much there is available, I don't know 
  it, the list doesn't know it and your computer can't know it either. 
So no - that's not possible (and should be evident, hopefully)

What you CAN do is let some ping run alongside and react to changes in 
the latency it sees across the link - then adapt the script and thus 
changing the parameters. This needs lot of experimentation, is a bad 
hack but maybe it is sufficient for what you are trying to achieve.

Otherwise, find a minimum value of bandwidth you never drop below and 
set that as the maximum bandwidth available for your root qdisc. This 
gives you the predictability.

Or : find a better line/ISP. Find and drop abusive users/applications.

But all in all, there's not much you can actually do in your situation.
-- 

C U

      - -- ---- ----- -----/\/  René Gallati  \/\---- ----- --- -- -

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  reply	other threads:[~2005-01-05 12:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-05  9:09 [LARTC] Sharing/splitting bandwidth on a link while bandwidth of the link is variable (or unknown) ? ngo giang
2005-01-05 12:07 ` Rene Gallati [this message]
2005-01-05 16:59 ` [LARTC] Sharing/splitting bandwidth on a link while bandwidth of the link is variable (or unknow Jonathan Day
2005-01-05 18:19 ` Jason Boxman

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=41DBD87E.6060807@draxinusom.ch \
    --to=lartc@draxinusom.ch \
    --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.