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

Failed to run sudo ./build/benchmark, meets ERROR: Assertion `nb_ports == 1' failed #1

Closed
alphaRGB opened this issue Oct 11, 2021 · 3 comments

Comments

@alphaRGB
Copy link

No description provided.

@alphaRGB alphaRGB changed the title Failed to run **sudo ./build/benchmark** Failed to run sudo ./build/benchmark, meets ERROR: Assertion `nb_ports == 1' failed Oct 11, 2021
@alphaRGB
Copy link
Author

Hello, I have build megakv and benchmark exacutable app successfully. And ./megakv run OK, but when I run sudo ./build/benchmark meet errors:

EAL: Detected 16 lcore(s)
EAL: No free hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
benchmark: /home/wei/GPPIM/MegaKV/megakv/benchmark/benchmark.c:733: main: Assertion `nb_ports == 1' failed.
Aborted

Is there any configuration to solve this problem? thank you.

@pzrq
Copy link
Owner

pzrq commented Oct 12, 2021

@alphaRGB I honestly don't know - https://github.com/pzrq/megakv/blob/master/src/include/mega_config.h looks like it might be "config"?

What environment are you running this on? Your local machine, AWS or something else?

Sorry I can't find the fork this came from at the moment, or the whitepaper, which probably had more details.

If it's helpful to you happy to accept PRs, though you may be better off forking it with any updates or fixes that work for you and your environment.

@alphaRGB
Copy link
Author

alphaRGB commented Oct 12, 2021

@alphaRGB I honestly don't know - https://github.com/pzrq/megakv/blob/master/src/include/mega_config.h looks like it might be "config"?

What environment are you running this on? Your local machine, AWS or something else?

Sorry I can't find the fork this came from at the moment, or the whitepaper, which probably had more details.

If it's helpful to you happy to accept PRs, though you may be better off forking it with any updates or fixes that work for you and your environment.

I have run benchmark on local machine, with ubuntu 18.04, with 2 intel CPUs + 2 NVIDIA V100 GPUs + 265G Memory. And I have an another question:

I want to get the 3 results of the experiments in paper- megaKV: https://dl.acm.org/doi/pdf/10.14778/2809974.2809984 :
Figure 13: Theoretical Maxium Speed for One GPU ~ Figure 15 Mega-KV Performance with Large Key-Value size.
But I down't find where to set the (Scheduling Cycles C (us) in code ? is this variable ?

#define NUM_SCHED_INS_DEL 0
, can I set it to 120, 140, 160 directly like the Figure 14 in paper when I run this executable app:
int main(int argc, char*argv[])

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