Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Apr 1996 11:02:15 -0500 (CDT)
From:      Joe Greco <jgreco@brasil.moneng.mei.com>
To:        wollman@lcs.mit.edu (Garrett Wollman)
Cc:        jgreco@brasil.moneng.mei.com, ishort@pcm.co.za, questions@freebsd.org, isp@freebsd.org
Subject:   Re: Bandwidth limited FTP server
Message-ID:  <199604231602.LAA29590@brasil.moneng.mei.com>
In-Reply-To: <9604231524.AA07676@halloran-eldar.lcs.mit.edu> from "Garrett Wollman" at Apr 23, 96 11:24:59 am

next in thread | previous in thread | raw e-mail | index | archive | help
> <<On Tue, 23 Apr 1996 10:18:09 -0500 (CDT), Joe Greco <jgreco@brasil.moneng.mei.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604231602.LAA29590>