Re: Review Request 34310: Use IDLE scheduling for revocable CPU in cgroups isolator.

2015-06-01 Thread Ian Downes
On May 16, 2015, 1:03 p.m., Joris Van Remoortere wrote: Hi Ian, I'm wondering about the `Note` regarding only setting the scheduling policy to IDLE if the initial resources are revocable. I think this exposes many scenarios where the isolator will seem `enabled` to the operator,

Re: Review Request 34310: Use IDLE scheduling for revocable CPU in cgroups isolator.

2015-05-29 Thread Mesos ReviewBot
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34310/#review85810 --- Patch looks great! Reviews applied: [34308, 34309, 34310] All

Re: Review Request 34310: Use IDLE scheduling for revocable CPU in cgroups isolator.

2015-05-29 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34310/#review85799 --- Ship it! - Vinod Kone On May 29, 2015, 7:57 p.m., Ian Downes

Re: Review Request 34310: Use IDLE scheduling for revocable CPU in cgroups isolator.

2015-05-19 Thread Niklas Nielsen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34310/#review84338 --- LGTM - Can we wire up a test for this?

Re: Review Request 34310: Use IDLE scheduling for revocable CPU in cgroups isolator.

2015-05-19 Thread Timothy Chen
On May 16, 2015, 4:46 a.m., Timothy Chen wrote: src/slave/containerizer/isolators/cgroups/cpushare.cpp, line 345 https://reviews.apache.org/r/34310/diff/1/?file=961963#file961963line345 What if the same set of resources contains both revocable and non-revocable resources? Ian

Re: Review Request 34310: Use IDLE scheduling for revocable CPU in cgroups isolator.

2015-05-19 Thread Ian Downes
On May 19, 2015, 12:42 p.m., Vinod Kone wrote: My high leve comment: Lets add the following check/invariant in the master: An executor and all its tasks should all use regular resources or should all use revocable resources. We can relax this policy in the future when we

Re: Review Request 34310: Use IDLE scheduling for revocable CPU in cgroups isolator.

2015-05-19 Thread Ian Downes
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34310/ --- (Updated May 19, 2015, 12:58 p.m.) Review request for mesos, Joris Van

Re: Review Request 34310: Use IDLE scheduling for revocable CPU in cgroups isolator.

2015-05-19 Thread Ian Downes
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34310/ --- (Updated May 19, 2015, 3:43 p.m.) Review request for mesos, Joris Van

Re: Review Request 34310: Use IDLE scheduling for revocable CPU in cgroups isolator.

2015-05-19 Thread Jie Yu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34310/#review84353 --- src/slave/containerizer/isolators/cgroups/cpushare.cpp

Re: Review Request 34310: Use IDLE scheduling for revocable CPU in cgroups isolator.

2015-05-18 Thread Ian Downes
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34310/ --- (Updated May 18, 2015, 10:33 a.m.) Review request for mesos, Joris Van

Re: Review Request 34310: Use IDLE scheduling for revocable CPU in cgroups isolator.

2015-05-18 Thread Ian Downes
On May 16, 2015, 1:03 p.m., Joris Van Remoortere wrote: Hi Ian, I'm wondering about the `Note` regarding only setting the scheduling policy to IDLE if the initial resources are revocable. I think this exposes many scenarios where the isolator will seem `enabled` to the operator,

Re: Review Request 34310: Use IDLE scheduling for revocable CPU in cgroups isolator.

2015-05-18 Thread Ian Downes
On May 15, 2015, 9:46 p.m., Timothy Chen wrote: src/slave/containerizer/isolators/cgroups/cpushare.cpp, line 345 https://reviews.apache.org/r/34310/diff/1/?file=961963#file961963line345 What if the same set of resources contains both revocable and non-revocable resources? Hmm, I

Re: Review Request 34310: Use IDLE scheduling for revocable CPU in cgroups isolator.

2015-05-18 Thread Mesos ReviewBot
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34310/#review84213 --- Bad patch! Reviews applied: [34308, 34309, 34308] Failed command:

Re: Review Request 34310: Use IDLE scheduling for revocable CPU in cgroups isolator.

2015-05-18 Thread Mesos ReviewBot
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34310/#review84218 --- Bad patch! Reviews applied: [34308, 34308] Failed command:

Re: Review Request 34310: Use IDLE scheduling for revocable CPU in cgroups isolator.

2015-05-18 Thread Ian Downes
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34310/ --- (Updated May 18, 2015, 1:49 p.m.) Review request for mesos, Joris Van

Review Request 34310: Use IDLE scheduling for revocable CPU in cgroups isolator.

2015-05-15 Thread Ian Downes
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34310/ --- Review request for mesos, Joris Van Remoortere, Niklas Nielsen, and Vinod Kone.

Re: Review Request 34310: Use IDLE scheduling for revocable CPU in cgroups isolator.

2015-05-15 Thread Timothy Chen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34310/#review84024 --- src/slave/containerizer/isolators/cgroups/cpushare.cpp