Skip to content

Remove necessity for fork process-start mechanism in multiprocess benchmarks #598

Open

Description

@wence-

Per #597, Python 3.14 changed the default start mechanism for multiprocessing to use "forkserver" rather than "fork". This was a safety thing (using fork correctly is very hard).

I am not sure that it is necessary for the benchmarks to start the subprocesses with fork, or if (because that was the default) we just picked up child processes that inherited the parent state and hence could use "implicit" data sharing.

In any case, ideally we probably wouldn't require fork as the multiprocessing mechanism.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions