[luminous 12.2.2]bluestore cache uses much more memory than setting value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,
I have already know that luminous would use more memory for bluestore cache than the config setting, but I was expecting 1.5x not 7-8x.
below is my bluestore cache setting
 
[osd]
osd max backfills = 4
bluestore_cache_size = 134217728
bluestore_cache_kv_max = 134217728
osd client message size cap = 67108864
   
      My osd nodes have only 2G memory and I ran 2 osds per node.So I  set the cache value very low.
 
      I was running a read throughput test and then found some of my osds were killed by oom killer and restarted.I found the oom killed osd used much more memory for bluestore_cache_data than the normal ones.
     The oom killed osd  used 795MB ram in mempool and 722MB in bluestore_cache_data
     The normal osd used about 120MB ram in mempool and 17MB in bluestore_cache_data
    
     graph of memory useage of the oom killed osd: https://pasteboard.co/H1GzihS.png
 
   
     graph of memory useage of the nomral osd: https://pasteboard.co/H1GzaeF.png
 
    Is this a bug of bluestore cache or I misunderstood the meaning of bluestore cache setting in config?
 
 
 
2018-01-06

lin.yunfan
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux