Webinar-Lottie.svg

lakeFS Acquires DVC, Uniting Data Version Control Pioneers to Accelerate AI-Ready Data

webcros.svg

lakeFS Named as a Cool Vendor™ in the 2026 Gartner® Coolest Vendor Innovations

How lakeFS Outperformed Mountpoint for Amazon S3 on MLPerf Storage

Yahli RambergYahli Ramberg
Ariel Shaqed (Scolnicov)Ariel Shaqed (Scolnicov)
Published October 15, 2026

•

Updated October 18, 2026

Table of Contents

Watch how lakeFS works!

Watch how lakeFS Mount works in this 7-minute Tutorial!

Introduction

lakeFS lets you access your data with regular filesystem operations through lakeFS Mount.. Oz Katz, our CTO, covered the bigger picture of data lake mounts and where lakeFS Mount fits in a previous post.1

The MLPerf Storage benchmark measures real-world performance of storage systems. It focuses primarily on hardware vendors, but its measurements have emerged as a useful comparison between cloud-based storage providers. We used it to measure S3 FUSE mount performance, and after some changes we’re happy to say that lakeFS Mount achieves higher performance than Mountpoint for Amazon S3.

Filesystem access to lakeFS spans many use cases. Some want to access their lakeFS objects as regular files on their computer, where a wide range of regular programs can easily operate on them. Others add in some of the most demanding performance requirements that we met.

The POSIX filesystem API allows:

  • Fast sequential reads, which can be backed by a variety of read ahead strategies.
  • Fast random access: no need to load entire files from storage if you only want to access parts of them.

Each of these can happen for single or multiple files.

The lakeFS API (as well as the S3 API, which lakeFS also supports) allows implementing such access. But the details are cumbersome, and few massive programs and frameworks for object stores provide high-level support for performing such actions efficiently.

With lakeFS Mount, lakeFS lets our most demanding users get the highest performance possible, and does so on top of the most common and well-supported API. There is incredible existing support in the Linux kernel for high performance filesystems, and lakeFS Mount leverages it.

“Fastest”

“Lies, damned lies, statistics, and benchmarks”

This technical blog post shares some details about how we made lakeFS Mount outperform Mountpoint for Amazon S3 when running the MLCommons’ MLPerf storage benchmark on a mounted object store.

But if you’ve ever benchmarked a real component in a real system you must know: every system is different, and a component cannot be “fastest” except in the context of a particular system: hardware, other components, and workload. We chose:

  • The MLPerf Storage benchmark version 1.0.1 using the 3D U-net dataset published by MLCommons. We focussed on the read half.
  • AWS EC2 instance type m6idn.8xlarge with 32 vCPU cores, 128 GiB of RAM, with a network bandwidth of 50 Gbps, and a 1900 GB of local NVMe disk.
  • A low-specced lakeFS Cloud endpoint. (lakeFS itself stays off the data path, so this component is not loaded)
    • It’s backed by an S3 object store
    • And everything is in the same AWS region

Merely downloading the entire dataset of 40 TiB would take a long while and require a rather larger setup. Instead we take a large random subset of 2400 objects from the 280K available in the entire dataset. This is much larger than available memory of course, otherwise during warm starts everything could be served from memory. But it is small enough to cache into a cheaply available disk, making performance on warm starts an interesting number.

We compared Mountpoint for Amazon S3 from AWS Labs, their closest high-spec mount in general use. We believe it offers best-in-class performance over the S3 API. Naturally we ran it on the same EC2 instance type, on a similar S3 bucket. The only hardware difference is that with AWS you don’t need a lakeFS system. lakeFS Mount supports both Linux and macOS, and Windows in read-only mode. We compare on Linux as that’s what S3 Mountpoint supports, and also a much more common choice for high-performance computing.

In the high-performance path, object store mounts like S3 Mountpoint and lakeFS Mount are used primarily to cache data locally. The MLPerf Storage benchmark reads data in multiple rounds. Each round reads the same working set of objects. Because each object is read once per round, if the working set is larger than the disk cache it will measure only the time to fetch data from the object store. We ensure the working set is slightly smaller than the cache size. So in the first round the benchmark measures cold start: how long it takes to fetch and serve data. Subsequent rounds measure warm start: how long it takes to serve data already in cache.

In brief, lakeFS Mount is faster than S3 Mountpoint for both cold and warm parts.

Here are the results:

Cold Throughput
Warm Throughput

lakeFS Mount

1171 MB/s

2522 MB/s

Mountpoint (AWS)

938 MB/s

1609 MB/s

MLPerf Storage v1.0.1, unet3d with 2 emulated A100s and 2 epochs: the first epoch reads from S3 (cold), the second from the local cache (warm). 

The dataset was 2,400 files (about 334 GB). Both mounts ran on the same AWS instance with their caches on the same local NVMe drive, emptied before each run, with the page cache dropped between runs.

– lakeFS Mount 0.15.0 with read staging on, 8 MiB chunks and 32 chunks of read-ahead.

– AWS Mountpoint 1.24.0 used its disk cache, 128 threads, the default 8 MiB part size and indefinite metadata TTL.

How to go faster

lakeFS means never having to look back

An object store like S3 is entirely mutable: whenever you look at an object it may change. So S3 Mountpoint just re-checks objects to ensure they haven’t changed. Even if it’s only a head-object call to compare ETags, it’s still an API call -and these are slow compared to instance disk access. In practice Mountpoint considers files unchanged for a short while after each access. AWS Labs turn ETag checking off entirely for their benchmark. That makes sense in many settings – users may know that specific data is unchanged for the duration of a run. We stay honest by keeping it off.

By contrast, lakeFS makes this lever unnecessary. lakeFS Mount views a single lakeFS base commit, and lakeFS commits are immutable, so it is always correct and never needs to re-check. (lakeFS Mount updates the base commit to incorporate changes performed on the branch at specific, well-defined times that a user explicitly requests.) The lakeFS API lets us both side-step the issue and stay correct.

Not root

We designed lakeFS Mount to give non-root users high performance. Essentially, if a user can mount a FUSE filesystem (on Linux) or an NFS filesystem (on macOS) they can run lakeFS Mount. This lets it run on two fronts. On end-user machines, which might not be controlled by that user. And on hosted cluster environments such as Kubernetes, where cluster administrators set policies ensuring cluster stays safe.

First round: cold reading

lakeFS Mount cold read path: FUSE passes the read to the Mount server, which gets a presigned URL from lakeFS and fetches chunks directly from S3 into a local disk cache.

Round up to chunks

Filesystems read by blocks. FUSE reads blocks of 128 KiB (NFS typically 8 KiB). That makes sense for local storage, less for remote object stores. When fetching remote data the time to fetch the first byte can dominate the time to stream all the data. Accordingly, lakeFS Mount rounds up to work in chunks of 8 MiB aligned at 8 MiB boundaries; at 8 MiB the time to start fetching becomes less significant.

lakeFS Mount caches all data it reads to disk immediately: the next time the application program reads and FUSE needs another block, lakeFS Mount can serve it directly from the disk.

Of course sometimes FUSE refuses to request the remaining chunk of data. When that happens lakeFS Mount wastes bandwidth, storage, and some time. Measurement on the MLPerf Storage benchmark never does this, unfortunately. In our experience on other workloads we have not seen this negatively impact performance. Until we have more experience, though, we’re keeping the default chunk size at 1 MiB . You’ll need to increase it explicitly for large streaming workloads.

Presigned URL cache

lakeFS speeds up reads further by issuing presigned URLs, which lakeFS Mount caches. The first time it needs to read a chunk from the file it requests a presigned URL from lakeFS. Until that URL expires, it can read ranges directly from the S3 storage underlying lakeFS. Each file during a cold read hits lakeFS once, and then S3 multiple times.

Pre-fetching whole chunks

Large reads are typically of long contiguous sections. FUSE will read ahead a block or two, but that’s just 128 KiB. That value is less suited to an object store. lakeFS Mount therefore pre-fetches entire chunks from object storage.

An interesting tidbit: FUSE can be configured to request more than 128 KiB of data, with no additional privileges. But the BDI layer in the Linux kernel still limits max_reads to 128 KiB; changing that does require additional privileges. We are limited to 128 KiB.

Multiple levels of buffering are in play when the application reads from a file:

  • The application typically has in-process buffering. This typically only reduces the number of read system calls that it performs.
  • FUSE rounds up the requested buffer to a block on 128 KiB boundaries, and can add the block or two in the background; the application will only wait for the first block to arrive.
  • In the benchmark, Mount rounds each such request to an 8 MiB chunk and fetches it. By default Mount uses 1 MiB, here we equated it to Mountpoint. As soon as that chunk arrives it can transfer data to FUSE, unblocking the application. This process usually merges the extra blocks.
  • If it has sufficient read capacity, Mount pre-fetches a few additional chunks from S3.

Partial reads

By fetching chunks, Mount cleanly supports efficient random access to files. It keeps track of which chunks have been fetched. Mount serves reads from fetched chunks directly; other reads wait for their chunk to arrive.

The 3D U-Net workload rarely needs this, since most of its reads are sequential. However it is very relevant to other real workloads: ZIPs, Parquet and other column-oriented formats, etc.

Nonuseful FUSE features

FUSE has some additional features for performance, but unfortunately we cannot use them.

  • FUSE_PASSTHROUGH: A FUSE server can direct FUSE to perform all reads from a file, allowing it to bypass the FUSE entirely. But lakeFS Mount must also support both writing and data sharing, which would lose the advantages. Worse, enabling it requires elevated privileges.
  • FOPEN_DIRECT_IO: A FUSE server can return this flag for calls to open(). The word “direct” makes it a common recommendation for performance. However, it actually prevents the FUSE client from storing returned data in the page cache. Keeping read data in the kernel page cache closest to the application is most performant, because it lets the kernel avoid many FUSE context switches.

Second round: warm reading

lakeFS Mount warm read path: FUSE passes the read to the Mount server, which serves staged data from memory or otherwise reads it from the local disk cache.

Starting from the second round, and assuming the disk is larger than the working set, lakeFS and the underlying S3 object store move out of the equation. Everything is on local disk, and there should be little discernible difference between lakeFS Mount and S3 Mountpoint. We still wanted lakeFS to be faster. This is where things get interesting!

Safety

Without lakeFS, it is actually never safe to cache data from an object store: data on S3 is mutable and can change without notice. Users of S3 mountpoint face a choice:

  • Always read from remote S3 and never cache data – slow but safer; OR
  • Cache data locally – faster but “you may see stale file system metadata or object data for up to the cache’s metadata time-to-live (TTL), which defaults to 1 minute but can be configured using the --metadata-ttl flag.”2

By contrast, lakeFS commits give lakeFS Mount a consistent view of the filesystem.. Writes go to an isolated branch, and that branch is only updated from the main branch at specific times determined by the application. It is always safe, and always fast.

The MLCommons benchmark measures read performance. The input for many real-life read-heavy workloads is immutable in practice, which makes caching safe. We erred on the side of fairness and compared lakeFS Mount with Mountpoint running with caching.

Context switches, copies, and caches

On Linux, lakeFS Mount is a FUSE server: a user-space program that services filesystem requests that the kernel posts. At startup it opens /dev/fuse, and then uses a userspace library to handle arriving requests.3

What happens when a user application program reads from Mount? The program issues a read, pread, or equivalent system call to the kernel. This immediately incurs a context switch: from the application to the kernel. The file descriptor refers to the FUSE filesystem, which runs and posts a request to Mount to return the requested data. This is immediately a second context switch: from the kernel to the mount server. Neither of these can be avoided in a FUSE server. This is in contrast to an application that reads from disk, which incurs only one context switch. Increasing the read block size of FUSE would reduce this cost. But to do that Mount would need elevated privileges, which would violate a design principle.

To do things differently we need to analyze the read path further. On the warm read path, the Mount server detects that data is available locally, typically stored in a local file. Now it needs to transfer data back to the FUSE kernel.

The easiest way is for the server to read that data from the disk cache into its memory, then transfer that data back to the kernel, which will transfer that data back to the application program. This can perform several wasteful actions:

  1. The server reads from the disk cache. This is a context switch and typically also a copy of data, because the kernel caches that data for the cache file in its page cache.
  2. The server transfers the data it just read to the FUSE kernel over /dev/fuse. This is another context switch, and another copy.
  3. The kernel caches this just-read data for the mounted file in the page cache – no additional copy, but now the page cache holds two copies of the same data.
  4. Finally, the kernel transfers the data to the application program. This is another context switch, and another copy.

In total this path performs 3 context switches, copies the data 3 times, and wastes half of the memory in the page cache. On a modern architecture those copies are slow but the context switches are even slower. Fortunately FUSE does not need to call Mount again as long as its data is in the page cache. But unfortunately the page cache holds two copies of the same data. So once a program’s working set of data exceeds half the size of the page cache, FUSE may repeatedly call Mount for the same data.

Splicing to reduce context switches and copies

Like most FUSE servers, lakeFS Mount does not need to see the actual file data that it handles. FUSE supports a pipe mode for transferring data. Using the excellent go-fuse library by Han-Wen Nienhuys, Mount can “splice” together one or more segments of open files to serve in one piece to FUSE. This data goes directly to the FUSE kernel, almost the exact same data path of a read from a regular file!4

With this change Mount runs nearly at disk read rates! But it still uses twice as much page cache as it should. So it fills up the cache at half the working set size. Once the cache is full all bets are off: FUSE will again call Mount server.

Readahead

FUSE (and any other disk) limits readahead to 128 KiB by default, and that needs elevated permissions to change. The extra overheads imposed by the FUSE read path mean that it will be slower than accessing disk directly.

Instead we increase readahead manually inside the lakeFS Mount application. When enabled, Mount uses a staging buffer to prefetch data from disk into its application-level memory. It skips the page cache of the disk cache for these reads. When FUSE requests to read data which has already been staged, Mount serves that data directly to FUSE. It pays the price of an extra copy, but saves on going to disk. The result: an application reading data through Mount can prefetch much more data from disk, which speeds it up.

Where to?

On our side, optimization work is never done. If you have special requirements please contact us. Meanwhile, here’s where we want to take lakeFS Mount:

  • lakeFS Mount also supports write mode. The staging optimizations do not yet support it, which can limit some applications.
  • Keep downloaded objects when switching lakeFS Mount between different lakeFS branches. So after switching or updating a branch, applications will still enjoy warm-path reads to all unchanged objects. This is coming soon!
  • Prove our performance on any other benchmarks – please send us your favorites!
  • Work towards an official MLPerf Storage result submission. An internal prototype benchmark of MLPerf Storage v3.0 resulted in a 96.9% AU (Accelerator Utilization), reaching 5,848 MiB/s I/O throughput.

We think lakeFS is a great fit for AI/ML and other high performance workloads. Rather than optimize local storage and caching for each of your applications, we invite you to code your applications using familiar filesystem APIs – and rely on lakeFS Mount to handle caching your data. For more information head over to the lakeFS Mount docs.


  1. Internally we call Mount “Everest” – Oz likes to say it’s “the largest mount in the world.” ↩︎
  2. Mountpoint-s3 Semantics: Optional metadata and object content caching. ↩︎
  3.  In a sense this is the opposite of the typical application program: the kernel initiates all actions on a FUSE server. The number of required context switches remains the same. ↩︎
  4. FUSE experts: Mount does not yet support the SPLICE_F_MOVE option. ↩︎

Frequently Asked Questions

lakeFS Mount is a lakeFS feature that lets you access data in a lakeFS repository with regular filesystem operations, so ordinary programs can read lakeFS objects as local files. It runs on Linux (via FUSE), macOS (via NFS), and Windows in read-only mode, and it caches data locally for fast repeated reads.

MLPerf Storage is a benchmark published by MLCommons that measures the real-world performance of storage systems under machine learning workloads. We ran the read portion of MLPerf Storage v1.0.1 on a 2,400-object subset of the dataset, measuring cold reads (fetching from object storage) and warm reads (serving from local cache).

On the same AWS EC2 m6idn.8xlarge instance, lakeFS Mount reached 1,171 MB/s on cold reads versus 938 MB/s for Mountpoint for Amazon S3, about 25% higher. On warm reads it reached 2,522 MB/s versus 1,609 MB/s, about 57% higher.

An S3 bucket is mutable, so a mount that caches S3 data may serve stale data until its cache expires. lakeFS Mount reads from a single lakeFS commit, and commits are immutable, so cached data is always correct and never needs re-checking. Mount moves to a newer commit only when a user explicitly requests it.

No. Any user who can mount a FUSE filesystem on Linux or an NFS filesystem on macOS can run lakeFS Mount. That makes it usable on end-user machines the user doesn’t control, and on Kubernetes clusters where administrators restrict privileges.

The Control Plane for AI-Ready Data

Versioned. Reproducible. Compliant.