[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1372098804.3301.77.camel@edumazet-glaptop>
Date: Mon, 24 Jun 2013 11:33:24 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Ricardo Landim <ricardolan@...il.com>
Cc: Ben Hutchings <bhutchings@...arflare.com>, netdev@...r.kernel.org
Subject: Re: UDP splice
On Mon, 2013-06-24 at 15:08 -0300, Ricardo Landim wrote:
> 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).
>
splice() wont reduce number of syscalls.
If payload is small, copying it is less than 1000 cycles, so its a small
part of the cost you measured.
--
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