1. 23 Aug, 2004 3 commits
    • unknown's avatar
      1) Default config is 1 frag per node · 10912035
      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
      10912035
    • unknown's avatar
      Removed 0.5M in unused construct in TRIX · e0a550ed
      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
      e0a550ed
    • unknown's avatar
      Long signal buffer size configurable · 08fdd504
      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
      08fdd504
  2. 21 Aug, 2004 6 commits
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/users/mronstrom/wl2056 · b43e29ef
      unknown authored
      into mysql.com:/Volumes/Backup1/wl2056
      
      b43e29ef
    • unknown's avatar
      Merge build.mysql.com:/home/bk/mysql-4.1-ndb · 5e12992b
      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
      5e12992b
    • unknown's avatar
      Removed debug printouts · 23558843
      unknown authored
      23558843
    • unknown's avatar
      New config parameters for Log Page Buffers · 6ab1b6af
      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
      6ab1b6af
    • unknown's avatar
      Minor changes for WL 2056 · 90cd3916
      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
      90cd3916
    • unknown's avatar
      New config parameters · 84b32099
      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
      84b32099
  3. 20 Aug, 2004 31 commits