Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MPI circuit shared memory #210

Open
niconiconi opened this issue Feb 26, 2025 · 0 comments
Open

MPI circuit shared memory #210

niconiconi opened this issue Feb 26, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@niconiconi
Copy link
Contributor

Description

Our current process-based solution creates a separate copy of the circuit for each process. However, since the circuit is a fixed, constant component, it can be stored in a shared memory region. This approach would eliminate redundant copies, thereby saving memory and potentially improving performance.

Proposed Improvement

  • Shared Circuit Memory: Modify the system architecture to load the circuit once into a shared memory area accessible by all processes.
  • Memory Optimization: Ensure that each process references the shared circuit data instead of creating its own copy.

Benefits

  • Reduced Memory Footprint: Significant memory savings by avoiding duplicate circuit data in each process.
  • Improved Scalability: Better resource utilization as the system scales with more processes.
  • Potential Performance Boost: Faster initialization and reduced memory allocation overhead during runtime.
@niconiconi niconiconi added the enhancement New feature or request label Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants