Hi Team,
I am doing performance testing on MongoDB...with RHEL 6.4.... I have generated MongoDB database with 35 million records
which is close to 25GB in Disk size.
Hardware which i am running has 90GB of Main Memory, I used YCSB to stimulate workload... which reads around 15 million records in my test
but while running the test... i am seeing Mongod or MongoDB process uses only 47 to 50GB of Memory... I still have 40GB of memory left free.
Currently i have two database one is 25GB and other is 12GB in disk size.
I feel the system has more resource free, which can be utilized and run much faster.. Is there any settings in MongoDB side or System side to tell
the MongoDB/system to use the rest of the available free memory also...
Following are the runtime stats, I want to know is there any setting either in mongoDB or system level RHEL setting to leverage my entire hardware
while running my workload.
Note: During my observation there wasn't much swapin and swapout also happening.
# free -g
total used free shared buffers cached
Mem: 90 48 42 0 0 43
-/+ buffers/cache: 3 86
Swap: 3 0 3
# vmstat 1 5
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu-----
r b swpd free buff cache si so bi bo in cs us sy id wa st
13 0 0 44354944 458624 46119360 0 0 2 81 0 1 1 0 99 0 0
4 0 0 44353344 458624 46119424 0 0 0 0 68632 278273 10 9 80 0 0
6 0 0 44354112 458624 46119424 0 0 0 48 64490 245212 10 9 81 0 0
8 0 0 44354176 458624 46119424 0 0 0 0 53191 187589 9 7 84 0 0
10 0 0 44354112 458624 46119424 0 0 0 0 45025 153016 8 6 85 0 0
> show dbs
bigdata350db 49.9296875GB
bigdatadb 23.9423828125GB
local 0.078125GB
testdb 0.203125GB
tutorial 0.203125GB