Skip to content

Proof search: rationale & configurability of env_pool max parallelismΒ #19

@hlxr89

Description

@hlxr89

Hi! Thanks for the great work on ProofWala πŸ‘‹
While exploring the proof-search runner, I noticed the env_pool max parallelism is computed as:

max_parallelism = int(0.15625 * os.cpu_count()) # comment: β€œdon’t go beyond 0.6”

This makes the default ~5/32 cores on a 32-core machine, with an implicit ceiling around 60% of CPU. Could you share the rationale for these numbers? Are they tuned to Lean server behavior, Ray scheduling overhead, GPU-bound LLM inference, or memory pressure? I just thought it would have greatly enhance the performance if it allows more parallelism.

Many thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions