Skip to content

[Feature]: Support multi-core concurrency to optimize Simunet resource utilization #15

Description

@ZHbobby

Description
Currently, Simunet operates on a single CPU core by default during startup and task execution. This lead to significant resource underutilization on multi-core server environments. As simulation scales and computational demands increase, the single-core processing capacity has become a major bottleneck for the system.

Proposal
I suggest introducing a multi-processing or multi-threading mechanism to enable multi-core support.

Configurable Workers: Support a configuration option at startup to specify the number of CPU cores/workers to be used.

Workload Distribution: Distribute workloads across multiple cores to significantly enhance overall system throughput and processing speed.

Expected Benefit
This improvement will allow Simunet to fully leverage modern hardware resources, reducing execution time for large-scale simulations and improving horizontal scalability.

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions