Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Apr 2002 03:53:12 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Attila Nagy <bra@fsn.hu>
Cc:        hackers@freebsd.org
Subject:   Re: sendfile() in tftpd?
Message-ID:  <3CC53D18.577A9A67@mindspring.com>
References:  <Pine.LNX.4.44.0204231222230.24266-100000@scribble.fsn.hu>

next in thread | previous in thread | raw e-mail | index | archive | help
Attila Nagy wrote:
> 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).

Only if all file transfers were binary, or all ASCII files were
stored on the host with <CR><LF> line termination, instead of <LF>.

That's the same reason sendfile() is stupid for POP3, IMAP4, and
SMTP servers...

-- Terry

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CC53D18.577A9A67>