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

Add multi core support #326

Closed
sdanfa opened this issue May 18, 2024 · 6 comments
Closed

Add multi core support #326

sdanfa opened this issue May 18, 2024 · 6 comments

Comments

@sdanfa
Copy link

sdanfa commented May 18, 2024

Hello,
Is there any plan to add multi core support on udp speeder? It is a very useful app for me but it's lacking multi core support. I hope you can add it.

Thank you!

@wangyu-
Copy link
Owner

wangyu- commented May 18, 2024

No plan at the moment.

Multiple-core is not super hard, but I have concerns about implementing it.

Also multiple-core is not the biggest possible improvement. I actually have investigated a avx2 enabled FEC library which can improve the performance by 10x,even if with single-core.   (Combining avx2 and multiple core, it's not hard to achieve a performance improvement of 40x)

But I am worrying about this program being abused.   I have seen a lot that people are sending crazy amounts of redundant packets (e.g. 10 times than original).

So I would like to keep the performance as-is.

@wangyu-
Copy link
Owner

wangyu- commented May 19, 2024

In addition:

  1. The current performance is enough for my personal use. So I don't have much impetus for my own sake.
  2. Currently I am occupied with work, doesn't have much time on this. (I am a visa holder in the US, lost job means lost visa)

If you have large scale commercial use case, you can possibly mail me for collaboration in furture.

@sdanfa
Copy link
Author

sdanfa commented May 19, 2024

Hi, the performance in embedded router is pretty bad right now. Especially the small arm cpu struggle. Will you be able to fix the performance please? It would be helpful for me.

Thanks!

@wangyu-
Copy link
Owner

wangyu- commented May 19, 2024

Sorry, no.

If you urgently need, get a more powerful device.

@wangyu-
Copy link
Owner

wangyu- commented May 19, 2024

Or trying to distrubute load to multiple UDPspeeder instance.

@wangyu- wangyu- closed this as completed May 19, 2024
@sdanfa
Copy link
Author

sdanfa commented May 23, 2024

Hi my friend, is the banana pi new router good for this? Can you fix the code for it to run good on banana pi openwrt new router?

Thank you so much!

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

No branches or pull requests

2 participants