Fix ddsperf default allowed RSS growth factor
The default value was zero, which means only specifying -Qrss:N would require the memory usage at the end to be <= N MB, rather than the delta. Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
parent
1f5f423059
commit
8a06ac007c
1 changed files with 2 additions and 2 deletions
|
@ -165,7 +165,7 @@ static uint32_t ping_timeouts = 0;
|
||||||
final RSS sample: final one must be <=
|
final RSS sample: final one must be <=
|
||||||
init * (1 + rss_factor/100) + rss_term */
|
init * (1 + rss_factor/100) + rss_term */
|
||||||
static bool rss_check = false;
|
static bool rss_check = false;
|
||||||
static double rss_factor = 0;
|
static double rss_factor = 1;
|
||||||
static double rss_term = 0;
|
static double rss_term = 0;
|
||||||
|
|
||||||
/* Minimum number of samples, minimum number of roundtrips to
|
/* Minimum number of samples, minimum number of roundtrips to
|
||||||
|
@ -1612,7 +1612,7 @@ OPTIONS:\n\
|
||||||
bandwidth BW in bits/s (e.g., eth0:1e9)\n\
|
bandwidth BW in bits/s (e.g., eth0:1e9)\n\
|
||||||
-D DUR run for at most DUR seconds\n\
|
-D DUR run for at most DUR seconds\n\
|
||||||
-Q KEY:VAL set success criteria\n\
|
-Q KEY:VAL set success criteria\n\
|
||||||
rss:X%% max allowed increase in RSS, in %%\n\
|
rss:X%% max allowed increase in RSS, in %%\n\
|
||||||
rss:X max allowed increase in RSS, in MB\n\
|
rss:X max allowed increase in RSS, in MB\n\
|
||||||
samples:N min received messages by \"sub\"\n\
|
samples:N min received messages by \"sub\"\n\
|
||||||
roundtrips:N min roundtrips for \"pong\"\n\
|
roundtrips:N min roundtrips for \"pong\"\n\
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue