From: phk Date: Tue, 8 Aug 2006 06:39:52 +0000 (+0000) Subject: Default to 4096 buckets and 256 mutexes X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51399e44f42ab6fbf2185a5732bb48aec6982501;p=varnish Default to 4096 buckets and 256 mutexes git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@757 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- 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; /*--------------------------------------------------------------------*/