----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/57757/#review169462 -----------------------------------------------------------
src/main/python/apache/thermos/monitoring/resource.py Lines 121-123 (patched) <https://reviews.apache.org/r/57757/#comment241806> Can we encode the units into the names of the variables? src/main/python/apache/thermos/observer/task_observer.py Lines 56 (patched) <https://reviews.apache.org/r/57757/#comment241807> s/TAKS/TASK/ src/main/python/apache/thermos/observer/task_observer.py Lines 56-57 (patched) <https://reviews.apache.org/r/57757/#comment241809> Can we sync the time units across these variables? It is confusing to figure out the unit of the defaults vs the incoming params. - Santhosh Kumar Shanmugham On March 19, 2017, 3:50 p.m., Stephan Erb wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/57757/ > ----------------------------------------------------------- > > (Updated March 19, 2017, 3:50 p.m.) > > > Review request for Aurora, Santhosh Kumar Shanmugham and Zameer Manji. > > > Bugs: AURORA-1907 > https://issues.apache.org/jira/browse/AURORA-1907 > > > Repository: aurora > > > Description > ------- > > We have noticed that on hosts with lots of active tasks (~100) the observer UI > is not usable. Thermos fully utilizes one core but does not render any > requests. > > Dumping `/threads` indicates the observer might be backlogged by the hundred > concurrent `TaskResourceMonitor` threads. Due to the Python GIL only one can > make progress at a time though. > > This patch is now adding options to control the resource collection interval, > giving operators a possibility to reduce the CPU pressure. > > -- > > Reviewer notes: I dropped the entrypoint test as it was heavily relying on > mocks > without significant code coverage. > > > Diffs > ----- > > RELEASE-NOTES.md d58d2bd2558c2060aa659402ea88271bd8704cde > docs/README.md 1d679e27cf26122c34a9157194f189ce3035b176 > docs/reference/observer-configuration.md PRE-CREATION > src/main/python/apache/aurora/tools/thermos_observer.py > 4bba01930434f33150b0413d20d9657b61b364c5 > src/main/python/apache/thermos/monitoring/resource.py > 53d0ff1a71c27f053c59acca556c35d1e5ac91f0 > src/main/python/apache/thermos/observer/task_observer.py > 1485de8faef52716f11b82a3556064de26c67427 > src/test/python/apache/aurora/tools/test_thermos_observer_entry_point.py > e1c8dec5f26be1aec931b1a614ecc138ae63d9de > > > Diff: https://reviews.apache.org/r/57757/diff/2/ > > > Testing > ------- > > ./pants test.pytest src/{test,main}/python:: -- -v > > > Thanks, > > Stephan Erb > >
