Skip to content

Hang in GC with groupby #288

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

Closed
krynju opened this issue Oct 13, 2021 · 0 comments
Closed

Hang in GC with groupby #288

krynju opened this issue Oct 13, 2021 · 0 comments

Comments

@krynju
Copy link
Member

krynju commented Oct 13, 2021

julia -t16 - many threads

using Dagger
nt = (a=rand(Int, 100_000_000).%1000,)
d = DTable(nt, 1_000_000)
Dagger.groupby(d, :a)
Dagger.groupby(d, :a)
Dagger.groupby(d, :a)
Dagger.groupby(d, :a)

observations:

  • multiple threads (usually 3-4) actively waiting (pinned 100%) on a gc_safepoint (they want to run gc)
  • one thread stuck in gc - gdb observations - constantly switch between enable_finalizers/disable_finalizers
  • never ends, stuck forever
  • happens on both windows, linux
  • only heavily multithreaded, low thread count doesn't seem to trigget it that much
  • disabling GC for the groupby results in a pass

ideas:

  • absolutely none
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

No branches or pull requests

1 participant