Skip to content

perf(gfql): HOLDBACK — host-thread the dense-count kernel O(E) passes - #1852

Draft
lmeyerov wants to merge 1 commit into
perf/gfql-q8-dense-r3from
perf/gfql-q8-dense-r3-threads
Draft

perf(gfql): HOLDBACK — host-thread the dense-count kernel O(E) passes#1852
lmeyerov wants to merge 1 commit into
perf/gfql-q8-dense-r3from
perf/gfql-q8-dense-r3-threads

Conversation

@lmeyerov

@lmeyerov lmeyerov commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Stacked on #1851 (elision core). Holds the concurrency half of round 3 pending owner judgment: a small process-lifetime thread pool chunks the remaining bincount + gather-sum above 1M edges (both release the GIL). Open questions the owner flagged: library-owned pools vs host pools (oversubscription, fork safety), and whether the thread-free round-4 lever (filter projection pushdown) closes the gap without this. Do not merge unless both answers favor it.

Pins: threaded-vs-plain equality on uneven chunk boundaries; kernel-level threaded/unthreaded/oracle triple.

🤖 Generated with Claude Code

https://claude.ai/code/session_01MF7uRZLKZaD6Q9FGWSmyXi

Chunked 4-worker pool above 1M edges for the remaining bincount and the
gather-sum (both release the GIL); partial tables are O(domain). Small
inputs keep the exact single-thread lane; cupy untouched. Pool holds no
query state, outside gfql_clear_caches(). Held back pending owner call
on library-owned thread pools and on whether the thread-free round-4
lever (filter projection) suffices.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MF7uRZLKZaD6Q9FGWSmyXi
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.

1 participant