From owner-freebsd-questions Sun Mar 16 10:38:35 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECA4F37B401 for ; Sun, 16 Mar 2003 10:38:33 -0800 (PST) Received: from pfepc.post.tele.dk (pfepc.post.tele.dk [193.162.153.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id C34B343FB1 for ; Sun, 16 Mar 2003 10:38:32 -0800 (PST) (envelope-from td@projectjj.dk) Received: from duronica (cpe.atm2-0-103264.0xc2c087d6.odnxx5.customer.tele.dk [194.192.135.214]) by pfepc.post.tele.dk (Postfix) with SMTP id 3CDAA262B02 for ; Sun, 16 Mar 2003 19:38:31 +0100 (CET) Message-ID: <037801c2ebeb$38b7d990$0401a8c0@duronica> From: "Tino Didriksen" To: References: <20030316131804.R6564-100000@cornflake.nickelkid.com> Subject: Intelligent Bandwidth Limiter? Date: Sun, 16 Mar 2003 19:38:21 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG (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