Date: Sun, 16 Mar 2003 15:40:48 -0500 From: Brian McCann <bjm1287@ritvax.isc.rit.edu> To: 'Tino Didriksen' <td@projectjj.dk>, questions@freebsd.org Subject: RE: Intelligent Bandwidth Limiter? Message-ID: <000301c2ebfc$53c09090$2f811581@garfield> In-Reply-To: <037801c2ebeb$38b7d990$0401a8c0@duronica>
next in thread | previous in thread | raw e-mail | index | archive | help
I may be off, but look into dummynet. One of my friends told me that he is playing with it to do something similar. However, the bandwidth limit would probably be constant unless you wrote some fairly creative scripts :) . Hope I helped, --Brian -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of Tino Didriksen Sent: Sunday, March 16, 2003 1:38 PM To: questions@freebsd.org Subject: Intelligent Bandwidth Limiter? (trying this again, since it didn't appear last time I sent it...) I have a dedicated server with 500GB monthly transfer limit, and I don't want to cross that limit. So, I want to impose an artificial maximum bandwidth, yet not until a certain threshold has been reached. Example: I have 500GB total max monthly transfer. I want a 400GB threshold before the limiter kicks in, which will impose a byte/second limit for the remaining 100GB, so that it never goes over 500GB for the month. But, from when the limiter has started till the end of the month, it should recalculate remaining GB every half hour and adjust the byte/second limit accordingly, since peak/idle hours are so varied. Reasoning: I don't want a simple flat byte/second limit for the whole 500GB/month, since that would be 202 kilobyte/second ((500*1024*1024*1024) / (60*60*24*30)), but peak and idle varies more than that. Realisticly, I doubt I'll even pass 100GB/month, but better safe than sorry... Anyways, this should be on an interface level (as in running on the same computer), not an external proxy. -- Tino Didriksen / Project JJ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000301c2ebfc$53c09090$2f811581>