From: Eric Dumazet <eric.dumazet@gmail.com>
To: Changli Gao <xiaosuo@gmail.com>
Cc: Viral Mehta <Viral.Mehta@lntinfotech.com>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: zero copy for relay server
Date: Tue, 29 Mar 2011 16:13:37 +0200 [thread overview]
Message-ID: <1301408017.3161.154.camel@edumazet-laptop> (raw)
In-Reply-To: <AANLkTi=GYxOP19HwdD0X33hX-Ku12oxwcX5=-okC9Let@mail.gmail.com>
Le mardi 29 mars 2011 à 19:28 +0800, Changli Gao a écrit :
> It is a waste of fd using pipe buffer with two fds. In fact, I had
> ever posted a patch, which extends pipe(2) to return a O_RDWR fd when
> NULL is passed in.
>
Oh well, one extra fd is less than 256 bytes.
Adding a syscall means you force users to have latest kernel.
All this is hypothetical, nobody gave performance numbers demonstrating
splice()/splice() is slow enough we have to optimize it and add kernel
bloat...
prev parent reply other threads:[~2011-03-29 14:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-28 16:27 zero copy for relay server Viral Mehta
2011-03-28 16:52 ` Eric Dumazet
2011-03-28 18:18 ` Viral Mehta
2011-03-28 18:34 ` Eric Dumazet
2011-03-29 2:00 ` Changli Gao
2011-03-29 4:23 ` Eric Dumazet
2011-03-29 11:28 ` Changli Gao
2011-03-29 14:13 ` Eric Dumazet [this message]
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=1301408017.3161.154.camel@edumazet-laptop \
--to=eric.dumazet@gmail.com \
--cc=Viral.Mehta@lntinfotech.com \
--cc=netdev@vger.kernel.org \
--cc=xiaosuo@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox