summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--trafgen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/trafgen.c b/trafgen.c
index f50ac22..af15ef2 100644
--- a/trafgen.c
+++ b/trafgen.c
@@ -874,6 +874,9 @@ int main(int argc, char **argv)
ctx.gid = getgid();
ctx.qdisc_path = false;
+ /* Keep an initial small default size to reduce cache-misses. */
+ ctx.reserve_size = 196 * (1 << 10);
+
while ((c = getopt_long(argc, argv, short_options, long_options,
&opt_index)) != EOF) {
switch (c) {