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 understand the argument when executing single benchmark test #23

Open
Yunshui96 opened this issue Aug 16, 2023 · 0 comments
Open

Comments

@Yunshui96
Copy link

Yunshui96 commented Aug 16, 2023

Testing with the whole suite takes a long time, and it's unnecessary if there's only one benchmark's result of interest. In my case it's Prot Fault which belongs to File&VM system latencies group.
After successfully building the whole lmbench suite, I tried to run the single benchmark case by going to the /bin/$ARCH-pc-linux-gnu directory under the lmbench directory and runing command ./lat_sig prot . However, it prompts the following info, seems like my usage was somewhat wrong.

root@jys-optiplex7060:/opt/lmbench-3.0-a9-1/bin/x86_64-pc-linux-gnu# ./lat_sig prot
Usage: ./lat_sig [-P <parallelism>] [-W <warmup>] [-N <repetitions>] install|catch|prot [file]

And then I ran as following but it still look wrong.

root@jys-optiplex7060:/opt/lmbench-3.0-a9-1/bin/x86_64-pc-linux-gnu# ./lat_sig prot /usr/tmp
mmap: Bad file descriptor

I tried my best but failed to figure out the correct way to define the argument [file]. Can anybody help? many thanks!

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

1 participant