From owner-freebsd-questions@FreeBSD.ORG Sun Jun 15 14:49:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBF91106564A for ; Sun, 15 Jun 2008 14:49:09 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id B70D88FC15 for ; Sun, 15 Jun 2008 14:49:08 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m5FElT36055904; Sun, 15 Jun 2008 16:47:29 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m5FElTPJ055901; Sun, 15 Jun 2008 16:47:29 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 15 Jun 2008 16:47:29 +0200 (CEST) From: Wojciech Puchar To: Ian Smith In-Reply-To: Message-ID: <20080615164551.D55900@wojtek.tensor.gdynia.pl> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: sendmail's outgoing IPs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jun 2008 14:49:09 -0000 > > something like "T1" here costs far too much to dedicate it just for mails. > > > > for the same price i can get four "4Mbit/s" ADSL's (which i have now), > > that actually gives 4Mbit/s download speed, but only 512kbps upload. > > Lucky you. We have a 1500/256kbps link for up to 20 boxes, though > there's talk of upgrading to (nominally) 8M/384kbps. i have 300 users. and all works quite fast :) > > if you substract ACK's needed for 4Mbit/s download, little is left. > > Slight exaggeration, though TCP downloads do need say 5-10% of download count 10 as HTTP requests can be large. that's 400kbit/s from 512 available! > bandwidth upstream. Sure, as soon as you use all upload bandwidth (your > mail example, torrents of course, youtube uploads etc) your download ipfw rules make sure upload bandwidth isn't saturated. it's just a problem that few is left for something else > > is a problem now. > > Why not add dummynet pipes and suitable rules to limit the outbound > bandwidth for mail (or torrents, whatever's a problem) to a maximum of > say 80% of upload, so for 512k set upload limit to maybe 400k, leaving i am already doing this.