[GH-ISSUE #178] TTFTs increases with query processing #84

Closed
opened 2026-10-29 21:08:54 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @zhenwei-intel on GitHub (Mar 27, 2025).
Original GitHub issue: https://github.com/kvcache-ai/Mooncake/issues/178

Hello, thank you for this amazing project!

I’m encountering performance issues when running a ​1P1D:

  • Baseline: 2 instances server w/o chunked prefill.
  • 1P1D: 1 prefill & 1 decode, with tcp Mooncakestoreconnector.

​Observed Behavior:
TTFT remains stable even with query processing in baseline. while TTFT increases dramatically with query processing in 1P1D.

​Benchmark Script: python ../benchmark_serving.py --backend vllm --model meta-llama/Meta-Llama-3.1-8B-Instruct --dataset-name sonnet --dataset-path ../sonnet_4x.txt --sonnet-input-len 1024 --sonnet-output-len 6 --sonnet-prefix-len 50 --num-prompts 100 --port 8000 --host localhost --request-rate 2

Image

Image

Originally created by @zhenwei-intel on GitHub (Mar 27, 2025). Original GitHub issue: https://github.com/kvcache-ai/Mooncake/issues/178 Hello, thank you for this amazing project! I’m encountering performance issues when running a ​1P1D: - Baseline: 2 instances server w/o chunked prefill. - 1P1D: 1 prefill & 1 decode, with tcp Mooncakestoreconnector. **​Observed Behavior**: **TTFT remains stable even with query processing in baseline. while TTFT increases dramatically with query processing in 1P1D.** ​Benchmark Script: python ../benchmark_serving.py --backend vllm --model meta-llama/Meta-Llama-3.1-8B-Instruct --dataset-name sonnet --dataset-path ../sonnet_4x.txt --sonnet-input-len 1024 --sonnet-output-len 6 --sonnet-prefix-len 50 --num-prompts 100 --port 8000 --host localhost --request-rate 2 ![Image](https://github.com/user-attachments/assets/6292f2c8-26c1-4026-8cf7-66ab81bd2768) ![Image](https://github.com/user-attachments/assets/bf4bc7ad-770d-4748-9efd-f2bf95c45437)
Author
Owner

@onepick commented on GitHub (May 11, 2025):

@zhenwei-intel I hit the same issue, did you have any solution?

<!-- gh-comment-id:2869397490 --> @onepick commented on GitHub (May 11, 2025): @zhenwei-intel I hit the same issue, did you have any solution?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kvcache-ai/Mooncake#84
No description provided.