heiher / hev-socks5-server

A high-performance socks5 server for Unix (Linux/Android/BSD/macOS)
MIT License
185 stars 33 forks source link

microsocks benchmark #51

Closed rofl0r closed 1 month ago

rofl0r commented 1 month ago

hi, i just updated microsocks (git master) to achieve higher throughput. could you update your benchmark ? thanks!

heiher commented 1 month ago

Great! I'll remeasure it.

heiher commented 1 month ago

Congratulations!

microsocks

Repo: https://github.com/rofl0r/microsocks

Version: 1.0.4 → git 98421a21

Command:

microsocks -q -i 0.0.0.0 -p 1080

Upload

$ proxychains iperf3 -c 127.0.0.1
- - - - - - - - - - - - - - - - - - - - - - - - -
Speed:     13.6 → 32Gbps
CPU usage: 94 → 56%
MEM usage: 1.5M
$ proxychains iperf3 -c 127.0.0.1 -P 10
- - - - - - - - - - - - - - - - - - - - - - - - -
Speed:     87.7 → 191Gbps
CPU usage: 900 → 900%
MEM usage: 1.5M

Download

$ proxychains iperf3 -c 127.0.0.1 -R
- - - - - - - - - - - - - - - - - - - - - - - - -
Speed:    13.2 → 32.1Gbps
CPU usage: 94 → 56%
MEM usage: 1.5M
$ proxychains iperf3 -c 127.0.0.1 -R -P 10
- - - - - - - - - - - - - - - - - - - - - - - - -
Speed:     86.1 → 185Gbps
CPU usage: 900 → 898%
MEM usage: 1.5M
heiher commented 1 month ago

I also need to remeasure the other socks5 servers because things changed on Linux 6.9.1. :joy:

rofl0r commented 1 month ago

hmm, those numbers look identical to what you have in the old graph

heiher commented 1 month ago

hmm, those numbers look identical to what you have in the old graph

What you are looking at is the chart I have since updated. I have also updated the comment above so that now you can see the before and after.

rofl0r commented 1 month ago

cool, thanks!