Approximately 10% increase in CPU usage when running containerized application vs running the application directly on the host
- Windows Performance Recorder: built-in tool to troubleshoot performance related issues on Windows.
- Application with some CPU consumption (.exe)
- Same application containerized
- 2 Windows VM w/ same specs
-
Gathered perf data from running app directly on host:
- Start trace on host: wpr -start cpu -filemode
- Start application (.exe)
- Wait 10 seconds before stopping the recorder: wpr -stop trace.etl
-
Gathered perf data from running containerized application:
- Start trace on host: wpr -start cpu -filemode
- Start application (docker run)
- Wait 10 seconds before stopping the recorder: wpr -stop trace.etl
Double click trace.etl to dig into source of increased CPU usage: