From owner-freebsd-hackers Tue Apr 23 4:51:53 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from h146n1fls31o859.telia.com (h146n1fls31o859.telia.com [213.66.12.146]) by hub.freebsd.org (Postfix) with SMTP id B546F37B405 for ; Tue, 23 Apr 2002 04:51:44 -0700 (PDT) Received: (qmail 7239 invoked from network); 23 Apr 2002 11:51:35 -0000 Received: from localhost (HELO 127.0.0.1) (root@127.0.0.1) by localhost with SMTP; 23 Apr 2002 11:51:35 -0000 Date: Tue, 23 Apr 2002 13:52:10 +0200 From: Tomas Svensson X-Mailer: The Bat! (v1.60) Reply-To: Tomas Svensson X-Priority: 3 (Normal) Message-ID: <1669828763.20020423135210@gbdev.net> To: Attila Nagy Cc: hackers@freebsd.org Subject: Re: sendfile() in tftpd? In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 AN> Would it be possible to use sendfile in tftpd? AN> With an Athlon XP 1600+ I could only get ~40 Mbps out from the machine AN> with 0% idle CPU time (large file transfers from many machines, getting AN> the same file). No, sendfile() is only for TCP connections, TFTP is using UDP. If you want performance, use something else. -Tomas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message