Re: [PATCH] phonet: Check input from user before allocating

From: Eric Dumazet
Date: Mon Apr 02 2012 - 22:34:14 EST


On Mon, 2012-04-02 at 19:29 -0700, Rick Jones wrote:
> On 04/02/2012 07:23 PM, David Miller wrote:
> > From: Eric Dumazet<eric.dumazet@xxxxxxxxx>
> > Date: Tue, 03 Apr 2012 04:15:04 +0200
> >
> >> Any idea of a representative benchmark in dgram af_unix ?
> >
> > Maybe you could try to make bw_unix from lmbench use
> > SOCK_DGRAM? :-)
>
> I don't know it isn't entirely bitrotted, but there are streaming and
> datagram AF_UNIX tests in netperf - they require conditional inclusion
> via ./configure --enable-unixdomain:
>
> http://www.netperf.org/svn/netperf2/trunk/doc/netperf.html#DG_005fSTREAM
>

Ah yes of course, I'll try that.

BTW, do you have plans to support vmsplice()/splice() as a way to
provide 0-copy to TCP_STREAM ?

I ask this because I am currently working on fixing splice(pipe ->
socket) performance problem and need a standard benchmark to publish
performance results.

Thanks


--
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/