Slackbot
11/28/2023, 9:15 AMKyle Hoondert
11/28/2023, 10:57 AMdruid.historical.cache.useCache and druid.historical.cache.populateCache ( https://druid.apache.org/docs/latest/configuration/#historical-caching) enables the on-heap caffeine cache for partial query results https://druid.apache.org/docs/latest/configuration/#cache-configuration
This is different from the segment cache, which is the memory-mapped segment file cache. Not sure if you’ve seen https://druid.apache.org/docs/latest/querying/caching/Anshu Makkar
11/28/2023, 11:22 AMcaffeine part of the cache, I want to understand the memory mapped segment file cache. How to enable it?Anshu Makkar
11/28/2023, 11:25 AMDirect Memory =28G
Merge buffer =500MB
numThreads=45
Is there a specific parameter to be configured to control how much to mmap. I assumed it could take a lot of RAM to map the underlying segment while my pod does not consume more than 50GB.Kyle Hoondert
11/28/2023, 12:46 PMAnshu Makkar
11/28/2023, 12:49 PMAnshu Makkar
11/28/2023, 12:50 PMKyle Hoondert
11/28/2023, 12:53 PM$ cat /proc/meminfo | grep Mapped
Mapped: 178172 kBAnshu Makkar
11/28/2023, 1:03 PMAnshu Makkar
12/01/2023, 1:56 PMbuff/cache that is consuming around 250 gbAnshu Makkar
12/01/2023, 1:57 PMmap_count is near 55000