cloudflare / boringtun

Userspace WireGuard® Implementation in Rust
BSD 3-Clause "New" or "Revised" License
5.92k stars 397 forks source link

How to use multiple cores #323

Closed wangzheng00 closed 1 year ago

wangzheng00 commented 1 year ago

boringtun's version: boringtun 0.5.2 OS: Ubuntu 22.04 I want to test boringtun's performance data using multi-core, for example, I want to allocate CPU 1-4 to boringtun or wireguard. wireguard connection is accelerated by multithreading. How do I need to configure it?