Thanks for your response. 2016-12-13 20:40 GMT+08:00 Sage Weil <sage@xxxxxxxxxxxx>: > On Tue, 13 Dec 2016, Dong Wu wrote: >> Hi, all >> I have a cluster with nearly 1000 osds, and each osd already >> occupied 2.5G physical memory on average, which cause each host 90% >> memory useage. when use tcmalloc, we can use "ceph tell osd.* release" >> to release unused memory, but in my cluster, ceph is build with >> jemalloc, so can't use "ceph tell osd.* release", is there any methods >> to release some memory? > > We explicitly call into tcmalloc to release memory with that command, but > unless you've patched something in yourself there is no integration with > jemalloc's release API. Are there any methods to know detail memory usage of OSD, if we have a memory allocator recording detail memory usage, will this be helpful? Is it on the schedule? > >> another question: >> can I decrease the following config value which used for cached osdmap >> to lower osd's memory? >> >> "mon_min_osdmap_epochs": "500" >> "osd_map_max_advance": "200", >> "osd_map_cache_size": "500", >> "osd_map_message_max": "100", >> "osd_map_share_max_epochs": "100" > > Yeah. You should be fine with 500, 50, 100, 50, 50. > > sage Thanks. Regards. -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html