From d7670f74c5f51129a9d27d47106be9535ede3cf6 Mon Sep 17 00:00:00 2001 From: claudio Date: Wed, 11 Jul 2018 17:35:07 +0000 Subject: [PATCH] Bump some of the hash table size to more resonable numbers. Still probably not optimal but less bad. --- usr.sbin/bgpd/rde.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c index 66555ff04a8..496dced222a 100644 --- a/usr.sbin/bgpd/rde.c +++ b/usr.sbin/bgpd/rde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.c,v 1.391 2018/07/11 16:34:36 claudio Exp $ */ +/* $OpenBSD: rde.c,v 1.392 2018/07/11 17:35:07 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -171,8 +171,8 @@ rde_sighdlr(int sig) } u_int32_t peerhashsize = 64; -u_int32_t pathhashsize = 1024; -u_int32_t attrhashsize = 512; +u_int32_t pathhashsize = 128 * 1024; +u_int32_t attrhashsize = 16 * 1024; u_int32_t nexthophashsize = 64; void -- 2.20.1