-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/21451/
-----------------------------------------------------------
Review request for mesos, Benjamin Hindman and Vinod Kone.
Bugs: MESOS-1278
https://issues.apache.org/jira/browse/MESOS-1278
Repository: mesos-git
Description
-------
Three new slave flags:
1. perf_events is a list of perf events to sample. This list is validated
through perf during isolation creation.
2. perf_interval is the time between starting new samples
3. perf_duration is the duration of each sample
e.g., you could sample cpu-cycles and cpu-migrations for 10 seconds every 60
seconds.
Isolator::usage() will initially return an empty PerfStatistics protobuf
(containing only the timing information) until the first sample is obtained.
After that it will return the most recent sample.
Diffs
-----
src/slave/containerizer/isolators/cgroups/perf_event.hpp PRE-CREATION
src/slave/containerizer/isolators/cgroups/perf_event.cpp PRE-CREATION
src/slave/containerizer/mesos_containerizer.cpp
2a4816ec34f2298b71e8591c1e92d77f94ef4cb3
src/slave/flags.hpp 8616817b9602f6ccf56e2af61f36c1bd295df1a1
Diff: https://reviews.apache.org/r/21451/diff/
Testing
-------
Test forthcoming.
Thanks,
Ian Downes