Skip to content

Unable to run TPC-H benchmarks using on-heap mode and default settings #1519

Closed

Description

@andygrove

Describe the bug

I use off-heap mode when running benchmarks locally, since this is the recommended approach for Comet.

Today I tried running in on-heap mode and q4 seems to hang indefinitely. I will need to see if this is a regression since the last release and try and debug the issue farther.

Steps to reproduce

No response

Expected behavior

No response

Additional context

No response

Activity

  1. added this to the 0.7.0 milestone on Mar 12, 2025
  2. andygrove commented on Mar 12, 2025

    @andygrove
    MemberAuthor

    The first issue is that the Spark executor is configured to use 8GB, and with our default settings, Comet only gets 1.6 GB, which just isn't enough.

    If I change Spark executor memory to 4GB and specify Comet memory overhead of 4GB then the job runs with good performance (close to 2x).

  3. changed the title [-]Unable to run TPC-H benchmarks using on-heap mode[/-] [+]Unable to run TPC-H benchmarks using on-heap mode and default settings[/+] on Mar 12, 2025
  4. andygrove commented on Mar 12, 2025

    @andygrove
    MemberAuthor

    Spark requires at least 3GB to run the benchmarks. Comet also requires at least 3GB.

    In on-heap mode that means we require 6 GB total. In off-heap mode this is reduced to 5 GB.

  5. andygrove commented on Mar 12, 2025

    @andygrove
    MemberAuthor

    See #1315 for more information.

    I plan on updating the tuning guide to provide guidance on specifying Comet memory allocation to close this issue.

  6. wForget commented on Mar 13, 2025

    @wForget
    Member

    The first issue is that the Spark executor is configured to use 8GB, and with our default settings, Comet only gets 1.6 GB, which just isn't enough.

    I had the same confusion before. #1379 (comment) , maybe we can use executor off-heap memory (8g) as comet overhead memory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions