Commit Graph

55 Commits

Author SHA1 Message Date
Diptanu Choudhury
12f3da9ad4 Not converting the abs path relative to task dir for drivers which enforce FS isolation only in linux 2016-06-12 13:54:30 +02:00
Diptanu Choudhury
446d3f22f2 Pruning out pids which are no longer present 2016-06-11 01:40:52 +02:00
Diptanu Choudhury
d31034941a Not reset-ing the list of pids if they don't change 2016-06-11 01:19:50 +02:00
Diptanu Choudhury
4ac1c673aa Implementing the total ticks per task for the docker driver 2016-06-10 23:33:25 +02:00
Diptanu Choudhury
c13e750a02 Calculating the cpu ticks in nomad client 2016-06-10 22:22:32 +02:00
Alex Dadgar
693c8f9e42 Alloc-status only shows measured statistics and fixes to CPU calculations 2016-06-10 10:38:29 -07:00
Diptanu Choudhury
d594d95012 Fixed merge conflicts 2016-06-10 04:47:34 +01:00
Diptanu Choudhury
06e90cb6c0 Using named variables 2016-06-10 04:45:16 +01:00
Diptanu Choudhury
8d52390aca Fixed calculation of cpu usage percent in user and sys mode for pids 2016-06-10 04:06:32 +01:00
Alex Dadgar
17af581d93 Annotate what is measured 2016-06-09 19:45:41 -07:00
Diptanu Choudhury
993675dd4e Added a test for docker 2016-05-28 19:59:20 -07:00
Diptanu Choudhury
f16191c297 comments 2016-05-28 19:59:20 -07:00
Diptanu Choudhury
c99733e8c7 Fixed the compilation on linux 2016-05-28 19:59:20 -07:00
Diptanu Choudhury
584c1e34fb Incorporated review comments for executor 2016-05-28 19:59:20 -07:00
Diptanu Choudhury
6132ccc230 Added pidstats in task resource usage struct 2016-05-28 19:59:20 -07:00
Diptanu Choudhury
3192e318e9 Renamed CpuUsage to CpuStats 2016-05-28 19:59:20 -07:00
Diptanu Choudhury
16f298fb95 Fixed the percentage calculation for cgroups 2016-05-28 19:59:20 -07:00
Diptanu Choudhury
98068678f1 Implemented nomad cpu percentage calculator 2016-05-28 19:59:03 -07:00
Diptanu Choudhury
30cbfe1f71 Implemented cpu stats 2016-05-28 19:51:22 -07:00
Diptanu Choudhury
0fdff61d2d Implemented stats for raw_exec 2016-05-28 19:42:34 -07:00
Diptanu Choudhury
7d8196d7ea Added some documentation 2016-05-28 19:42:34 -07:00
Diptanu Choudhury
f390261cd0 Reporting time series of stats 2016-05-28 19:42:34 -07:00
Diptanu Choudhury
50250b1455 Added the nomad stats command 2016-05-28 19:42:34 -07:00
Diptanu Choudhury
a485a38029 Added cpu stats 2016-05-28 19:42:34 -07:00
Diptanu Choudhury
01e0ae7753 Added a client API to display resource usage of an allocation 2016-05-28 19:42:34 -07:00
Diptanu Choudhury
1cae57aee9 Add the Stats api to driverhandle 2016-05-28 19:42:34 -07:00
Alex Dadgar
44627677f7 Freeze the cgroup and cleanup around Shutdown 2016-04-19 13:48:02 -07:00
Alex Dadgar
7616be8094 Put the executor into the cgroup to avoid a fork race 2016-04-18 17:59:08 -07:00
Alex Dadgar
9f1976ef3e remove systemd cgroup manager 2016-04-15 14:55:30 -07:00
Diptanu Choudhury
36d8c7e831 Setting the cg path after application of pid 2016-04-02 12:37:19 -07:00
Diptanu Choudhury
339cb0b750 Setting the cgroup config after applying pid 2016-04-02 12:37:19 -07:00
Diptanu Choudhury
ced78c9457 Using the paths of cgroups to reconstruct the manager 2016-04-02 12:37:19 -07:00
Alex Dadgar
cfb46db65f include all of usr 2016-03-29 16:14:56 -07:00
Alex Dadgar
2036e96f51 ArtifactDownloaded in task runner state 2016-03-28 17:24:10 -07:00
Alex Dadgar
a55b4fcdaa Merge branch 'master' into f-artifact-location 2016-03-19 12:50:44 -07:00
Alex Dadgar
74ad85e33d binary lookup path 2016-03-19 12:18:10 -07:00
Diptanu Choudhury
0f355e8f87 Introduced a method in executor to launch syslog server 2016-03-18 11:49:10 -07:00
Alex Dadgar
23de2f95a4 document artifact downloading 2016-03-16 09:56:04 -07:00
Alex Dadgar
2db5b298aa Make user specified tasks executable 2016-03-15 19:22:40 -07:00
Alex Dadgar
923618c1ac executor: add /run/resolvconf to chroot 2016-03-10 15:05:49 -08:00
Alex Dadgar
4a243e78d3 Add /sbin and /usr/sbin/ to chroot 2016-03-02 16:32:31 -08:00
Diptanu Choudhury
71fb58cea0 Added a comment 2016-03-02 12:56:56 -08:00
Diptanu Choudhury
a96b25bc5b Not killing the plugin while destroying the cgroup 2016-03-01 17:51:54 -08:00
Diptanu Choudhury
f1301c9378 Fixed the logic of cgroup creation 2016-03-01 17:01:45 -08:00
Alex Dadgar
207d544a55 client: standardize error logging format 2016-02-24 15:57:58 -08:00
Alex Dadgar
1a31340075 Unmount special directories when task finishes 2016-02-08 18:51:11 -08:00
Diptanu Choudhury
cc6e2b73f0 Moved the destroycgroup method into executor 2016-02-08 16:08:29 -08:00
Diptanu Choudhury
fbc3279da9 Appending names of sub-system before log lines 2016-02-08 14:47:10 -08:00
Diptanu Choudhury
de4417d8d8 Removing pathExists from executor 2016-02-08 14:40:54 -08:00
Diptanu Choudhury
747d3202ca Moving code to mount and unmount chroot into allocdir 2016-02-08 14:11:53 -08:00