From 51399e44f42ab6fbf2185a5732bb48aec6982501 Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 8 Aug 2006 06:39:52 +0000 Subject: [PATCH] Default to 4096 buckets and 256 mutexes git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@757 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/hash_classic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/varnish-cache/bin/varnishd/hash_classic.c b/varnish-cache/bin/varnishd/hash_classic.c index cdbef24f..47beb171 100644 --- a/varnish-cache/bin/varnishd/hash_classic.c +++ b/varnish-cache/bin/varnishd/hash_classic.c @@ -34,8 +34,8 @@ struct hcl_entry { TAILQ_HEAD(hcl_head, hcl_entry); static struct hcl_head *hcl_head; -static unsigned hcl_nhash = 256; -static unsigned hcl_nmtx = 16; +static unsigned hcl_nhash = 4096; +static unsigned hcl_nmtx = 256; static pthread_mutex_t *hcl_mutex; /*--------------------------------------------------------------------*/ -- 2.39.5