ECS Containers - Performance Test
The container agent running with root privileges cannot directly monitor rootless containers, eG Enterprise now has enhanced support to track and monitor rootless workloads effectively. This ensures that users can still gain visibility into resource usage, performance metrics, and learn about potential issues in their rootless task environments as well.
By default, the containers use a certain amount of CPU and memory resources. Sometimes, a single container may end up hogging CPU and memory resources leaving the rest of the containers with no available resources. To isolate such resource hogging containers, it is necessary to periodically monitor the resource utilization of the containers. The ECS Containers Performance test helps administrators in this regard!
For each container launched using the target ECS Fargate Task, this test reports the resource utilization in the container. Using this test, administrators can identify resource-intensive containers, analyze the root-cause of such high resource utilization and rectify the same at the earliest.
Target of the test : ECS Fargate Task
Agent deploying the test : An internal agent
Outputs of the test : One set of results for each container available in the target ECS Fargate Task being monitored.
| Parameter | Description |
|---|---|
|
Test Period |
How often should the test be executed. |
|
Host |
The IP address of the host for which this test is to be configured. |
|
Port |
The port number at which the specified host listens. The default is 2375. |
|
Use SUDO |
By default, this flag is set to No. This indicates that, by default, this test will report the metrics of this test by executing the crictl command. However, in some highly secure environments, the eG agent install user may not have the permissions to execute this command directly. In such cases, do the following:
|
|
Detailed Diagnosis |
To make diagnosis more efficient and accurate, the eG Enterprise embeds an optional detailed diagnostic capability. With this capability, the eG agents can be configured to run detailed, more elaborate tests as and when specific problems are detected. To enable the detailed diagnosis capability of this test for a particular server, choose the On option. To disable the capability, click on the Off option. The option to selectively enable/disable the detailed diagnosis capability will be available only if the following conditions are fulfilled:
|
| Measurement | Description | Measurement Unit | Interpretation |
|---|---|---|---|
|
Max CPU allocated to the task |
Indicates the maximum CPU allocation to the task. |
Cores |
|
|
Raw CPU usage |
Indicates the percentage of raw CPU used by the task. |
Percent |
Comparing the value of this measure across the containers will enable you to accurately identify the container on which CPU-intensive applications are executing. |
|
CPU limit for the container |
Indicates the CPU allocation limit for this container. |
Cores |
|
|
CPU time spent on system-level operations by the container |
Indicates the time spent by CPU for system level operation in this container. |
Seconds |
|
|
CPU time spent on user-level processes by the container |
Indicates the time spent by CPU for user level operation in this container. |
Seconds |
|
|
Total CPU time consumed by the container |
Indicates the consumption of CPU by this container. |
Seconds |
|
|
Data read from disk |
Indicates the volume of data read from disk. |
MB |
|
|
Data written to disk |
Indicates the volume of data written to the disk. |
MB |
|
|
Disk read operations |
Indicates the number of disk read operations. |
Number |
|
|
Disk write operations |
Indicates the number of disk write operations. |
Number |
|
|
Active anonymous memory |
Indicates the amount of unidentified memory utilized by this container. |
MB |
|
|
Active file-backed memory |
Indicates the amount of memory currently used by this container. |
MB |
|
|
Memory used for caching files |
Indicates the amount of memory used for file cache by this container. |
MB |
|
|
Max memory available including cgroup hierarchy |
Indicates the amount of memory available with cgroup hierarchy for this container. |
MB |
Cgroups are Linux's enforcement mechanism that limits the Fargate container's memory and CPU usage. When you define memory/CPU in task definition, AWS automatically creates cgroups to enforce those limits, and if your container exceeds them, it gets killed. |
|
Max memory and swap in the cgroup hierarchy |
Indicates the amount of maximum memory and swap in cgroup hierarchy for this container. |
MB |
|
|
Inactive file-backed memory |
Indicates the amount of mapped from files on disk that is currently not being actively used by this container. |
MB |
|
|
Memory mapped to files |
Indicates the amount of memory mapped to files. |
MB |
|
|
Peak memory usage reached by the container |
Indicates the amount of peak memory utilized by this container. |
MB |
|
|
Page faults - soft |
Indicates the number of soft page faults that occured in this container. |
Number |
|
|
Major page faults - soft |
Indicates the number of major soft page faults that occured in this container. |
Number |
|
|
Pages loaded into memory from disk |
Indicates the number of pages loaded into memory from disk. |
Number |
|
|
Pages flushed from memory to disk |
Indicates the number of pages flushed from memory to disk. |
Number |
|
|
Resident memory currently used |
Indicates the amount of resident memory currently used by this container. |
MB |
|
|
Memory limit set for task |
Indicates the amount of memory limit set for the task. |
MB |
|
|
Current memory usage |
Indicates the amount of memory currently used by this container. |
MB |
A high value for this measure indicates that the memory resource of the container is depleting alarmingly. Compare the value of this measure across containers to figure out the container that is using maximum amount of memory resources. |
|
Memory usage |
Indicates the percentage of memory used by this container. |
Percent |
|
|
Data received |
Indicates the amount of data received by this container. |
MB |
|
|
Data sent |
Indicates the amount of data sent to this container. |
MB |
|
|
Incoming packets dropped |
Indicates the number of incoming packets dropped in this container. |
Number |
|
|
Outgoing packets dropped |
Indicates the number of outgoing packets dropped in this container. |
Number |
|
|
Errors while receiving network packets |
Indicates the number of errors encountered while receiving network packets from this container. |
Number |
|
|
Errors while sending network packets |
Indicates the number of errors encountered while sending network packets to this container. |
Number |
|
|
Throttling period |
Indicates the number of throttling period taken by this container. |
Number |
|
|
Throttled period |
Indicates the number of throttled period taken by this container. |
Number |
|
|
Throttled time |
Indicates the total throttled time taken by this container. |
Seconds |
|
|
Inactive anonymous pages |
Indicates the amount of volume taken for inactive anonymous pages by this container. |
MB |
|
|
Packets received |
Indicates the number of data packets received by this container. |
Number |
|
|
Packets transmitted |
Indicates the number of data packets transmitted by this container. |
Number |
|
|
Time spent in IO - Read |
Indicates the time spent for IO - Read process by this container. |
Seconds |
|
|
Time spent in IO - Write |
Indicates the time spent for IO - Write process by this container. |
Seconds |
|
|
Time waiting for IO - Read |
Indicates the waiting time for IO - Read process in this container. |
Seconds |
|
|
Time waiting for IO - Write |
Indicates the waiting time for IO - Write process in this container. |
Seconds |
|
|
Sectors accessed - Read |
Indicates the number of sectors accessed during read process in this container. |
Number |
|
|
Sectors accessed - Write |
Indicates the number of sectors accessed during write process in this container. |
Number |
|
|
I/O requests queued - Read |
Indicates the time taken for I/O requests queued during read process in this container. |
Seconds |
|
|
I/O requests queued- Write |
Indicates the time taken for I/O requests queued during write process in this container. |
Seconds |
|
|
CPU capacity used |
Indicates the percentage of CPU used by this container. |
Percent |
|
|
CPU throttling rate |
Indicates the rate at which throttling occured in this container. |
Number |
|
|
CPU saturation score |
Indicates the percentage of CPU saturation occured in this container. |
Percent |
|
|
Read/Write throughput |
Indicates the rate at which the read/write throughput occured in this container. |
MB/Seconds |
|
|
Input/Output operations |
Indicates the rate at which the input/output operations occured in this container. |
Number/Seconds |
|
|
Average I/O latency |
Indicates the average time taken for I/O latency in this container. |
Seconds |
|
|
Network error rate |
Indicates the rate at which network error encountered in this container. |
Packets/Seconds |
|
|
Packet drop rate |
Indicates the rate at which the data packet drop encountered in this container. |
Packets/Seconds |
|
|
Packets rate |
Indicates the rate at which the data packets were transmitted or received by this container. |
Packets/Seconds |
|
|
Average packet size |
Indicates the amount of average packet size occupied by this container. |
MB |
|
|
Resident memory utilization |
Indicates the percentage of resident memory used by this container. |
Percent |
Resident memory is the actual amount of physical RAM your container is currently using. Ideally, the value of this measure should be low. |