Skip to content

Allow fractional jobs to automatically scale by number of CPUs (200USD Bounty) #3482

Description

@lihaoyi

From the maintainer Li Haoyi: I'm putting a 200USD bounty on this issue, payable by bank transfer on a merged PR implementing this.


so -j 0.5 on a 10 CPU machine would be the same as -j 5, on a 4 CPU machine the same as -j 2, etc. -j 1.0 would be the current default, and -j 2.0 would mean twice as many jobs as CPUs (e.g. if they're mostly IO bound).

I've wanted -j 0.5 myself to use in Mill's own CI, because Mill tests are very heavy and use more than one thread per task, and it would be nice if the same -j config would just do the right thing on different machines with different amounts of available compute

Metadata

Metadata

Assignees

No one assigned

    Labels

    bountyThe fix/close of this issue is rewarded with a bounty

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions