GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [ECS] 2a. ECS performance investigation · Issue #149 · fixpoint/ke2-docker

[ECS] 2a. ECS performance investigation #149

New issue
Copy link
New issue
Copy link
Open
Open
[ECS] 2a. ECS performance investigation#149
Copy link
Labels
ECSAmazon ECS (Fargate) deployment work
Milestone
ECS production release

Description

@fixpoint-hasan
fixpoint-hasan
opened on Sep 25, 2026
Issue body actions

Goal

The reason ECS Fargate is slower than AKS in the April 2025 benchmark is known, and the defaults of the template follow the answer.

Description

The benchmark of April 2025 (section 2) shows that ECS Fargate is about 1.3 to 1.35 times slower than AKS with the same database, and the report names no cause. Unlike the ACI template, the ECS task definition sets no per-container Cpu or MemoryReservation, so all six containers compete for the task's 4 vCPU and 16 GB with no fixed share. Possible causes are this shared allocation, the EFS throughput mode, and the executor count.

The benchmark tool (KeBenchmark) is in a private repository, and it runs in the kengine container. The results are written in this issue.

Not in this issue: the final benchmark of the release (#153).

Implementation design

flowchart LR
    A["Baseline: current template, parallel 1, 2, 4, 8"] --> B["kengine Cpu and MemoryReservation as a fixed share of the task"]
    B --> C["EFS throughput mode: Bursting or Provisioned/Elastic"]
    C --> D["MaxExecutors"]
    D --> E["Where the time goes: CPU, EFS, database"]
    E --> F["Result table and new defaults in the template"]
Loading
  • Run KeBenchmark at parallel 1, 2, 4, and 8 on the [ECS] 1. ECS template and deploy script #148 template with its present, unfixed CPU and memory shares. Record the total elapsed time, like the report of April 2025.
  • Change one thing at a time, and run the same measurements: a fixed Cpu/MemoryReservation for kengine, the EFS throughput mode, and MaxExecutors.
  • Watch what limits the time during a run: the CPU and memory of each container (CloudWatch Container Insights), the EFS PercentIOLimit and throughput metrics, and the load of the database.
  • Run the same benchmark on AKS with the same database and compare.
  • Write the result table in this issue. Change the defaults of the template ([ECS] 1. ECS template and deploy script #148) to follow the answers, and run the tests of [ECS] 1. ECS template and deploy script #148 again.

ref

  • ke2-docker: ke2/cloud/awsecs/deployment.json
  • AWS documentation: Amazon EFS User Guide (throughput modes), Amazon ECS Developer Guide (Container Insights)
  • Depends on: [ECS] 1. ECS template and deploy script #148. Blocks: [ECS] 3c. Benchmark test on ECS #153, [ECS] 4. ECS release packaging #154.

Activity

  1. fixpoint-hasan
    added this to the ECS production release milestone on Sep 25, 2026
  2. fixpoint-hasan
    added a parent issue on Sep 25, 2026
    • [ECS] ECS production release #147
  3. fixpoint-hasan
    added
    ECSAmazon ECS (Fargate) deployment work
    on Sep 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ECSAmazon ECS (Fargate) deployment work

    Type

    No type

    Projects

    No projects

      Milestone

      • ECS production releaseNo due date

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402792 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.