wiresock / WireSockUI

GUI to use Wiresock VPN Client in application mode
https://www.wiresock.net/
302 stars 14 forks source link

High cpu usage #30

Closed AK220011 closed 1 year ago

AK220011 commented 1 year ago

High cpu usage 2-25% with ryzen 5 5600x running windows 11, usually sits at 20, higher cpu usage than games, and it doesn't seem to matter whether I am downloading anything or not.

wiresock commented 1 year ago

Hello,

Regarding your concern, it's important to consider that if you are using application split tunneling with the WireSock VPN Client, the client needs to resolve the application context for each new connection. This process can be somewhat resource-intensive, especially in scenarios where multiple connections are being created and dropped frequently.

This overhead is due to the nature of how split tunneling operates, as it requires the VPN client to continuously determine which connections should go through the VPN and which should use the regular network.

Additionally, another factor that could contribute to CPU issues is the enabled logging feature within the WireSock VPN Client. Logging, especially when set to a detailed or verbose level, can be quite resource-intensive.

If you are experiencing performance issues, these could be some of the contributing factors. Understanding and adjusting these settings might help in optimizing the performance of your VPN client.

Hope it helps, Vadim