mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[GH-ISSUE #4934] [Bug]: TENT hp_tcp is ~40% slower than the classic (non-TENT) TCP transport with the same number of connections #1254
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#1254
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 @leoleoasd on GitHub (Oct 26, 2026).
Original GitHub issue: https://github.com/kvcache-ai/Mooncake/issues/4934
Originally assigned to: @alogfans on GitHub.
Bug Report
Describe your performance question
On the same two hosts, with the same number of TCP connections and the same workload, TENT's
hp_tcptransport reaches only about 60% of the throughput of the classic TCP transport (MC_USE_TENTunset). Its throughput also varies a lot from run to run with an identical configuration.Environment
d53ddb9f, built with-DUSE_TENT=ON, host (DRAM) buffers.MC_USE_TENT=1,MC_TENT_CONFset to:MC_FORCE_TCP=1,MC_NUM_TCP_IO_THREADS=16,MC_TCP_LANES_PER_PEER=16.Workload
One sender process writes 32 GB into one receiver process as 16 MB WRITEs. It keeps a fixed number of writes in flight and submits a new one each time one completes:
Results (GB/s, one process pair, 16 connections, 16 MB writes)
With two process pairs, classic tcp reaches 19.8 GB/s and hp_tcp 10.9 GB/s. IPerf3 shows about 21.7GB/s ceiling.
Pushing a PR soon
Before submitting...
@github-actions[bot] commented on GitHub (Oct 26, 2026):
Thanks for opening this issue, @leoleoasd!
37735580A maintainer will triage this when possible. To help us respond faster, please include:
Useful links: Documentation · Contributing guide