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

MCAD seems to be slow #17

Open
svkeerthy opened this issue Aug 11, 2024 · 0 comments
Open

MCAD seems to be slow #17

svkeerthy opened this issue Aug 11, 2024 · 0 comments

Comments

@svkeerthy
Copy link

svkeerthy commented Aug 11, 2024

Hi,

I was able to get the tool working by using the broker-improvements branch and dev-incremental-mca of custom LLVM. Using MCAD with QEMU to analyze trivial programs like Bellman-Ford takes about a minute whereas the actual runtime is <1s. Qemu process ends within few seconds and then MCAD takes a while to complete the analysis.

Can you please let me know if this is expected or am I going wrong somewhere?

Here are the commands I am running -

./llvm-mcad -mtriple="x86_64-unknown-linux-gnu" -mcpu="skylake" --load-broker-plugin=$PWD/plugins/qemu-broker/libMCADQemuBroker.so -broker-plugin-arg-host="localhost:9487"

./qemu-x86_64 -plugin /home/vk/LLVM-MCA-Daemon/build_llvm/plugins/qemu-broker/Qemu/libQemuRelay.so,arg="-addr=127.0.0.1",arg="-port=9487" -d plugin ~/a.out

I tried compiling the binary with both g++ (11.4.0) and clang++ (17.0.6).

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