$ runc --version
runc version 1.0.0-rc4+dev
commit: f53ad9cec928821a25c2a74eb8bd95558f8cf152-dirty
spec: 1.0.0
$ containerd --version
containerd github.com/containerd/containerd v1.0.0-beta.3-86-g9649a42 9649a428e8c470cddc0d5a3c394f36111f940adc
Code: https://github.com/kunalkushwaha/cri-containerd-flame/tree/powertest-flamegraph
make[1]: Entering directory '/home/kunal/go/src/github.com/kunalkushwaha/cri-containerd-flame'
docker run --rm --cidfile=run/torch --log-driver=none --net=container:88f2825b36316541304f295abb3a714a415efa81e77b85e2e3284239e51f4150 uber/go-torch --print -t "60" > "run"/torch.svg; \
rm run/torch; \
docker logs -f 71a7d3d1393691a5fee1ce3786df0f59ac2f3c90f65b9c0cf594da4a1c642689; \
docker rm 71a7d3d1393691a5fee1ce3786df0f59ac2f3c90f65b9c0cf594da4a1c642689; \
rm run/bench
INFO[01:37:56] Run pprof command: go tool pprof -raw -seconds 60 http://localhost:8080/debug/pprof/profile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "context" | |
| "fmt" | |
| "log" | |
| "syscall" | |
| "time" | |
| "github.com/containerd/containerd" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM scratch | |
| ADD high-mem-allocator / | |
| ENTRYPOINT ["/high-mem-allocator"] | |
| CMD ["1"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "metadata": { | |
| "name": "powertest", | |
| "attempt": 1 | |
| }, | |
| "image": { | |
| "image": "docker.io/library/alpine:latest" | |
| }, | |
| "command": [ | |
| "/bin/sh" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "os" | |
| "gopkg.in/headzoo/surf.v1" | |
| ) | |
| func main() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "Clear": "weather-clear-symbolic", | |
| "Drizzle": "weather-showers-scattered-symbolic", | |
| "Light Rain":"weather-showers-scattered-symbolic", | |
| "Rain": "weather-showers-symbolic", | |
| "Snow": "weather-snow-symbolic", | |
| "Partly Cloudy": "weather-few-clouds-symbolic", | |
| "Cloudy": "weather-few-clouds-symbolic", | |
| "Humid and Mostly Cloudy": "weather-few-clouds-symbolic", | |
| "Mostly Cloudy": "weather-few-clouds-symbolic", |
$ ifconfig
docker0 Link encap:Ethernet HWaddr 02:42:de:92:29:22
inet addr:172.17.0.1 Bcast:172.17.255.255 Mask:255.255.0.0
inet6 addr: fe80::42:deff:fe92:2922/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo dnf install appcenter audience maya-calendar noise pantheon-calculator pantheon-files pantheon-files pantheon-photos pantheon-terminal scratch-text-editor screenshot-tool snap-photobooth switchboard elementary-icon-theme elementary-theme pandora-wallpapers plank gala pantheon-agent-polkit pantheon-session-settings slingshot-launcher wingpanel |