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

Running performance benchmarks on DECAF #81

Open
johnfxgalea opened this issue Mar 12, 2020 · 3 comments
Open

Running performance benchmarks on DECAF #81

johnfxgalea opened this issue Mar 12, 2020 · 3 comments

Comments

@johnfxgalea
Copy link

Firstly, thank you for making Decaf open-source. I managed to get it running on my machine!

I am wondering whether you can share your experiences with running performance benchmarks on the system. Essentially, I want to measure the overhead of Decaf on my machine. Are there any tips and tricks that I should keep in mind please?

In particular, when I launch DECAF, I am struggling to actually start any of my performance experiments due to the significant overhead incurred (with tainting). In particular, I can't even start a terminal due to the overhead. Is this expected?

Moreover, I am running Ubuntu as a guest. Is support as stable for Linux as for Windows? I have VMI enabled.

Thanks!

@hengyin
Copy link
Collaborator

hengyin commented Mar 12, 2020 via email

@enlighten5
Copy link
Contributor

Hi,

To avoid the significant overhead introduced by the GUI, Lubuntu or pure TTY mode is recommended. To enter the TTY mode, you can start DECAF with -monitor stdio option, and enter sendkey ctrl-alt-f1 in qemu console after the system boot up.

For windows support, I only tested DECAF with WinXp images, it works well. It may not work on other Windows images like Win10. For Linux support, I have tested it on different versions of Ubuntu and Debian systems. It should work well on those systems. If you find the VMI does not work on your target system, try to generate a profile for it following the instructions in the procinfo_generic folder. Plus, to use the VMI, you have to allocate 2GB memory when starting the system.

Let me know if you have any further questions.

Zhenxiao

@johnfxgalea
Copy link
Author

Thanks a lot for your reply! Running in TTY mode made things so much easier!

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

3 participants