All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wang Jian <lark@linux.net.cn>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] ppp+vpn+htb
Date: Wed, 06 Apr 2005 12:28:05 +0000	[thread overview]
Message-ID: <20050406201649.0285.LARK@linux.net.cn> (raw)
In-Reply-To: <000a01c53a31$16b0ef30$0200a8c0@racunar02>

Hi hiphin,


On Wed, 6 Apr 2005 13:39:40 +0200, "hiphin" <hiphin@cat-net.co.yu> wrote:

> Wang, hi, little of thinking and listen what I found logical
> 
> Q1: Is ppp interface, as only one connection on my real eth0 ?
> 
> If answare is YES, then simple SFQ on eth0 is good ?
> ...and main difference SFQ/ESFQ is that SFQ watching connections, and ESFQ watching host IP... 
> 

You didn't tell if you use pptp, but I think you use pptp.

ppp interface in this case is a peusdo network interface, under it there
is IP connection between client and server. So your control the ip
connection's rate, and then you can control the ppp interface.

So if you want fairness amongst these interfaces, you can either enforce
fairness on connection ( 1 client only has 1 ppp connection) or enforce
fairness on host (1 client may have multiple ppp connection but you take
the client as one)


> Q2: I have 2.4.xx, kernel ESFQ is for 2.6 kernel only ?
> 
> 
> I need to limit max bandwidth for all users and fair share, do not need to have guaranteed-minimum
> 
> mathematic is simple: N*user <= 256kbps
> 
> soo if I have one user on vpn, hi gets 256kbps
> if I have 2 users on vpn downloading, both is getting max 128kbps
> and soo on...
> 
> (this is too simple to be ...)


I am not familiar with ESFQ. In my test, SFQ doesn't provide good
fairness. ESFQ should have some improvement, I think.

Any good implemented fair queue can achieve your goal.


-- 
  lark

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

  parent reply	other threads:[~2005-04-06 12:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-05 22:44 [LARTC] ppp+vpn+htb mail.cat-net.co.yu
2005-04-06  4:24 ` Wang Jian
2005-04-06  8:08 ` hiphin
2005-04-06  8:42 ` Wang Jian
2005-04-06  8:55 ` Wang Jian
2005-04-06 11:39 ` hiphin
2005-04-06 12:28 ` Wang Jian [this message]
2005-04-06 13:35 ` Andy Furniss
2005-04-10  9:51 ` Peter Surda

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=20050406201649.0285.LARK@linux.net.cn \
    --to=lark@linux.net.cn \
    --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.