CVSROOT: /cvs Module name: src Changes by: bl...@cvs.openbsd.org 2013/01/08 14:42:19
Modified files: regress/sys/kern/sosplice: Makefile Makefile.inc Added files: regress/sys/kern/sosplice/perf: Makefile relay.c Log message: Add performance test for socket splicing. Two tcpbench processes are used as server and client. Between them is a relay process that can either copy or splice the data. Benchmarking is done for TCP and UDP and for copy and splice. All tests are executed on localhost per default. Alternatively the relay process can be started on a remote machine. Depending on hardware and environment socket splicing has increased my throughput by 30% or up to 150% in this test.