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

Implement different policies / handlers based on environment variables #12

Open
rbertran opened this issue Jun 17, 2019 · 0 comments
Open

Comments

@rbertran
Copy link
Collaborator

rbertran commented Jun 17, 2019

Enable a configuration API through environment variables.

We would like to do easily the following types of experiments (copied from a note I sent some time ago):

  • the application executed by the profiler (baseline + tracing overhead)
  • the application executed by the profiler + only inserting traps (baseline + tracing overhead + trapping overhead)
  • the application executed by the profiler + inserting traps + protect all + unprotect all on 1st failure (baseline + tracing overhead + trapping overhead + minimum tracing overhead)
  • the application executed by the profiler + inserting traps + protect all + unprotect the page on failures (baseline + tracing overhead + trapping overhead + tracing overhead)
  • the application executed by the profiler + inserting traps + protect all + do not unprotect the page on failures (baseline + tracing overhead + trapping overhead + maximum tracing overhead)
  • the application executed by the profiler + inserting traps + protect all + unprotect the page on failures and write to disk (all IO)

To do so, we should be able to control which of these 'modes' to use using either a command line argument or a environment variable. The main profiler/driver will select the handler based on that.

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