Use tmpfs for PeerTube Runner #5458

Open
opened 2026-02-22 11:35:07 -05:00 by deekerman · 0 comments
Owner

Originally created by @emansom on GitHub (Apr 3, 2024).

Describe the problem to be solved

Currently the spawned ffmpeg process by the PeerTube runner writes a lot to the physical storage backed ~/.cache directory.

This wears out the hardware unnecessarily.

Describe the solution you would like

On systems with sufficient (>= 16GB) free available system memory, for the PeerTube runner to use the XDG provided tmp directory instead.

This'd lessen the wear of physical storage during transcoding.

Originally created by @emansom on GitHub (Apr 3, 2024). ### Describe the problem to be solved Currently the spawned `ffmpeg` process by the PeerTube runner writes a lot to the physical storage backed `~/.cache` directory. This wears out the hardware unnecessarily. ### Describe the solution you would like On systems with sufficient (>= 16GB) free available system memory, for the PeerTube runner to use the XDG provided tmp directory instead. This'd lessen the wear of physical storage during transcoding.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/PeerTube#5458
No description provided.