Re: [ovs-dev] [PATCH] ovs-benchmark: improve 'rate' command piped output support.

2013-05-02 Thread Ben Pfaff
On Mon, Apr 29, 2013 at 02:42:56PM -0700, Andy Zhou wrote: > Add fflush() to the 'rate' command of 'ovs-benchmark'. On a tty console > the output is line-buffered. However, piped output by default has a > deeper (usually 4KB) buffer, the output won't appear to the other end of > the pipe until thi

Re: [ovs-dev] [PATCH] ovs-benchmark: improve 'rate' command piped output support.

2013-04-29 Thread Ben Pfaff
On Mon, Apr 29, 2013 at 02:42:56PM -0700, Andy Zhou wrote: > Add fflush() to the 'rate' command of 'ovs-benchmark'. On a tty console > the output is line-buffered. However, piped output by default has a > deeper (usually 4KB) buffer, the output won't appear to the other end of > the pipe until thi

[ovs-dev] [PATCH] ovs-benchmark: improve 'rate' command piped output support.

2013-04-29 Thread Andy Zhou
Add fflush() to the 'rate' command of 'ovs-benchmark'. On a tty console the output is line-buffered. However, piped output by default has a deeper (usually 4KB) buffer, the output won't appear to the other end of the pipe until this buffer is full. This patch makes the piped output of the 'rate'