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

Does libmoon and FlowScope support more than 128 lcores? #104

Open
GrehXscape opened this issue Nov 20, 2020 · 1 comment
Open

Does libmoon and FlowScope support more than 128 lcores? #104

GrehXscape opened this issue Nov 20, 2020 · 1 comment

Comments

@GrehXscape
Copy link

I changed the .config file setting CONFIG_RTE_MAX_LCORE to 256, and rebuilt dpdk and libmoon. Now I can get 256 lcores running hello world example of DPDK:
QQ截图20201120144531
But when I run the libmoon hello world example, there is only 128 lcores(I put in some print functions to learn how it works, please ignore them):
QQ截图20201120144756
How can I change that?

@emmericp
Copy link
Member

libmoon expects CONFIG_RTE_MAX_LCORE=128 (and tries to use the last cores for our shared tasks), however, you should be able to change that to 256 here: https://github.com/libmoon/libmoon/blob/master/lua/dpdk.lua#L160

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