Open
Conversation
vvolkl
added a commit
to cvmfs/cvmfs
that referenced
this pull request
Nov 27, 2025
Passthrough is a recent FUSE feature (kernel 6.17.0+, libfuse 3.17+)
enabling bypass of userspace on all the read requests. When the FUSE
daemon provides a "backing file descriptor" to FUSE on "open" request,
the kernel reads directly from it without calling into the FUSE daemon.
This is a win for performance. The test supplied demonstrates
measurable speedup:
```
+ dd status=progress bs=512 if=/cvmfs/test.repo.dumbdumb/big.bin of=/dev/null
10485760 bytes (10 MB, 10 MiB) copied, 3.35429 s, 3.1 MB/s
+ dd status=progress bs=512 if=/cvmfs/test.repo.passthru/big.bin of=/dev/null
10485760 bytes (10 MB, 10 MiB) copied, 0.073326 s, 143 MB/s
```
```
+ pushd /cvmfs/test.repo.dumbdumb
+ parallel -N0 'sha1sum --check --status CHECKSUMS' ::: {1..100}
real 0m3.440s
user 0m4.782s
sys 0m3.345s
+ pushd /cvmfs/test.repo.passthru
+ parallel -N0 'sha1sum --check --status CHECKSUMS' ::: {1..100}
real 0m1.221s
user 0m3.904s
sys 0m1.709s
```
Enabling new functionality requires
* building with sufficiently recent libfuse to have FUSE_CAP_PASSTHROUGH
* running with similarly recent enough libfuse
* running on Linux kernel 6.17.0 or newer
* specifying mount option fuse_passthrough (or fuse_passthru)
Related documentation update:
cvmfs/doc-cvmfs#254
---------
Co-authored-by: Valentin Volkl <valentin.volkl@cern.ch>
christge-sft
pushed a commit
to christge-sft/cvmfs
that referenced
this pull request
Feb 3, 2026
Passthrough is a recent FUSE feature (kernel 6.17.0+, libfuse 3.17+)
enabling bypass of userspace on all the read requests. When the FUSE
daemon provides a "backing file descriptor" to FUSE on "open" request,
the kernel reads directly from it without calling into the FUSE daemon.
This is a win for performance. The test supplied demonstrates
measurable speedup:
```
+ dd status=progress bs=512 if=/cvmfs/test.repo.dumbdumb/big.bin of=/dev/null
10485760 bytes (10 MB, 10 MiB) copied, 3.35429 s, 3.1 MB/s
+ dd status=progress bs=512 if=/cvmfs/test.repo.passthru/big.bin of=/dev/null
10485760 bytes (10 MB, 10 MiB) copied, 0.073326 s, 143 MB/s
```
```
+ pushd /cvmfs/test.repo.dumbdumb
+ parallel -N0 'sha1sum --check --status CHECKSUMS' ::: {1..100}
real 0m3.440s
user 0m4.782s
sys 0m3.345s
+ pushd /cvmfs/test.repo.passthru
+ parallel -N0 'sha1sum --check --status CHECKSUMS' ::: {1..100}
real 0m1.221s
user 0m3.904s
sys 0m1.709s
```
Enabling new functionality requires
* building with sufficiently recent libfuse to have FUSE_CAP_PASSTHROUGH
* running with similarly recent enough libfuse
* running on Linux kernel 6.17.0 or newer
* specifying mount option fuse_passthrough (or fuse_passthru)
Related documentation update:
cvmfs/doc-cvmfs#254
---------
Co-authored-by: Valentin Volkl <valentin.volkl@cern.ch>
Author
|
Please review @vvolkl @christge-sft |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This changeset assumes this feature is merged: cvmfs/cvmfs#4006