Re: splice() on two pipes

From: Mark Hills
Date: Thu Apr 30 2009 - 10:26:24 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/