From owner-freebsd-isp Tue Apr 23 09:03:48 1996 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA13656 for isp-outgoing; Tue, 23 Apr 1996 09:03:48 -0700 (PDT) Received: from brasil.moneng.mei.com (brasil.moneng.mei.com [151.186.109.160]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id JAA13650 Tue, 23 Apr 1996 09:03:40 -0700 (PDT) Received: (from jgreco@localhost) by brasil.moneng.mei.com (8.7.Beta.1/8.7.Beta.1) id LAA29590; Tue, 23 Apr 1996 11:02:16 -0500 From: Joe Greco Message-Id: <199604231602.LAA29590@brasil.moneng.mei.com> Subject: Re: Bandwidth limited FTP server To: wollman@lcs.mit.edu (Garrett Wollman) Date: Tue, 23 Apr 1996 11:02:15 -0500 (CDT) Cc: jgreco@brasil.moneng.mei.com, ishort@pcm.co.za, questions@freebsd.org, isp@freebsd.org In-Reply-To: <9604231524.AA07676@halloran-eldar.lcs.mit.edu> from "Garrett Wollman" at Apr 23, 96 11:24:59 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > < said: > > >> This won't work in the standard ftpd because we write the entire file > >> in a single call to write(2). > > > Detail. It can be broken up... > > That's the way it used to be. I changed it intentionally to work the > way it is now, so that our FTP performance would be the fastest > possible. > > It would still be possible to change wu-ftpd to slow itself down. I would hazard a guess that you mmap()'d the victim file, and did a write() on the whole region..? :-) Clever... ... Joe ------------------------------------------------------------------------------- Joe Greco - Systems Administrator jgreco@ns.sol.net Solaria Public Access UNIX - Milwaukee, WI 414/546-7968