Skip to content

Performance issue caused by GC #1195

Answered by phoddie
linfan68 asked this question in Q&A
Aug 12, 2023 · 3 comments · 18 replies
Discussion options

You must be logged in to vote

That's some helpful data, thank you.

It is great to see that the worker managing serial is running fully asynchronously.

I added logging for async job execution time as well as GC time. for GC I'm not 100% sure where is the core GC function, I added a log at the end of fxCollect(), like this:

That's correct.

The garbage collector is taking most of the time. It is running more frequently than I had expected based on the initial report. So, let's focus there.

From the instrumentation line for the main VM, we can see:

  • System bytes free: 7563034
  • Chunk used: 76828
  • Chunk available: 78848
  • Slot used: 473760
  • Slot available: 474720
  • Stack available: 163840

You have lots of free system memory, so…

Replies: 3 comments 18 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@phoddie
Comment options

@linfan68
Comment options

@phoddie
Comment options

Answer selected by linfan68
@linfan68
Comment options

Comment options

You must be logged in to vote
14 replies
@linfan68
Comment options

@phoddie
Comment options

@phoddie
Comment options

@linfan68
Comment options

@phoddie
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants