From 93a65e27618bb2054dd272221f4a869e066fbaff Mon Sep 17 00:00:00 2001 From: John Cox Date: Tue, 27 Aug 2013 14:43:20 +0100 Subject: [PATCH] Change default rate limit to unlimited Fixes outpout on OpenBSD that doesn't seem to like the nanowait scheduling --- tswrite.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tswrite.c b/tswrite.c index 3e03131..a125756 100644 --- a/tswrite.c +++ b/tswrite.c @@ -3113,7 +3113,7 @@ extern void tswrite_help_tuning(void) " -maxnowait Specify the maximum number of packets that can be\n" " sent to the target host with no gap. Sending too\n" " many packets with no gap can overrun the target's\n" - " buffers. The default is 3.\n" + " buffers. [default: off]\n" " -maxnowait off Do not enforce any limit on how many packets may be\n" " sent without any intermediate delay.\n" "\n" @@ -3324,7 +3324,7 @@ extern int tswrite_process_args(char *prefix, context->circ_buf_size = DEFAULT_CIRCULAR_BUFFER_SIZE; context->TS_in_item = DEFAULT_TS_PACKETS_IN_ITEM; - context->maxnowait = 3; + context->maxnowait = -1; context->waitfor = 1000; context->byterate = DEFAULT_BYTE_RATE; context->bitrate = context->byterate * 8;