1. 23 Aug, 2004 4 commits
    • unknown's avatar
      Correct number of system table attributes · 48c16480
      unknown authored
      48c16480
    • unknown's avatar
      1) Default config is 1 frag per node · afe21e63
      unknown authored
      2) MAX_FRAG_PER_NODE separated from NO_OF_FRAG_PER_NODE and
      takes into account large fragmentation
      3) SUMA use config parameter instead of hard coded limit
      
      
      ndb/src/kernel/blocks/backup/BackupInit.cpp:
        Moved addition of system tables and its attributes to Configuration.cpp
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Medium == default is one fragment per node
      ndb/src/kernel/blocks/dbtux/Dbtux.hpp:
        Use MAX_FRAG_PER_NODE, NO_OF_FRAG_PER_NODE is used for
        allocation purposes, still allowed to create a table with
        many fragments
      ndb/src/kernel/blocks/suma/SumaInit.cpp:
        Use max no of tables configured instead of maximum configurable
      ndb/src/kernel/vm/Configuration.cpp:
        Update configuration to handle also system tables and their attributes
      ndb/src/kernel/vm/pc.hpp:
        Maximum fragments per node is 8 in the worst case
      afe21e63
    • unknown's avatar
      Removed 0.5M in unused construct in TRIX · cab5529e
      unknown authored
      Used proper config param for setting trigger pool size in TUP
      Minimum long signal buffer set to 0.5M instead of 1M
      
      
      ndb/src/common/mgmcommon/ConfigInfo.cpp:
        Minimum long signal buffer = 0.5M from 1M
      ndb/src/kernel/blocks/dbtup/DbtupGen.cpp:
        Used max no of triggers to define trigger pool in TUP
      ndb/src/kernel/blocks/trix/Trix.cpp:
        Removed unused construct wasting 0.5M of memory
      ndb/src/kernel/blocks/trix/Trix.hpp:
        Removed unused construct wasting 0.5M of memory
      cab5529e
    • unknown's avatar
      Long signal buffer size configurable · 000b69a3
      unknown authored
      Dbutil decreased memory footprint
      Suma decreased memory footprint
      (16M memory removed from default config)
      
      
      ndb/include/mgmapi/mgmapi_config_parameters.h:
        Long signal buffer size configurable
      ndb/src/common/mgmcommon/ConfigInfo.cpp:
        Long signal buffer size configurable
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Long signal buffer size configurable
      ndb/src/kernel/blocks/dbutil/DbUtil.cpp:
        Decrease size of memory for prepared operations in Dbutil
      ndb/src/kernel/blocks/dbutil/DbUtil.hpp:
        Decrease size of memory for prepared operations in Dbutil
      ndb/src/kernel/blocks/suma/Suma.cpp:
        Removed GREP use of SUMA that wasted 13.2M of memory
      ndb/src/kernel/blocks/suma/Suma.hpp:
        Removed GREP use of SUMA that wasted 13.2M of memory
      ndb/src/kernel/blocks/suma/SumaInit.cpp:
        Removed GREP use of SUMA that wasted 13.2M of memory
      ndb/src/kernel/vm/TransporterCallback.cpp:
        Long signal buffer size configurable
      000b69a3
  2. 21 Aug, 2004 6 commits
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/users/mronstrom/wl2056 · 039a159c
      unknown authored
      into mysql.com:/Volumes/Backup1/wl2056
      
      
      039a159c
    • unknown's avatar
      Merge build.mysql.com:/home/bk/mysql-4.1-ndb · 2c7754be
      unknown authored
      into build.mysql.com:/users/mronstrom/wl2056
      
      
      ndb/src/common/mgmcommon/ConfigInfo.cpp:
        Auto merged
      ndb/src/common/mgmcommon/LocalConfig.cpp:
        Auto merged
      ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp:
        Auto merged
      ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp:
        Auto merged
      ndb/src/kernel/vm/Configuration.cpp:
        Auto merged
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      2c7754be
    • unknown's avatar
      Removed debug printouts · 81beb550
      unknown authored
      81beb550
    • unknown's avatar
      New config parameters for Log Page Buffers · b85e699e
      unknown authored
      Fixing issue with NO_OF_FRAG_PER_NODE
      Also removed some OSE code no longer needed when configurable log pages 
      
      
      ndb/include/kernel/signaldata/FsCloseReq.hpp:
        Removing annoying compiler warning
      ndb/include/mgmapi/mgmapi_config_parameters.h:
        New config parameters for Log Page Buffers
      ndb/src/common/mgmcommon/ConfigInfo.cpp:
        New config parameters for Log Page Buffers
      ndb/src/kernel/blocks/dbacc/Dbacc.hpp:
        New config parameters for Log Page Buffers
        Fixing issue with NO_OF_FRAG_PER_NODE
      ndb/src/kernel/blocks/dbacc/DbaccInit.cpp:
        New config parameters for Log Page Buffers
        Fixing issue with NO_OF_FRAG_PER_NODE
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        New config parameters for Log Page Buffers
        Fixing issue with NO_OF_FRAG_PER_NODE
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        New config parameters for Log Page Buffers
        Fixing issue with NO_OF_FRAG_PER_NODE
      ndb/src/kernel/blocks/dblqh/DblqhInit.cpp:
        New config parameters for Log Page Buffers
        Fixing issue with NO_OF_FRAG_PER_NODE
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        New config parameters for Log Page Buffers
        Fixing issue with NO_OF_FRAG_PER_NODE
      ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        New config parameters for Log Page Buffers
        Fixing issue with NO_OF_FRAG_PER_NODE
      ndb/src/kernel/blocks/dbtup/DbtupGen.cpp:
        New config parameters for Log Page Buffers
        Fixing issue with NO_OF_FRAG_PER_NODE
      ndb/src/kernel/blocks/dbtup/DbtupIndex.cpp:
        New config parameters for Log Page Buffers
        Fixing issue with NO_OF_FRAG_PER_NODE
      ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp:
        New config parameters for Log Page Buffers
        Fixing issue with NO_OF_FRAG_PER_NODE
      ndb/src/kernel/vm/pc.hpp:
        New config parameters for Log Page Buffers
        Fixing issue with NO_OF_FRAG_PER_NODE
      b85e699e
    • unknown's avatar
      Minor changes for WL 2056 · 49e9cebc
      unknown authored
      
      ndb/src/common/portlib/NdbMem.c:
        Simplify insertion of print comments
      ndb/src/common/util/new.cpp:
        malloc -> NdbMem_Allocate
      ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp:
        Increase number of idle files to avoid allocation after starting
        ndbd
      49e9cebc
    • unknown's avatar
      New config parameters · 1e5716ce
      unknown authored
      malloc -> NdbMem_Allocate
      
      
      ndb/include/mgmapi/mgmapi_config_parameters.h:
        Added Meta Data config parameter constants
      ndb/src/common/mgmcommon/ConfigInfo.cpp:
        Added Meta Data config parameters
      ndb/src/common/mgmcommon/LocalConfig.cpp:
        malloc -> NdbMem_Allocate
      ndb/src/common/mgmcommon/NdbConfig.c:
        malloc -> NdbMem_Allocate
      ndb/src/common/portlib/NdbCondition.c:
        malloc -> NdbMem_Allocate
      ndb/src/common/portlib/NdbMutex.c:
        malloc -> NdbMem_Allocate
      ndb/src/common/portlib/NdbThread.c:
        malloc -> NdbMem_Allocate
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Removed memory allocation as part of new of TcIndexOperation
      ndb/src/kernel/blocks/dbtc/DbtcInit.cpp:
        Some minor things + change of config parameter for consistency
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Removed memory allocation as part of new of TcIndexOperation
      ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp:
        malloc -> NdbMem_Allocate
      ndb/src/kernel/vm/Configuration.cpp:
        malloc -> NdbMem_Allocate
        + New config parameters for more consistency
      ndb/src/kernel/vm/pc.hpp:
        Not so many fragments allocated. Saves 140kBytes per table
        160 kb -> 20 kb per table
      1e5716ce
  3. 20 Aug, 2004 30 commits