SIEMENS Open Source Day

Open Storage forAutonomous Driving and Physical AIProduction Lessons from JuiceFSRui Su, co-founder of JuiceFSWhere does a training sample spend its time?

Product overview

JuiceFS at a glance

Original JuiceFS Community Edition architecture from Open Source Summit Japan 2025, page 1320172021FoundedOpen sourceBuilt for the cloudMulti-cloud and hybrid deploymentsJuiceFS scale500B filesEB scale1 million clientsPragmatic designPerformance balanced with costAutonomous Driving / Physical AI / LLM & Multi-Modal Models / Biotech / Quant Investment
The question

The GPU is waiting. Which part needs capacity?

Training workeropen() / read()JuiceFS clientPOSIX via FUSEMetadata DBpaths + data indexLocal cachehot data blocksObject storagedurable dataMETADATACACHE MISSPath lookupBlock locationCache / originDecodeA cache hit can still leave metadata calls and CPU work on the critical path.
Autonomous driving

Bytes, files and reuse grow independently

Road logscontinuous writesFrames + point cloudsmany file createsLabels + derivativesmore objectsTrain / simulaterepeated reads48,0008 cameras × 10 frames/s × 600 simage files from 10 minutes, if each frame is a fileillustrative file countCapacitybytes retainedMetadatafiles × operationsRead demandepochs × consumers
Physical AI

A sample can be a time window inside a shard

dataset[i] with relative timestampst − 0.2 st − 0.1 stEpisode metadatashard path + start/end offsetsParquet shardsstate / action / timestampsMP4 shards per cameramany episodes per fileFewer filesystem entriesMore work in indexing and decodeLeRobot v3 packs multiple episodes into each Parquet / MP4 file.
Application interface

File semantics keep existing tools working

Preprocessing toolspaths + directoriesTraining loadersrandom read + mmapData platform SDKobject APIOne namespace, multiple access methodsPOSIX reduces integration workAccess latency still depends on file count, cold data and client concurrency.
JuiceFS internals

One read crosses two independent services

open("/train/scene/frame.jpg")read(offset, length)1 Path / inodelookup + attributes2 Chunk / sliceslogical byte ranges3 Block cachelocal disk / memory4 GET objectmiss / prefetchMetadata databaseData path bypasses the metadata DBRename / create require atomic namespace updates.Client and kernel caches can skip work. This is the conceptual cold path.
JuiceFS internals

A partial overwrite creates a new slice

Chunk: 64 MiB logical region64 MiBOriginal slice A[18, 19) MiB overwriteNew writeSlice B: 1 MiBnew objectPublish slice mapping after uploadexisting object A stays immutableRead viewA: [0, 18)A: [19, 64)BBlocks default to 4 MiB. A short slice can produce a smaller object.Repeated overwrites add fragments. Compaction and GC consume background I/O.
Architecture trade-offs

Four designs place responsibility in different layers

LustreCephFSGlusterFSJuiceFS CEClientClientClientClientMDS / MDTMDS / meta poolDHT + AFR clientExternal DBOSS / OSTsRADOS data poolBricks + local FSCache / object storeStripe layouttargets + HAMDS + RADOSplacement + recoveryClient distributionrebalance + healDB + origin + cachecold read + DB limits
Production / Zelos

Zelos copies data before training across clouds

700 TB600 million filesone reported bucketSelf-built data centerJuiceFS + Redis + MinIOPublic cloudJuiceFS + Redis + OSStool built on juicefs syncdataset copy over dedicated linksKubernetes CSI + PVCNode-local NVMe cacheEnterprise Multi-Region is a separate capability from the sync tool in this case.
Production / Zhuoyu

A new worker can reuse another node’s hot data

Worker Alocal cacheWorker B: new nodelocal missShared cache nodesame block keyS3 originon missconsistent hash(block key)Local cachereuse within a nodeShared cachereuse across nodesZhuoyu’s distributed cache is a customer extension of Community Edition.
Production / Zhuoyu

Data preparation becomes a task dependency

≈80%used within 8 days of uploadUploadBuild cacheTTL follows the observed use windowDatasetsource + PVCDataLoadJuiceFS RuntimeData readyworkflow gateTrainingconsume dataFluid coordinates preload and lifecycle. Other jobs use Zhuoyu’s cache API.
Production / Zhuoyu

Column selection reduces the bytes to prepare

Selected Lance columnsdataset version + manifestFile byte rangesphysical layoutJuiceFS warmupintersecting blocksIllustrative 16 MiB fileblock 0block 1block 2block 3Two 4 MiB blocks warmed for selected rangesReported I/O time: −20–90% across pipelinesRange warmup · PR #7398Lance parser · PR #7399
Production / Zhuoyu

Near saturation, a small gain raises the tail

1M sequential reads, aggregate server links: 1,200 Gbit/s≈135 GiB/s≈138 GiB/sP99 ≈ 2 msP99 ≈ 20–30 ms≈2.2%more throughput10–15×P99Measured cache path. A cold object-store read or training job has different limits.
Production / Horizon Robotics

Distributed metadata still has hot access paths

EB scale10¹¹ files10⁵-scale clientsObserved bottleneckCustomer changeLeader CPU full, followers spareFollower read routingTimestamp request to PD / TSOOne less RTT for frequent point readsRepeated config / capacity queriesCache hot metadataHorizon’s Community Edition engineering. Application consistency still needs protection.
Discussion / 5-minute Q&A

The next measurement should locate the wait

Path / inodeSlice indexCache / originLoad / decode01Metadata or bytes?Trace lookup / open, read and decode separately.02Cold or warm?Compare empty-cache and prepared reads.03Same node or more workers?Move tasks. Scale workers. Inspect P99 and misses.Keep in touchJuiceFS official WeChat account QR codeRui Su personal WeChat QR codeJuiceFS WeChatRui Su · WeChat[email protected]x.com/suavesulinkedin.com/in/suave/