{"push_id":2717793006,"size":11,"distinct_size":3,"ref":"refs/heads/loadavg","head":"aff00fff91368317038cb04a274f038017821027","before":"90e729ab1d05eea81f6d5a1fb9703a14598d8ed7","commits":[{"sha":"8be92dd19ceecb0ab54f36cc69d5f3845ba29844","author":{"name":"Jakub Skokan","email":"491d883e0a792b3ec89c0275932a410b218c96fe@havefun.cz"},"message":"Per-container CPU usage in /proc/stat\n\nContainers can see utilization of all available CPUs, even if the CPU\nis utilized by other containers or by the host. The contents\nof `/proc/stat` is shared across the system, except for hiding CPUs\nexcluded by cpuset. This commit attempts to fix that, but at a cost.\nCPU usage is read from cpuacct cgroup, but that accounts only for\n`user` and `system` fields from `/proc/stat`. Idle time can be\ncalculated, but other fields cannot, thus are always set to 0.\nAdditionally, idle time is based on values from the host, so even\na freshly started container has large initial idle time.\n\nIf the cpuacct cgroup is not present, or reading from it fails, LXCFS\nwill return CPU usage stats from the host as before.\n\nSigned-off-by: Jakub Skokan <jakub.skokan@havefun.cz>","distinct":false,"url":"https://api.github.com/repos/aither64/lxcfs/commits/8be92dd19ceecb0ab54f36cc69d5f3845ba29844"},{"sha":"45bf5f3cab821a32e40020315fcd0e0ab4fcf13f","author":{"name":"Christian Brauner","email":"2314b2e3a4a1f7db165be2aafbf1efd78f28cc97@brauner.io"},"message":"Merge pull request #244 from aither64/perct-cpu-usage\n\nPer-container CPU usage in /proc/stat","distinct":false,"url":"https://api.github.com/repos/aither64/lxcfs/commits/45bf5f3cab821a32e40020315fcd0e0ab4fcf13f"},{"sha":"187c264cebec25cfbfd89d979c9a6fdc6aba8a1f","author":{"name":"Christian Brauner","email":"48455ab3070520a2d174545c7239d6d0fabd9a83@ubuntu.com"},"message":"travis: add coverity support\n\nSigned-off-by: Christian Brauner <christian.brauner@ubuntu.com>","distinct":false,"url":"https://api.github.com/repos/aither64/lxcfs/commits/187c264cebec25cfbfd89d979c9a6fdc6aba8a1f"},{"sha":"e70d58ccb7fbf6fff948ad15b5a391b89d86dd11","author":{"name":"Christian Brauner","email":"48455ab3070520a2d174545c7239d6d0fabd9a83@ubuntu.com"},"message":"travis: fix .travis.yml\n\nSigned-off-by: Christian Brauner <christian.brauner@ubuntu.com>","distinct":false,"url":"https://api.github.com/repos/aither64/lxcfs/commits/e70d58ccb7fbf6fff948ad15b5a391b89d86dd11"},{"sha":"832904c17476619af8fa74dd25b5f2dd9c52d095","author":{"name":"Jakub Skokan","email":"491d883e0a792b3ec89c0275932a410b218c96fe@havefun.cz"},"message":"bindings: fix memory leak in calc_pid()\n\nSigned-off-by: Jakub Skokan <jakub.skokan@havefun.cz>","distinct":false,"url":"https://api.github.com/repos/aither64/lxcfs/commits/832904c17476619af8fa74dd25b5f2dd9c52d095"},{"sha":"8437cc6cb6b424cdb81db35915b7914ef934e736","author":{"name":"Christian Brauner","email":"2314b2e3a4a1f7db165be2aafbf1efd78f28cc97@brauner.io"},"message":"Merge pull request #245 from aither64/loadavg-leak\n\nbindings: fix memory leak in calc_pid()","distinct":false,"url":"https://api.github.com/repos/aither64/lxcfs/commits/8437cc6cb6b424cdb81db35915b7914ef934e736"},{"sha":"559eaa8f9b352105a1118c3f11be7a27c8864d36","author":{"name":"Jakub Skokan","email":"491d883e0a792b3ec89c0275932a410b218c96fe@havefun.cz"},"message":"meminfo: read shmem from cgroup parameter memory.stat\n\nShmem was passed as-is from the host, but other fields weren't (such as\nCached and SReclaimed), which has caused htop to show incorrect memory usage.\nIf `total_shmem` is found in `memory.stat`, it is used, otherwise `Shmem`\nis reported as zero.\n\nSigned-off-by: Jakub Skokan <jakub.skokan@havefun.cz>","distinct":false,"url":"https://api.github.com/repos/aither64/lxcfs/commits/559eaa8f9b352105a1118c3f11be7a27c8864d36"},{"sha":"28cdea9b6be4aa51f00a76538f3748d015d6c2b6","author":{"name":"Jakub Skokan","email":"491d883e0a792b3ec89c0275932a410b218c96fe@havefun.cz"},"message":"meminfo: set ShmemHugePages and ShmemPmdMapped to zero\n\nSigned-off-by: Jakub Skokan <jakub.skokan@havefun.cz>","distinct":false,"url":"https://api.github.com/repos/aither64/lxcfs/commits/28cdea9b6be4aa51f00a76538f3748d015d6c2b6"},{"sha":"dd43c518918cce7f347d78214052b229b4a72f3f","author":{"name":"Christian Brauner","email":"2314b2e3a4a1f7db165be2aafbf1efd78f28cc97@brauner.io"},"message":"Merge pull request #248 from aither64/meminfo\n\nmeminfo: read shmem from memory cgroup","distinct":true,"url":"https://api.github.com/repos/aither64/lxcfs/commits/dd43c518918cce7f347d78214052b229b4a72f3f"},{"sha":"09c85746dfd6df29001efbf247dd5cab4fe9754a","author":{"name":"Jakub Skokan","email":"491d883e0a792b3ec89c0275932a410b218c96fe@havefun.cz"},"message":"Add /proc/.loadavgs\n\n/proc/.loadavgs is an invisible file, which is accessible only from\nthe host, containers cannot read it. It contains a list of all\ntracked per-container load averages. This makes it simpler to gather\nall load averages.","distinct":true,"url":"https://api.github.com/repos/aither64/lxcfs/commits/09c85746dfd6df29001efbf247dd5cab4fe9754a"},{"sha":"aff00fff91368317038cb04a274f038017821027","author":{"name":"Jakub Skokan","email":"491d883e0a792b3ec89c0275932a410b218c96fe@havefun.cz"},"message":"loadavg: approximate buffer size based on number of containers","distinct":true,"url":"https://api.github.com/repos/aither64/lxcfs/commits/aff00fff91368317038cb04a274f038017821027"}]}
{"actor":{"display_login":"aither64"}}