Skip to content

Conversation

@Ronitsabhaya75
Copy link
Contributor

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Motivation and Context

Closes #950

Apple Container currently lacks detailed per-container filesystem performance metrics (IOPS, latency, fsync frequency, queue depth, storage backend type), making it difficult to diagnose I/O bottlenecks in database workloads, build systems, and ML pipelines.

The fix:

Add --io flag to container stats command that displays detailed filesystem performance metrics:

container stats --io mydb
CONTAINER   READ/s   WRITE/s   LAT(ms)   FSYNC(ms)   QD   DIRTY   BACKEND
mydb        280MB    195MB     4.8       1.4         1    2.1%    apfs

Testing

  • Tested locally
  • Added/updated tests
  • Added/updated docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Request]: Expose granular disk I/O statistics per container

2 participants