projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
230cdd0
)
Increase maximum number of freelists from 16 to 64, per testing.
author
Robert Haas
<
[email protected]
>
Wed, 1 Aug 2012 17:43:28 +0000
(17:43 +0000)
committer
Robert Haas
<
[email protected]
>
Wed, 1 Aug 2012 17:43:28 +0000
(17:43 +0000)
src/backend/utils/hash/chash.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/utils/hash/chash.c
b/src/backend/utils/hash/chash.c
index dba906586e276eb1318ada5af2a571abe62e82b3..e2f352b7471ded60785a2f0576c38a23ea7f248f 100644
(file)
--- a/
src/backend/utils/hash/chash.c
+++ b/
src/backend/utils/hash/chash.c
@@
-242,7
+242,7
@@
CHashBootstrap(CHashDescriptor *desc)
* having more free lists than garbage lists; if the garbage lists aren't
* causing contention, an equal number of free lists shouldn't either.
*/
- table->nfreelists = Min(table->ngarbage,
16
);
+ table->nfreelists = Min(table->ngarbage,
64
);
/*
* To make garbage collection efficient, we overallocate. Normally, we