database64128 / swgp-go

🐉 Simple WireGuard proxy with minimal overhead for WireGuard traffic.
GNU Affero General Public License v3.0
224 stars 23 forks source link

Need x86-64 baseline version #28

Closed Leozaki closed 1 year ago

Leozaki commented 1 year ago

log: This program can only be run on AMD64 processors with v2 microarchitecture support. This program can only be run on AMD64 processors with v3 microarchitecture support. cpu don't have these support.

database64128 commented 1 year ago

Then you have to build your own binary. I don't think it's worth the extra CI time to build binaries for CPUs that are over 13 years old.

Leozaki commented 1 year ago

i think lots of virtual machines, nas, softwarebased-routers needs this..

database64128 commented 1 year ago

i think lots of virtual machines, nas, softwarebased-routers needs this..

That's clearly not the case. Even the worst VPS provider I've ever used has x86-64-v2.

ChaCha20-Poly1305 is designed for modern CPUs with wide vector instructions. If your CPU only has x86-64-v1, expect very low throughput.