Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To support multiple cores and threads for maxim performance. #493

Closed
hero18688 opened this issue Dec 24, 2015 · 1 comment
Closed

To support multiple cores and threads for maxim performance. #493

hero18688 opened this issue Dec 24, 2015 · 1 comment

Comments

@hero18688
Copy link

It is running on the WITI board which is based on MT7621AT with 2 cores 4 threads integrated.But ss-libev can't only use one thread.
ss

@madeye madeye closed this as completed in e921f40 Dec 25, 2015
@madeye
Copy link

madeye commented Dec 25, 2015

It's quite easy to enable multiple processes like this:

ss-redir -c config.json -u -f /tmp/pid1
ss-redir -c config.json -u -f /tmp/pid2
...

Then you will get several ss-redir processes working on the same port.

This feature requires the change e921f40 and Linux kernel > 3.9.

BTW, it could even work as a load balancer for different server configs. Just make sure different processes use the same local port.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants