[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACYKsS4brDSL4gWGV8Aw455qqa-mdhE_=C7pFS-V=qaA7FBa6g@mail.gmail.com>
Date: Mon, 24 Jun 2013 15:08:25 -0300
From: Ricardo Landim <ricardolan@...il.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: Ben Hutchings <bhutchings@...arflare.com>, netdev@...r.kernel.org
Subject: Re: UDP splice
Help in zero copy and improve in cost of syscalls.
In my intel xeon(3.3ghz), read udp socket and write udp socket (proxy)
spends ~40000 cycles (~12 us).
2013/6/24 Eric Dumazet <eric.dumazet@...il.com>:
> On Mon, 2013-06-24 at 14:09 -0300, Ricardo Landim wrote:
>> Useful for UDP proxy, mainly for RTP payload including voice (voip)
>> and video live stream...
>
>
> I really doubt splice could help voip streams, they usually send one
> small frame every 20 ms. Implementing splice() for such small frame
> would be not really useful.
>
> For video, I would rather use a kernel helper (netfilter/conntrack ?) to
> avoid userland switch...
>
>
>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists