Thanks for the quick reply. I'm trying anyway with this LD_PRELOAD hack: http://vleu.net/ksm_preload/ But I don't manage to start the osd (jewel) with that :( ... still trying. -- dan On Wed, Apr 13, 2016 at 1:22 PM, Юрий Соколов <funny.falcon@xxxxxxxxx> wrote: > Doubtfully they looks similar in memory now, cause they use a lot > std::map and std::strings, > and there is almost no possibility to guarantee memory layout. > > 2016-04-13 12:59 GMT+03:00 Dan van der Ster <dan@xxxxxxxxxxxxxx>: >> Hi ceph-devel, >> >> Did anyone ever consider using madvise MADV_MERGEABLE to enable kernel >> samepage merging for the ceph-osd? Typically this is used on kvm hosts >> to dedupe the VM memories, but naively I was thinking that since our >> osdmaps are duplicated (a few 100MB per daemon) we might profit as >> well. Though, perhaps these maps are changing often enough that KSM >> wouldn't help... no idea. >> >> Any thoughts here? >> >> -- Dan >> CERN IT >> -- >> 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 > > > > -- > With regards, > Sokolov Yura aka funny_falcon -- 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