]> err.no Git - varnish/commitdiff
Default to 4096 buckets and 256 mutexes
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 8 Aug 2006 06:39:52 +0000 (06:39 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 8 Aug 2006 06:39:52 +0000 (06:39 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@757 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/hash_classic.c

index cdbef24fc67817b98c22078259ae2d2d9bc3ef89..47beb171af7d15058e72a6bd28ec962f8481a80d 100644 (file)
@@ -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;
 
 /*--------------------------------------------------------------------*/