Re: providing users with equal bandwidth

2016-02-05 Thread Tarkan Açan
thank you david. i am reading and experimenting around. peter also gave me this very interesting tip about overloading tables and i am researching in my spare time. i will try to create a setup that uses these capability of pf. i also know that pf is very impressive in managing tcp connections,

Re: providing users with equal bandwidth

2016-02-04 Thread Peter N. M. Hansteen
On 02/04/16 15:41, Tarkan Açan wrote: Thank you for your replies. i realised that i did not explain my issue clearly. No worries, I hope you found the replies useful anyway. what i want to achieve is, say we have a parent queue of 10M. when 5 users connect, they should all receive 2M bandwid

Re: providing users with equal bandwidth

2016-02-04 Thread Peter N. M. Hansteen
On 02/04/16 13:37, Marko Cupać wrote: On Thu, 4 Feb 2016 12:45:23 +0100 I guess it should be obvious what I want to achieve: If both hosts request max bandwidth at the same time, throttle them both to 5M. While host2 sits idle, give host1 10M. If host2 requests max bandwidth while host1 downloads

Re: providing users with equal bandwidth

2016-02-04 Thread Tarkan Açan
hi everyone, Thank you for your replies. i realised that i did not explain my issue clearly. what i want to achieve is, say we have a parent queue of 10M. when 5 users connect, they should all receive 2M bandwidth each. when 5 more users connect, i want to bog down their bandwidth to 1M each. w

Re: providing users with equal bandwidth

2016-02-04 Thread Marko Cupać
On Thu, 4 Feb 2016 12:45:23 +0100 "Peter N. M. Hansteen" wrote: > On 02/04/16 12:19, Marko Cupać wrote: > > > If you need something more advanced, like granting minimum bandwidth > > with the ability to borrow from other queues up to maximum bandwidth > > when other queues are empty, I am afraid

Re: providing users with equal bandwidth

2016-02-04 Thread Peter N. M. Hansteen
On 02/04/16 12:19, Marko Cupać wrote: If you need something more advanced, like granting minimum bandwidth with the ability to borrow from other queues up to maximum bandwidth when other queues are empty, I am afraid you won't be able to do it with current queueing system. However, I'm still hop

Re: providing users with equal bandwidth

2016-02-04 Thread Marko Cupać
On Wed, 3 Feb 2016 23:09:39 + Tarkan Açan wrote: > hello misc, > > i am using openbsd 5.8 amd64 on my apu 1d4 with success but i have > one big problem. the queue mechanism in pf allows some traffic > shaping but what i really need is to give users their share of the > bandwidth. for this i n

Re: providing users with equal bandwidth

2016-02-04 Thread Gregory Edigarov
On 04.02.16 01:09, Tarkan Açan wrote: hello misc, i am using openbsd 5.8 amd64 on my apu 1d4 with success but i have one big problem. the queue mechanism in pf allows some traffic shaping but what i really need is to give users their share of the bandwidth. for this i need some connection based

providing users with equal bandwidth

2016-02-03 Thread Tarkan Açan
hello misc, i am using openbsd 5.8 amd64 on my apu 1d4 with success but i have one big problem. the queue mechanism in pf allows some traffic shaping but what i really need is to give users their share of the bandwidth. for this i need some connection based algorithm like sfq (linux) or cbq (mikro