PtokaX forum

Stuff => Offtopic => Topic started by: kuld33p on 04 March, 2007, 20:09:50

Title: Limiting Bandwidth
Post by: kuld33p on 04 March, 2007, 20:09:50
Hi guys, I am looking for a script or something which can limit the download upload speed limits.
I'll explain you why i need this. actually i have a HUB running on LAN. not much people are in the HUB and i m the only one who is sharing most of the data. so if anyone comes in the HUB and downloads and goes away. so all i want to do is limit the bandwidth so that no can download more than a specified limit. lets say 300kbps.. or so..


Thanks and Regards
Kuldeep
Title: Re: Limiting Bandwidth
Post by: bastya_elvtars on 04 March, 2007, 20:46:31
Hello and welcome to the board.
You cannot limit serverside, the hub cannot interact with running downloads. You have to find another solution, for per-connection limiting there may be tools on the net (although I don't know any). I'll post here if I can find out a soultion.
Moving to Offtopic.
Title: Re: Limiting Bandwidth
Post by: bastya_elvtars on 04 March, 2007, 21:48:45
Do those clients support per-slot (per-peer) limiting?
Title: Re: Limiting Bandwidth
Post by: bastya_elvtars on 04 March, 2007, 22:27:12
Quote from: Mutor on 04 March, 2007, 22:22:35
All peers should then get an equal share of the
global limit. Connection speeds not withstanding.

Well, this is LAN, so we should count with 100Mbit. In this case, one will choke the full bandwidth and the others will get low speeds. Moreover, he does not wanna limit his overall bandwidth, he just wants to give reasonable leech-bandwidth to anyone connecting to him.
Title: Re: Limiting Bandwidth
Post by: bastya_elvtars on 04 March, 2007, 22:38:52
Because this is a LAN, there are no agents that would limit the conection. 100Mbps is 14400kB/s. If one limits the connection to say 500kB/s then the first one to get a slot starts DLing at full speed (LAN hub) - 500kB/s -  and there will be nothing left to others, because the client will not allow for more.
Title: Re: Limiting Bandwidth
Post by: bastya_elvtars on 04 March, 2007, 22:57:43
Well, if it is done that way, then it's a useful feature.
PPK? :)
Title: Re: Limiting Bandwidth
Post by: ncux on 05 March, 2007, 03:34:27
may it be useful for you
http://sourceforge.net/projects/apexdcspeedmod/
modified client with "per user bandwidth" function.
Title: Re: Limiting Bandwidth
Post by: PPK on 05 March, 2007, 15:58:38
It is useful only if you want with bad written upload limiting to kill your hard drives :P Upload limiting in this client don't limiting data sending, but reading data from hard drive -> read file in more fragments -> more work for hard drive -> higher chance of hard drive failure ::)
Title: Re: Limiting Bandwidth
Post by: ncux on 05 March, 2007, 19:54:05
you right. but how user configure machine/client, that it work. Agree? :)
anyway. For this question better  use software like "router/shaper".

i dont learn english. Sorry :)