mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mark Hills <mark@pogo.org.uk>
To: Willy Tarreau <w@1wt.eu>
Cc: Andi Kleen <andi@firstfloor.org>, linux-kernel@vger.kernel.org
Subject: Re: splice() on two pipes
Date: Thu, 30 Apr 2009 15:26:08 +0100 (BST)	[thread overview]
Message-ID: <alpine.BSO.2.00.0904301452030.5232@zrgural.vwaro.pbz> (raw)
In-Reply-To: <20090430045645.GF570@1wt.eu>

On Thu, 30 Apr 2009, Willy Tarreau wrote:

> BTW, I like your test program. Simple and easy. I have completed it to 
> test tcp and udp, you can find it attached.

I think the shown ability to splice to a unix socket may be misleading. 
Can someone offer some insight to my previous post (22nd April, "splice() 
on unix sockets")? Does splice to a unix socket actually result in zero 
copy?

   $ ./test_splice
   in\out  pipe    reg     chr     unix    tcp     udp
   pipe    no      yes     yes     yes     yes     yes
   reg     yes     no      no      no      no      no
   chr     no      no      no      no      no      no
   unix    no      no      no      no      no      no
   tcp     yes     no      no      no      no      no
   udp     no      no      no      no      no      no

Thanks

-- 
Mark

  reply	other threads:[~2009-04-30 14:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-29 10:33 Max Kellermann
2009-04-29 15:23 ` Andi Kleen
2009-04-29 19:42   ` Max Kellermann
2009-04-30  4:56     ` Willy Tarreau
2009-04-30 14:26       ` Mark Hills [this message]
2009-04-30  6:21 ` Jens Axboe
2009-04-30  6:42   ` Max Kellermann

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=alpine.BSO.2.00.0904301452030.5232@zrgural.vwaro.pbz \
    --to=mark@pogo.org.uk \
    --cc=andi@firstfloor.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=w@1wt.eu \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®