Hi,According to http://druid.io/docs/latest/operations/performance-faq.html. I saw this recommendation:memory_for_segments = total_memory - heap - direct_memory - jvm_overheadWhat are the corresponding configs for those attributes? for my understanding, they are:total_memory: Total RAM of the machinedirect_memory: -XX:MaxDirectMemorySize=2000m (found inside jvm.config)
heap: xms / xmx ???
jvm_overhead: ???
memory_for_segments: is it druid.processing.buffer.sizeBytes??
--Thanks
You received this message because you are subscribed to the Google Groups "Druid User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to druid-user+...@googlegroups.com.
To post to this group, send email to druid...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/3bb2c279-23ac-4b3c-ae4e-fe22e08c5297%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
see Inline
On Mon, 30 May 2016 at 08:15 quangtrung tran <tranquang...@gmail.com> wrote:Hi,According to http://druid.io/docs/latest/operations/performance-faq.html. I saw this recommendation:memory_for_segments = total_memory - heap - direct_memory - jvm_overheadWhat are the corresponding configs for those attributes? for my understanding, they are:total_memory: Total RAM of the machinedirect_memory: -XX:MaxDirectMemorySize=2000m (found inside jvm.config)direct_memory should be atleast -> (druid.processing.numThreads * druid.processing.buffer.sizeBytes )generally a processing buffer of 512 should be enough and processing threads = cpu_cores - 1heap: xms / xmx ???3-4G heap size should be sufficient for small/medium size setups, GroupBys use heap memory, so you might need to set it higher to 6G if you extensively use groupBys.jvm_overhead: ???this includes the system overheads too i.e memory used by other OS daemons and processes, typically 1G-2G.memory_for_segments: is it druid.processing.buffer.sizeBytes??No, this means the system memory available for memory mapping of druid segment files.it is defined by config druid.server.maxSize - the maximum amount of segments that will be assigned to a historical node.
--Thanks
You received this message because you are subscribed to the Google Groups "Druid User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to druid...@googlegroups.com.