mirror of
https://github.com/deepseek-ai/DeepEP.git
synced 2026-11-05 00:47:32 +00:00
[GH-ISSUE #624] [Performance] Warn if automatic NUMA balancing of the Linux kernel is enabled #374
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/DeepEP#374
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wenjianhn on GitHub (May 7, 2026).
Original GitHub issue: https://github.com/deepseek-ai/DeepEP/issues/624
The performance of
task_numa_workis unacceptable on Linux 5.15.It may add 16+ ms of latency to methods such as
deep_ep::Buffer::internode_dispatch.@wenjianhn commented on GitHub (Jun 12, 2026):
The Linux kernel selects busy threads to do NUMA placement(task_numa_work).
The thread that calls
internode_dispatch()is busy enough(e.g. 100% CPU usage).And it uses hundreds GB of memory. As a result, we frequently hit the issue.
@Functionhx commented on GitHub (Jul 9, 2026):
Good catch — NUMA balancing can really hurt RDMA bandwidth. I have a patch that reads /proc/sys/kernel/numa_balancing at import and issues a warning (with an env var to suppress). OK to PR?