Skip to content

Report progress by completed particles - #57

Draft
rogeriojorge wants to merge 1 commit into
rj/fill-vmec-event-tailsfrom
rj/particle-batch-progress
Draft

Report progress by completed particles#57
rogeriojorge wants to merge 1 commit into
rj/fill-vmec-event-tailsfrom
rj/particle-batch-progress

Conversation

@rogeriojorge

Copy link
Copy Markdown
Member

Reports tracing progress after completed particle batches instead of solver steps.

  • Uses two batches by default for runs with more than 32 particles.
  • Accepts particle_batch_size to limit memory or change the update interval.
  • Uses one batch when progress is disabled.

The 200-particle QP profile kept 90 losses and 8 axis terminations. Tracing took 7.28 s versus 6.20 s for #56; peak RSS was 783 MB versus 781 MB.

Depends on #56. No test files changed.

@eduardolneto eduardolneto left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants