Re: [PATCH] perf: sched-pipe add support for packet I/O mode
From: Peter Zijlstra
Date: Tue Sep 27 2016 - 07:39:31 EST
On Mon, Sep 26, 2016 at 06:29:44PM -0600, Shuah Khan wrote:
> Add support to run sched-pipe benchmark test on pipe with packet I/O mode.
>
> Signed-off-by: Shuah Khan <shuahkh@xxxxxxxxxxxxxxx>
> ---
> tools/perf/bench/sched-pipe.c | 20 ++++++++++++++++++++
> 1 file changed, 20 insertions(+)
>
> diff --git a/tools/perf/bench/sched-pipe.c b/tools/perf/bench/sched-pipe.c
> index 1dc2d13..c6e1b7a 100644
> --- a/tools/perf/bench/sched-pipe.c
> +++ b/tools/perf/bench/sched-pipe.c
> @@ -41,9 +41,16 @@ static int loops = LOOPS_DEFAULT;
> /* Use processes by default: */
> static bool threaded;
>
> +/* Use non-packet (normal) I/O mode by default.
> + * In packet mode, each write is a separate packet.
> + */
Also,
https://lkml.kernel.org/r/CA+55aFyQYJerovMsSoSKS7PessZBr4vNp-3QUUwhqk4A4_jcbg@xxxxxxxxxxxxxx