From owner-freebsd-questions Thu Mar 21 13:58:13 2002 Delivered-To: freebsd-questions@freebsd.org Received: from 0lsen.net (12-224-41-96.client.attbi.com [12.224.41.96]) by hub.freebsd.org (Postfix) with ESMTP id 1BB6737B41A for ; Thu, 21 Mar 2002 13:58:09 -0800 (PST) Received: by 0lsen.net (Postfix, from userid 1001) id 73893BCE; Thu, 21 Mar 2002 13:58:08 -0800 (PST) Date: Thu, 21 Mar 2002 13:58:08 -0800 From: Clint Olsen To: freebsd-questions@freebsd.org Subject: Throttling ethernet throughput Message-ID: <20020321215808.GA28484@0lsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.27i Organization: NULlsen Network X-Disclaimer: Mutt Bites! 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 I sent this out on the postfix-users list, and they suggested the *only* way to handle this at the operating systems level. I can see their point. I'm on a cable modem service which has 1.5M download and strangled 128K upload. When I send a a fairly large attachment to a lot of recipients, my MTA attempts to deliver to many recipients in parallel, causing my outbound throughput to approach damn near zero. Now, I can limit the number of simultaneous smtp connections that Postfix attempts, but this is not a guarantee that a fast receiver will still manage to consume all of my available bandwidth. Some list members suggested dummynet(4). However this requires the use if ipfw and friends of which I'm not really familiar. Is this the only way to do this? I am not using FreeBSD as a firewall. It is a peer on a local network with the gateway being a Linksys firewall/router. Thanks, -Clint -- Clint Olsen . -- . clint at NULlsen dot net .' ,-. `. ;_,' ( ; `. ``;' FreeBSD: Rebooting is for hardware upgrades. ` -- ' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message