All of lore.kernel.org
 help / color / mirror / Atom feed
From: Phillip Susi <psusi@cfl.rr.com>
To: Roy Rietveld <rwm_rietveld@hotmail.com>
Cc: linux-os@analogic.com, linux-kernel@vger.kernel.org
Subject: Re: TCP/IP send, sendfile, RAW
Date: Thu, 04 May 2006 17:21:29 -0400	[thread overview]
Message-ID: <445A7059.7000202@cfl.rr.com> (raw)
In-Reply-To: <BAY105-F38F372575F5B72AF1DACE6E9B40@phx.gbl>

Roy Rietveld wrote:
> I read something about zero copy may i need somelike that.

Yes, zero copy IO does make a huge difference.  Unfortunately, at this 
time, it is not possible to do zero copy IO on sockets save for 
sendfile() because they do not yet support aio, at least, not the last 
time I checked.

For comparison I wrote an ftp server for NT 4.0 several years ago on a 
PII-233 system ( similar speed to yours ) and saw similar results to 
yours until switching to zero copy IO, which pushed 11,820 KB/s ftp 
transfers using less than 1% of the cpu.

I'm still waiting for Linux to be able to do this, and hopefully won't 
have to wait much longer.


  parent reply	other threads:[~2006-05-04 21:22 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-04 17:19 TCP/IP send, sendfile, RAW Roy Rietveld
2006-05-04 17:41 ` Jan Engelhardt
2006-05-04 17:56   ` linux-os (Dick Johnson)
2006-05-04 18:05     ` Roy Rietveld
2006-05-04 18:27       ` linux-os (Dick Johnson)
2006-05-04 18:42         ` Roy Rietveld
2006-05-04 19:12           ` linux-os (Dick Johnson)
2006-05-04 19:43             ` Roy Rietveld
2006-05-04 19:48               ` Willy Tarreau
2006-05-04 21:21               ` Phillip Susi [this message]
2006-05-04 22:22           ` Alan Cox
2006-05-07 14:40       ` Mark Lord
2006-05-05  8:57 ` Denis Vlasenko
     [not found] <445B165D.3000508@draigBrady.com>
2006-05-05  9:39 ` Roy Rietveld
2006-05-05 12:39   ` Avi Kivity
2006-05-05 14:25     ` Roy Rietveld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=445A7059.7000202@cfl.rr.com \
    --to=psusi@cfl.rr.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-os@analogic.com \
    --cc=rwm_rietveld@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.