summaryrefslogtreecommitdiff
path: root/ndb/src/kernel/vm/pc.hpp
diff options
context:
space:
mode:
authorunknown <mronstrom@mysql.com>2004-08-27 11:44:39 +0200
committerunknown <mronstrom@mysql.com>2004-08-27 11:44:39 +0200
commitcbbfa20e4f45b36503daff51dc990a39b03a8aa4 (patch)
tree230898f4bb296fb680ed7766779f194a53c1b3e7 /ndb/src/kernel/vm/pc.hpp
parent68750ccfda19440a2a844dc92872b969539cdf06 (diff)
downloadmariadb-git-cbbfa20e4f45b36503daff51dc990a39b03a8aa4.tar.gz
Decreased chunks per fragment
Fixed missing initialisation bug ndb/src/kernel/blocks/dbdih/DbdihMain.cpp: 4 times number of nodes is decreases worst case compared to 8 times number of node groups Missing initialisation ndb/src/kernel/vm/pc.hpp: Decreased chunks per fragment
Diffstat (limited to 'ndb/src/kernel/vm/pc.hpp')
-rw-r--r--ndb/src/kernel/vm/pc.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ndb/src/kernel/vm/pc.hpp b/ndb/src/kernel/vm/pc.hpp
index 6ef7be30f94..2d745d26b1c 100644
--- a/ndb/src/kernel/vm/pc.hpp
+++ b/ndb/src/kernel/vm/pc.hpp
@@ -154,8 +154,8 @@
* DIH allocates fragments in chunk for fast find of fragment record.
* These parameters define chunk size and log of chunk size.
*/
-#define NO_OF_FRAGS_PER_CHUNK 8
-#define LOG_NO_OF_FRAGS_PER_CHUNK 3
+#define NO_OF_FRAGS_PER_CHUNK 4
+#define LOG_NO_OF_FRAGS_PER_CHUNK 2
/* ---------------------------------------------------------------- */
// To avoid synching too big chunks at a time we synch after writing