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