Re: sendfile() in tftpd?

2002-04-23 Thread Tomas Svensson
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

Re: FreeBSD performing worse than Linux?

2001-12-29 Thread Tomas Svensson
Saturday, December 29, 2001, 6:41:33 PM, you wrote: JK> On Fri, Dec 28, 2001 at 07:27:36PM +0100, Tomas Svensson wrote: >> ## several packets are lost here due to congestion, thanks to >> TCP_NODELAY: JK> No. These packets aren't lost to congestion. I can reproduce

Re: FreeBSD performing worse than Linux?

2001-12-28 Thread Tomas Svensson
This just verifies what I said weeks ago. On the client side: ## several packets are lost here due to congestion, thanks to TCP_NODELAY: 15:28:09.879928 transwarp.tao.org.uk.telnet > genius.tao.org.uk.kpop: P 609:641(32) ack 64 win 33304 15:28:09.881926 transwarp.tao.org.uk.telnet > genius.tao

Re: SSH stalls (was: FreeBSD performing worse than Linux?)

2001-12-01 Thread Tomas Svensson
I am not using compression and netstat -s confirms that it is really resending data. I examined it a bit more now and it seems OpenSSH 2.5 is sending a burst of small packets, each with 100 or 116 bytes 14:30:46.232151 server.22 > client.1525: P 30977:31077(100) ack 1144 win 24820 14:30:46.23335

SSH stalls (was: FreeBSD performing worse than Linux?)

2001-11-30 Thread Tomas Svensson
JK> Is this the same problem that I experience on ssh connections between JK> my 5.0-current laptop and my releng_4 server? When I run an 'ls' JK> from the shell on large directories I get the response back block JK> delay block delay block. I assumed that it was a problem with JK> -current. I