Skip to content

[WIP] All threads compiling parallelism scaling experiment #5

@NHDaly

Description

@NHDaly

All tasks are compiling a new anonymous function lambda and then executing it (eval and invokelatest).

The goal is to measure scaling, to measure contention from compilation. The goal would be that compiling entirely independent code would have 0 contention.

In practice, it looks like currently it has 100% contention, due to a global mutex around compilation.

The code for this benchmark (added in 0f1c498) is here:
https://github.com/RelationalAI-oss/MultithreadingBenchmarks.jl/blob/0f1c498/src/bench/all_tasks_compiling.jl

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