Wednesday, September 16, 2026
No Result
View All Result
Future News 24
Advertisement
  • Home
  • AI Research
  • Platforms
  • Ethics
  • Developer AI
  • Industry
  • Data Science
  • Emerging Tech
  • Quantum
  • BioTech
  • Decentralized
  • Home
  • AI Research
  • Platforms
  • Ethics
  • Developer AI
  • Industry
  • Data Science
  • Emerging Tech
  • Quantum
  • BioTech
  • Decentralized
No Result
View All Result
Future News 24
No Result
View All Result
Home Data Science & MLOps

Decreasing container chilly begin occasions utilizing SOCI index on DLAMI and DLC

Future News 24 by Future News 24
June 6, 2026
in Data Science & MLOps
0 0
0
Decreasing container chilly begin occasions utilizing SOCI index on DLAMI and DLC
0
SHARES
0
VIEWS
Share on FacebookShare on Twitter


Deep Studying AMI and AWS Deep Studying Containers are actually enabled with help for SOCI snapshotter and index. Seekable OCI (SOCI) is a expertise that permits environment friendly container picture administration by means of selective file downloading. It makes use of a layer-based indexing system to map file areas inside container photos, permitting containers to start out with solely the required information loaded (lazy loading). This strategy reduces community bandwidth utilization and improves container startup occasions, making it notably priceless for organizations managing massive container photos in cloud environments.

On this publish, we have a look at learn how to use SOCI on publicly accessible Deep Studying AMIs and Containers, when to make use of the varied SOCI modes offered by the software, and learn how to rapidly and effectively use this software in your workloads right this moment.

Background

As organizations deploy synthetic intelligence (AI) and machine studying (ML) workloads at scale, container startup time has grow to be a bottleneck in manufacturing environments. Whether or not it’s spinning up coaching jobs, serving inference endpoints, or scaling GPU clusters mechanically, the time spent downloading multi-gigabyte container photos instantly impacts price, consumer expertise, and operational effectivity. Conventional container deployment approaches drive groups to obtain total photos earlier than workloads can start. This course of can take a number of minutes to start out up photos generally utilized in manufacturing. Throughout growth, a couple of minutes of wait time is barely noticeable. In manufacturing, those self same minutes add up quick.

Organizations deploying deep studying infrastructure at scale usually encounter a number of crucial challenges:

Extended chilly begin occasions. Customary Docker picture pulls of 15–20 GB can take 4–6 minutes per occasion, delaying coaching jobs and inference endpoints throughout scaling occasions.
Wasted compute sources. GPU situations sit idle throughout picture pulls, burning by means of costly compute hours whereas ready for container initialization to complete.
Scaling bottlenecks. When demand spikes set off automated scaling, sluggish container startup occasions forestall fast response, resulting in degraded efficiency or dropped requests.
Bandwidth constraints. Giant-scale deployments pulling huge photos concurrently can saturate community bandwidth, creating cascading delays throughout the infrastructure.
Developer productiveness. Information scientists and ML engineers waste priceless time ready for containers to start out throughout iterative growth and experimentation cycles.

Container pulling mechanisms

When pulling a container to your workloads, AWS Deep Studying AMIs (DLAMI) and Deep Studying Containers provide three choices: the usual Docker pull, SOCI parallel pull, and SOCI lazy loading by means of SOCI index. Consider these as a sliding scale of tradeoffs. Docker pulls are sequential and sluggish. SOCI parallel pull offers quicker startup occasions by chunking downloads at the price of compute sources. SOCI lazy loading offers near-instant container loading however requires information to be fetched on demand. You should use the next information to decide on the fitting mechanism to your workloads:

The selection between lazy loading and parallel pull modes depends upon the picture, occasion specs, and storage configuration. Lazy loading requires photos to have a SOCI index. With out one, the system falls again to straightforward pulling.
Decrease-spec situations ought to use lazy loading to preserve sources, whereas high-spec situations with a number of vCPUs and excessive community bandwidth profit from parallel pull mode. Storage efficiency varies: EBS volumes are bounded by their provisioned IOPS and quantity sort, probably creating bottlenecks throughout unpacking, whereas NVMe occasion retailer delivers most I/O efficiency at the price of information persistence throughout occasion cease/begin cycles.

The next instance exhibits the varied mechanisms primarily based on the vLLM Deep Studying Container:

Comparison of container pull mechanisms showing Docker sequential pull, SOCI parallel pull, and SOCI lazy loading with relative startup times

Deep Studying Container Pull Mechanisms

Answer structure

The next diagram exhibits the structure for utilizing SOCI with DLAMI and Deep Studying Containers.

Solution architecture showing SOCI snapshotter integration with DLAMI and Deep Learning Containers on Amazon EC2

Container startup time comparability with SOCI snapshotter

The next benchmarks evaluate commonplace Docker pulls in opposition to SOCI snapshotter in each lazy loading and parallel pull modes.

Lazy loading mode

Lazy loading mode begins containers instantly by fetching solely the required information on demand, with remaining layers loaded within the background as wanted.

Conditions

SOCI index required

Essential: Lazy loading mode requires the container picture to have a SOCI index saved within the registry. And not using a SOCI index, the snapshotter will fall again to straightforward pull habits, and also you gained’t see any efficiency enchancment. AWS Deep Studying Containers (DLCs) with the -soci tag suffix include SOCI indexes pre-created and pushed to the registry, enabling lazy loading out of the field. For customized photos, you need to create and push SOCI indexes

Atmosphere

Occasion Kind: g5.2xlarge
EBS: Dimension 500GiB, IOPS 3000, Throughput 125
AMI: Deep Studying Base OSS Nvidia Driver GPU AMI (Ubuntu 24.04) 20260413 (ami-06abbbf2049359343)
Docker Picture: public.ecr.aws/deep-learning-containers/vllm:0.19.0-gpu-py312-ec2-soci
Picture Dimension: 9.72GB (compressed), 32.7GB (disk utilization)
Community: Corp

Begin container with Docker (non-SOCI)

We use Docker to start out the inference server instantly. Since no picture exists regionally, Docker pulls and extracts your entire picture earlier than beginning the container.

Complete time: 6m59.099s.

#!/bin/bash
time docker run
–gpus all
-d
-v ~/.cache/huggingface:/root/.cache/huggingface
–env “HUGGING_FACE_HUB_TOKEN=$HUGGING_FACE_HUB_TOKEN”
-p 8000:8000
–ipc=host
public.ecr.aws/deep-learning-containers/vllm:0.19.0-gpu-py312-ec2-soci
–model mistralai/Mistral-7B-v0.1
# output
Unable to search out picture ‘public.ecr.aws/deep-learning-containers/vllm:0.19.0-gpu-py312-ec2-soci’ regionally
0.19.0-gpu-py312-ec2-soci: Pulling from deep-learning-containers/vllm
340d44d2921c: Pull full
….2001a2421bf1: Pull full
Digest: sha256:a6344c96a33ef98a32a27f89b41b8c0529d4fbbba248eb57f811725d415f68fc
Standing: Downloaded newer picture for public.ecr.aws/deep-learning-containers/vllm:0.19.0-gpu-py312-ec2-soci
e12d969eb71517d9a6a23b9b11cfa22ddda26a95f6a0f0d8df00cd5c4fdfe912

actual 6m59.099s
consumer 0m0.391s
sys 0m0.452s

Begin container with SOCI snapshotter (lazy loading)

We use nerdctl with SOCI snapshotter to start out the inference container. Though no picture exists regionally, the SOCI-indexed picture permits nerdctl to tug solely the index and essential layers to start out the container, enabling lazy loading of remaining layers. Complete time: 21.125s.

#!/bin/bash
time sudo nerdctl run
–snapshotter soci
–gpus all
-d
-v ~/.cache/huggingface:/root/.cache/huggingface
–env “HUGGING_FACE_HUB_TOKEN=$HUGGING_FACE_HUB_TOKEN”
-p 8000:8000
–ipc=host
public.ecr.aws/deep-learning-containers/vllm:0.19.0-gpu-py312-ec2-soci
–model mistralai/Mistral-7B-v0.1
# output
public.ecr.aws/deep-learning-containers/vllm:0.19.0-gpu-py312-ec2-soci: resolved |++++++++++++++++++++++++++++++++++++++|
index-sha256:a6344c96a33ef98a32a27f89b41b8c0529d4fbbba248eb57f811725d415f68fc: completed |++++++++++++++++++++++++++++++++++++++|
manifest-sha256:d91ad3b46204eace6de2fb27c46d9600337fa9c124b4c82fe0f335d391017daa: completed |++++++++++++++++++++++++++++++++++++++|
config-sha256:886ed36d57c44081a74a0ab052f57366d96ab2c0fe39bb3e2f8a46cc20db8ec2: completed |++++++++++++++++++++++++++++++++++++++|
elapsed: 10.5s whole: 48.1 Okay (4.6 KiB/s)
189307b7899438415f3df4288b3fbb26bcc4cd43678e88ec3b062bc6330e3e3b

actual 0m21.125s
consumer 0m0.004s
sys 0m0.011s

Lazy loading abstract

Utilizing SOCI snapshotter with lazy loading, the container began in 21.125 seconds, in comparison with 6 minutes 59.099 seconds with commonplace Docker. This enchancment is achieved as a result of SOCI pulls solely the required layers to start out the container, with remaining layers loaded on demand as wanted.

Parallel pull mode

Whereas lazy loading mode begins containers instantly by fetching solely the required information on-demand, parallel pull mode downloads your entire picture earlier than startup however does so with larger concurrency than commonplace Docker pulls. This mode is right once you want the total picture accessible at startup or when operating I/O-intensive workloads.

Atmosphere

Occasion Kind: g5.4xlarge
EBS: 500GiB gp3, 16000 IOPS, 1000 MB/s Throughput
AMI: Deep Studying Base OSS Nvidia Driver GPU AMI (Ubuntu 24.04) 20260413 (ami-06abbbf2049359343)
Docker Picture: 763104351884.dkr.ecr.us-east-1.amazonaws.com/sglang:0.5.10-gpu-py312-cu129-ubuntu24.04-sagemaker
Picture Dimension: 19.32GB (compressed), 60.4GB (Disk Utilization)
Community: Corp

Observe: We use a personal ECR picture for this benchmark as a result of public ECR is fronted by Amazon CloudFront, which limits community bandwidth and impacts parallel mode efficiency. Non-public ECR is served instantly from Amazon Easy Storage Service (Amazon S3), offering larger throughput.

Enabling parallel pull mode

The SOCI snapshotter on Deep Studying AMI defaults to lazy loading mode. To allow parallel pull mode, modify the configuration file at /and so forth/soci-snapshotter-grpc/config.toml:

# Parallel Pull Mode – considerably improves picture pull occasions for giant AI/ML photos
# These are conservative defaults really useful by AWS for ECR
[pull_modes.parallel_pull_unpack]
allow = true # false(default): lazy loading/true: parallel mode
max_concurrent_downloads = -1 # limitless world cap throughout all photos
max_concurrent_downloads_per_image = 20 # per-image obtain connections
concurrent_download_chunk_size = “16mb”
max_concurrent_unpacks = -1 # limitless world cap throughout all photos
max_concurrent_unpacks_per_image = 10 # per-image parallel unpack threads
discard_unpacked_layers = true

Apply the configuration by restarting the service:

sudo systemctl restart soci-snapshotter.service

Tip: You may tune max_concurrent_downloads_per_image and max_concurrent_unpacks_per_image primarily based in your occasion sort and community bandwidth. For detailed tuning steering, see Introducing Seekable OCI Parallel Pull Mode for Amazon EKS.

Verifying parallel mode is energetic

Monitor the SOCI snapshotter logs throughout picture pull to substantiate parallel mode is enabled:

journalctl -u soci-snapshotter -f

Search for log entries indicating parallel pull/unpack:

Apr 16 23:59:08 ip-172-31-86-91 soci-snapshotter-grpc[3108]:
{“layerDigest”:”sha256:e87500e698966458d9dfc34df84602985c9821f39666619792fe6282aa6df5d4″,
“stage”:”data”,
“msg”:”getting ready snapshot with parallel pull/unpack”,
“time”:”2026-04-16T23:59:08.654819383Z”}

Pull picture with Docker (non-SOCI)

Customary Docker pull downloads and extracts layers with restricted concurrency.

Complete time: 4m 44.163s

time docker pull
763104351884.dkr.ecr.us-east-1.amazonaws.com/sglang:0.5.10-gpu-py312-cu129-ubuntu24.04-sagemaker

Digest: sha256:fd0cf60bbb34a5d30f22595215a633e5d4a7260fc0868aabe3f04b1174b7365d
Standing: Downloaded newer picture for
763104351884.dkr.ecr.us-east-1.amazonaws.com/sglang:0.5.10-gpu-py312-cu129-ubuntu24.04-sagemaker
763104351884.dkr.ecr.us-east-1.amazonaws.com/sglang:0.5.10-gpu-py312-cu129-ubuntu24.04-sagemaker

actual 4m44.163s
consumer 0m0.339s
sys 0m0.423s

Pull picture with SOCI parallel mode

Utilizing nerdctl with SOCI parallel pull mode makes use of elevated concurrency for each downloads and unpacking operations.

Complete time: 2m 12.846s

time sudo nerdctl pull –snapshotter soci
763104351884.dkr.ecr.us-east-1.amazonaws.com/sglang:0.5.10-gpu-py312-cu129-ubuntu24.04-sagemaker

763104351884.dkr.ecr.us-east-1.amazonaws.com/sglang:0.5.10-gpu-py312-cu129-ubuntu24.04-sagemaker:
resolved |++++++++++++++++++++++++++++++++++++++|
manifest-sha256:fd0cf60bbb34a5d30f22595215a633e5d4a7260fc0868aabe3f04b1174b7365d:
completed |++++++++++++++++++++++++++++++++++++++|
config-sha256:5e6a53b7478b0631dd3c4222ab6619dae3a3dd32a565921f10b0b03fdc316d46:
completed |++++++++++++++++++++++++++++++++++++++|
elapsed: 132.8s whole: 89.3 Okay (688.0 B/s)

actual 2m12.846s
consumer 0m0.018s
sys 0m0.075s

Parallel pull abstract

Utilizing SOCI parallel pull mode diminished picture pull time from 4 minutes 44 seconds to 2 minutes 12 seconds, representing a 2.2x enchancment in pull efficiency.

Conclusion

SOCI snapshotter offers enhancements for each container startup and picture pull operations:

Lazy loading mode — Achieved a 20x enchancment in container startup time (from 6+ minutes to ~21 seconds)
Parallel pull mode — Achieved a 2.2x enchancment in picture pull time (from 4 minutes 44 seconds to 2 minutes 12 seconds)

Select lazy loading mode once you want the quickest attainable container startup, or parallel pull mode once you want the total picture accessible earlier than your workload begins.

Clear up

When you launched EC2 situations to check SOCI snapshotter, terminate them to keep away from incurring ongoing prices. Delete any container photos you pushed to Amazon Elastic Container Registry (Amazon ECR) throughout testing, and take away any SOCI indexes you now not want.

Getting began with SOCI

DLAMI and Deep Studying Containers are publicly accessible right this moment with SOCI snapshotter and SOCI index. For extra data on publicly accessible DLAMI and Deep Studying Containers, you’ll be able to try SOCI Index DLAMI to pick the pictures that help SOCI, and take a look at the Deep Studying Container repository to get extra data on supported photos with SOCI index.

For detailed configuration steering and greatest practices, discuss with the SOCI documentation and the Deep Studying Container SOCI documentation.

In regards to the authors

Ohad Katz

Ohad Katz

Ohad Katz is a former System Improvement Engineer on the AWS Deep Studying AMI (DLAMI) crew.

Yadan Wei

Yadan Wei

Yadan Wei is a Software program Improvement Engineer on the AWS Deep Studying Containers (DLC) crew, constructing and sustaining production-ready Docker container photos that allow clients to coach and deploy deep studying fashions on AWS providers together with SageMaker, EC2, ECS, and EKS.

Nick Song

Nick Music

Nick Music is a Software program Improvement Engineer at AWS, engaged on Deep Studying AMIs to ship optimized deep studying infrastructure for purchasers.



Source link

Tags: coldcontainerDLAMIDLCindexReducingSOCIstarttimes
Previous Post

The best way to Streamline Worker Engagement Surveys with the Google Gemini app — The Data

Next Post

How digital energy crops might present power for information facilities

Next Post
How digital energy crops might present power for information facilities

How digital energy crops might present power for information facilities

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Fetching latest news…
FUTURENEWS24
Live Feed
All
AI
Dev
Industry
Frontier
Updates in 60s
FN24 AI & Tech
View All →
Future News 24

The world's leading source for AI research, emerging technology, and the people building the future. Independent, rigorous, and always ahead.

CATEGORIES

  • AI Platforms & Apps
  • AI Research & Breakthroughs
  • BioTechnology
  • Data Science & MLOps
  • Decentralized Technology
  • Developer AI & Open-Source Ecosystem
  • Emerging Technologies & Innovations
  • Ethics & Policy
  • Industry & Business
  • Quantum Computing
  • Uncategorized

LATEST

  • [2602.13312] PeroMAS: A Multi-agent System of Perovskite Materials Discovery
  • GPT-6 Astra overview: code overview good points, privateness, and value
  • GPT-6 Astra: Options, Benchmarks, Pricing, and What’s New
  • About Us
  • Advertise with Us
  • Disclaimer
  • Privacy Policy
  • DMCA 
  • Cookie Policy
  • Terms and Conditions
  • Contact us

© 2026 Future News 24. All rights reserved.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • Home
  • AI Research
  • Platforms
  • Ethics
  • Developer AI
  • Industry
  • Data Science
  • Emerging Tech
  • Quantum
  • BioTech
  • Decentralized

© 2026 Future News 24. All rights reserved.

Website security powered by MilesWeb