MySQL Forums
Forum List  »  NDB clusters

ndbmtd unexpected high memory usage
Posted by: Jonathan Lowsley
Date: May 08, 2015 11:43AM

Hello,
I am experiencing higher system memory usage than expected when using ndbmtd instead of ndbd. By my count from config.ini each node should be using around 13GB of memory, but looking at the ndbmtd parent process it has consumed around 36GB instead. I know that the RedoBuffer is a "per LDM" value and that each LDM thread is using the value from RedoBuffer. Are there other values that this is true for? It's consuming more than twice what I expect. I've used ndb_config to make sure that the "actual live" values match config.ini values. Perhaps it has something to do with my ThreadConfig and extra threads consuming memory? Any insight is welcome.

# ps aux |grep ndbmtd
root 2031 28.1 47.4 38620704 35290504 ? Sl May06 253:19 /usr/bin/ndbmtd --ndb-nodeid=11

# free
total used free shared buffers cached
Mem: 74377352 38038176 36339176 604 216968 1508032
-/+ buffers/cache: 36313176 38064176
Swap: 3997692 0 3997692

from config.ini

NoOfReplicas = 2
DataMemory = 6G
IndexMemory = 1G
SharedGlobalMemory = 2G
DiskPageBufferMemory = 2G
RedoBuffer = 512M
FragmentLogFileSize = 64M
NoOfFragmentLogFiles = 128
ThreadConfig=ldm={count=4,cpubind=1,2,3,4},main={c ount=1,cpuset=5,13},io={count=1,cpuset=5,13},rep={ count=1,cpuset=5,13},tc={count=2,cpuset=6,7,14,15} ,send={count=1,cpuset=6,7,14,15},recv={count=1,cpu set=6,7,14,15}

Options: ReplyQuote


Subject
Views
Written By
Posted
ndbmtd unexpected high memory usage
3325
May 08, 2015 11:43AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.