mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[GH-ISSUE #155] 集成vllm压测出现 Received context async event 和 Process failed for slice,性能不及预期 #76
Labels
No labels
ascend
auto-closed
bug
bug
CI/Build
Common
documentation
enhancement
feature request
good first issue
help wanted
high priority
MetaX
nightly-failure
pull-request
PyTorch Backend
question
RFC
Roadmap
stale
Store
Tests
Transfer Engine
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/Mooncake#76
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 @c-guo16 on GitHub (Mar 20, 2025).
Original GitHub issue: https://github.com/kvcache-ai/Mooncake/issues/155
使用官方提供的Mooncake集成vllm的方法,两GPU 1P1D,运行参数:
压测参数:
压测过程中,prefill机器出现:
decode机器出现大量报错:
压测性能相比pynccl有较大差距,平均TTFT 7600 vs 2250,平均TPOT 34.16ms vs 29.58ms,吞吐2671 vs 3460 token/s
@ShangmingCai commented on GitHub (Mar 21, 2025):
不太确定, 但有可能
--request-rate 16 --max-concurrency 16QPS太高可能会出现decode来不及取,buffer满的情况,最后可能就变成decode节点本地重计算prefill了。所以反应在吞吐和tpot上,建议提高kv_buffer_size和降低qps试试?另外冒昧问一下您使用的是rdma还是tcp?@alogfans worker pool这个报错会是上面这个原因吗?
@betrayyourself commented on GitHub (Apr 2, 2025):
目前来看,上面提到的RDMA报错和我压测过程中遇到的卡死都和内存注册相关,如果全程没有注册过large buffer,则不会出现上图所示的RDMA报错,如果有额外注册large buffer的需求就会发生卡死等问题。此外,使用gdr理论上可以更高效地完成kv传输,为什么方案中还要使用CPU内存进行传输呢?
@ShangmingCai commented on GitHub (Apr 2, 2025):
@betrayyourself 因为vllm现在关于PD分离方案的设计抽象不容易做gdr,我们得去侵入vllm gpucache的内存管理才能实现,目前是不太方便去改的;另外多一层cpu内存的buffer也可以支持除PD分离之外与KVCache相关的更多场景。
我们正在对接sglang,方案是会优先走gdr的,后续可以关注一下。
@betrayyourself commented on GitHub (Apr 3, 2025):
@ShangmingCai 您好,gdr相关的问题感谢解答。关于large buffer注册(input token size较大时)导致的网卡Work Request Flushed Error以及Reselect remote NIC的问题,想咨询下目前有遇到过么
@fanfanaaaa commented on GitHub (Apr 16, 2025):
同样的问题,放个屁股
@github-actions[bot] commented on GitHub (Jul 21, 2026):
This issue has had no activity for 90 days and will be closed in 7 days if there is no further activity. Please comment or react if it should stay open.
@github-actions[bot] commented on GitHub (Jul 28, 2026):
Closing due to 3 months of inactivity. If this is still relevant, please comment and we can reopen.