https://pinot.apache.org/ logo
Join Slack
Powered by
# troubleshooting
  • m

    Mayank

    06/11/2020, 3:27 PM
    There are only 3 partitions per node
  • s

    Subbu Subramaniam

    06/11/2020, 3:27 PM
    What was the recommendation of the tool?
  • m

    Mayank

    06/11/2020, 3:28 PM
    10MB. @srisudha could you confirm?
  • m

    Mayank

    06/11/2020, 3:28 PM
    Note direct memory setting is at 10GB
  • s

    Subbu Subramaniam

    06/11/2020, 3:29 PM
    Yes, 10 to 100 MB seems like an order of magnitude jump. If tool recommended 10MB then that is about what you have for memory. You have a choice of deploying more hosts, or use hosts with higher memory.
  • m

    Mayank

    06/11/2020, 3:30 PM
    The question I am struggling with is why was it 10MB, given that there re three partitions that are configured to generate 100MB segments l, and total direct memory is 10GB
  • m

    Mayank

    06/11/2020, 3:30 PM
    I am sure there is a reason, but would be good for the users to understand
  • s

    srisudha

    06/11/2020, 3:56 PM
    No.. From the tool we got 100 mb only as output..
  • s

    srisudha

    06/11/2020, 3:56 PM
    We gave 3 partitions and traffic protection as 10 million per 24 hours
  • s

    srisudha

    06/11/2020, 3:56 PM
    And v got that output for three servers
  • m

    Mayank

    06/11/2020, 3:57 PM
    I thought you had mentioned your initial segments were 10MB based on the tool.
  • m

    Mayank

    06/11/2020, 3:57 PM
    But if tools says 100MB, then it is even more baffling @Subbu Subramaniam
  • s

    Shounak Kulkarni

    06/11/2020, 3:58 PM
    Memory used per host numHosts --> 2 |3 | numHours 12 --------> 4.81G |2.88G | 24 --------> 8.08G |4.85G | Optimal segment size numHosts --> 2 |3 | numHours 12 --------> 49.36M |49.36M | 24 --------> 98.72M |98.72M | Consuming memory numHosts --> 2 |3 | numHours 12 --------> 3.6G |2.16G | 24 --------> 7.12G |4.27G |
  • s

    Shounak Kulkarni

    06/11/2020, 3:59 PM
    this is the output for 10 million documents segment over 24 hrs and 3 partitions
  • s

    srisudha

    06/11/2020, 4:00 PM
    They were 2 times v ran the tool for different values of traffic .. 50 mb was initial value.. But v tried with 20 mb segment size because v wanted multiple segments to b created for the run to check query perf..
  • s

    srisudha

    06/11/2020, 4:01 PM
    Post few discussions with u , we re executed and went with higher seg size ..
  • m

    Mayank

    06/11/2020, 4:11 PM
    So the tool actually suggested 100MB, right?
  • s

    srisudha

    06/11/2020, 4:21 PM
    Yes
  • s

    srisudha

    06/11/2020, 4:21 PM
    Correct
  • s

    Subbu Subramaniam

    06/11/2020, 5:23 PM
    @srisudha I suppose you have set on offheap allocation to mmap?
  • s

    Sidd

    06/11/2020, 5:24 PM
    if it is MMAP, the stack trace shouldn't probably contain calls to allocateDirect() ?
  • m

    Mayank

    06/11/2020, 5:25 PM
    I think the loadMode is set to MMap, but offheap allocation is probably a different config?
  • s

    Subbu Subramaniam

    06/11/2020, 5:25 PM
    correct, it is a different config
  • s

    Subbu Subramaniam

    06/11/2020, 5:25 PM
    but using direct mem is not a probem
  • s

    Subbu Subramaniam

    06/11/2020, 5:26 PM
    just increase maxDirect when stating up jvm
  • m

    Mayank

    06/11/2020, 5:26 PM
    The maxDirect is 10g right now
  • s

    Subbu Subramaniam

    06/11/2020, 5:26 PM
    in this case, the tool says how much mem we think we will need
  • s

    Subbu Subramaniam

    06/11/2020, 5:26 PM
    for consuming plus completed sements
  • m

    Mayank

    06/11/2020, 5:26 PM
    at a time there are only 3 segments each of which is 100 MB
  • m

    Mayank

    06/11/2020, 5:26 PM
    So the confusing part is where's the gap?
1...110111112...166Latest