mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #5281] [Performance] VirtualNet(XTCP) throughput significantly lower than standard XTCP proxy #4080
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#4080
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 @kami93 on GitHub (Apr 7, 2026).
Original GitHub issue: https://github.com/fatedier/frp/issues/5281
Bug Description
Description
Hi, I am very interested in the new VirtualNet feature and have already integrated it into my workflow. However, I’ve observed a significant performance discrepancy: the network transfer rate is substantially slower when using VirtualNet compared to a standard Proxy setup, even though both are based on XTCP.
Environment & Methodology
I tested the download and upload rates between two nodes, both located behind distinct NATs. The tests were performed using
ddoverssh.1. VirtualNet (XTCP)
Download: ~450 kB/s
Upload: ~386 kB/s
2. Standard Proxy (XTCP)
Download: ~2.6 MB/s
Upload: ~1.9 MB/s
Observation
The VirtualNet throughput is roughly 5–6x slower than the standard XTCP proxy under the same network conditions. Could you look into whether there is an inherent overhead or a specific bottleneck in the VirtualNet implementation?
Configuration
Below are the
frpcconfigs for both nodes (sensitive information redacted):node1 (server)
node2 (client)
frpc Version
0.68.0
frps Version
0.68.0
System Architecture
linux/amd64 (node1), macos/aarch64 (node2), and linux/amd64 (frps)
Configurations
see Configuration section.
Logs
No response
Steps to reproduce
No response
Affected area