From owner-freebsd-hackers Tue Apr 23 7: 3:43 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from parhelion.firedrake.org (parhelion.firedrake.org [212.135.138.219]) by hub.freebsd.org (Postfix) with ESMTP id 0581D37B417 for ; Tue, 23 Apr 2002 07:03:39 -0700 (PDT) Received: from float by parhelion.firedrake.org with local (Exim 3.34 #1 (Debian)) id 1700t3-0005NB-00; Tue, 23 Apr 2002 15:03:17 +0100 Date: Tue, 23 Apr 2002 15:03:17 +0100 To: Attila Nagy Cc: hackers@freebsd.org Subject: Re: sendfile() in tftpd? Message-ID: <20020423140317.GA19696@parhelion.firedrake.org> Mail-Followup-To: Attila Nagy , hackers@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i From: void Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Apr 23, 2002 at 12:29:03PM +0200, Attila Nagy wrote: > Hello, > > Would it be possible to use sendfile in tftpd? > With an Athlon XP 1600+ I could only get ~40 Mbps out from the machine > with 0% idle CPU time (large file transfers from many machines, getting > the same file). Performance and tftp don't really go together. The server sends a part of a file, waits for an ack, sends the next piece, waits for an ack, etc. -- Ben "An art scene of delight I created this to be ..." -- Sun Ra To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message