Home › Forums › Discussions › Support › Wiresock poor performance
- This topic has 9 replies, 2 voices, and was last updated 4 weeks, 1 day ago by
Vadim Smirnov.
-
AuthorPosts
-
March 7, 2025 at 11:04 am #13977
I use wiresock for app-level VPN (Chrome), and for speedtest.net, speedtest.cloudflare.com it shows downgrade by 2-4 times:
w/o wireguard and w/o wiresock: download: 200mbs, upload: 150mbs
wireguard and w/o wiresock: download: 190mbs, upload: 135mbs
wiresock: download: 70mbs, upload: 40mbs
March 7, 2025 at 11:24 am #13978I have a 400/400 Mbps connection. Here are the test results using WireSock with a Cloudflare Warp configuration and an MTU set to 1280:
WireSock Virtual Adapter Mode
WireSock Transparent ModeI recommend checking your MTU settings. Unlike the official WireGuard client for Windows, WireSock does not defragment fragmented WireGuard UDP packets for performance reasons. Therefore, it is crucial to use an appropriate MTU to avoid connectivity issues.
March 7, 2025 at 12:42 pm #13979How to check and ensure that issue is fragmented WireGuard UDP packets?
March 7, 2025 at 12:45 pm #13980Also I use mtu 1280 on both sides – wireguard client and server have mtu == 1280
March 7, 2025 at 1:00 pm #13981Normally, you would see the errors in the log. However, please avoid using debug logging during performance measurements.
March 7, 2025 at 1:20 pm #13982can I somehow wireshark for that case?
March 7, 2025 at 9:11 pm #13983does wiresock have public code source?
March 8, 2025 at 11:48 am #13984WireSock CLI includes a built-in feature for capturing traffic and saving it as PCAP files.
Certain components of WireSock are open source, such as BoringTun and NDISAPI, while others are proprietary but available for commercial licensing.
March 8, 2025 at 12:35 pm #13987Does wiresock implement some complicated logic to handle performance issues as mtu missmatch, packets drops due to processing speed issue?
I guess wiresock can’t handle high-load traffic for application’s vpn as it intends to process each packet (what I know from ndisapi examples) before send it to Wireguard. But hope I am wrong
March 10, 2025 at 9:10 am #13991Yes, I’ve tested WireSock on a 10Gbps connection, and it has demonstrated decent performance, even outperforming the official WireGuard client in my tests.
Regarding high-load traffic, while WireSock processes packets before forwarding them to WireGuard, it is designed for efficiency. In practice, it handles substantial traffic loads well without becoming a bottleneck.
However, I recommend testing WireSock on a clean machine with a well-known WireGuard profile—such as Cloudflare Warp—to rule out any potential software conflicts at the low network level that might impact performance.
-
AuthorPosts
- You must be logged in to reply to this topic.