[Luminous, bluestore]How to reduce memory usage of OSDs?

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

 



Hi all,
      Is there a way to reduce memory usage of osd to below 800MB per osd?My server has only about 1 GB memory for every osd and the osd sometimes gets killed by oom killer.
I have used the newer version of luminous from github(12.2.1-249-g42172a4 (42172a443183ffe6b36e85770e53fe678db293bf)  to fix some memory problem of bluestore cache) and used this config for bluestore cache 
bluestore_cache_size = 104857600
bluestore_cache_kv_max = 67108864

     I have tested with both replicated and ec.Ec seems cost more memory but even in replicated mode osd still gets killed by oom killer.

     I also find that if I restart  all the osds when the memory usage is high then the memory usage goes down and It takes a few hour to get to the memory usage level before the restart.

     I can bear with some performance loss to get the memory usage down but I am running out of idea how to do that:<

_______________________________________________
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