Plex Transcoding & NAS Backups: Avoid Resource Contention
This guide shows you how to configure Plex Media Server transcoding and NAS backup schedules so they don’t fight for the same CPU, RAM, and disk I/O. You’ll learn how to set quality limits, schedule backups during idle hours, and throttle backup speeds—keeping your streams smooth and your backups reliable.
What You’ll Need
- A NAS running Plex Media Server (any modern NAS from Synology, QNAP, or similar)
- Admin access to the NAS’s operating system (DSM, QTS, etc.)
- Access to Plex’s web interface (usually at
http://NAS_IP:32400/web) - A backup destination (another NAS, external drive, or cloud service) that supports scheduled backups
- Optional: a tool like rsync, Hyper Backup, or the NAS’s built-in backup app
Step-by-Step
- Open Plex Settings: Log into Plex web interface, click the wrench icon (Settings) in the top-right, then select Server from the left sidebar.
- Limit Transcode Quality: Go to Server > Transcoder. Under “Transcoder quality,” choose Make my CPU hurt (this forces lower-quality transcodes that use less CPU) or set a manual cap like 720p. This prevents Plex from using 100% CPU on a single stream.
- Disable Video Stream Throttling: In the same Transcoder section, uncheck Use hardware acceleration when available if your NAS doesn’t have a supported GPU (or if you want to avoid GPU contention). Also check Disable video stream transcoding if you only need audio transcoding—this drastically reduces CPU load.
- Set a Transcode Directory: In the Transcoder settings, set “Transcoder temporary directory” to a fast SSD or RAM disk (if available) to reduce disk I/O on the main storage pool. Avoid using the same drive that holds your media or backups.
- Schedule Backups During Off-Peak Hours: Open your NAS backup app (e.g., Hyper Backup on Synology). Create or edit your backup task, and under Schedule, set it to run between 2:00 AM and 5:00 AM, or whatever time your household is least likely to stream. Make sure to uncheck “Run on the following days” if you want a custom window.
- Enable Backup Throttling: In the backup task’s advanced settings, look for Speed limit or Bandwidth control. Set a limit (e.g., 50 MB/s) so the backup doesn’t saturate disk reads/writes. On Synology, this is under Backup Settings > Advanced > Speed Limit.
- Set Backup to Use Low Priority: On some NAS systems, you can set the backup process to “low priority” in the task scheduler. This ensures the OS gives CPU and I/O priority to Plex transcoding when both are active.
- Monitor Resource Usage: Install the NAS’s resource monitor widget (or use
topin SSH) to watch CPU, RAM, and disk I/O. Run a test transcode and a test backup simultaneously to see if any resource hits 100%. - Adjust Plex’s Transcode Threads: In Plex’s Transcoder settings, set Transcoder default throttle buffer to a higher value (e.g., 600 seconds) so Plex buffers more and uses CPU in bursts rather than continuously.
Common Mistakes
- Running backups during peak hours: Many NAS defaults schedule backups at midnight, but if you have users streaming at that time, it still causes contention. Always check your actual usage patterns.
- Ignoring disk I/O: Even if CPU and RAM look fine, two processes hammering the same hard drives can cause slowdowns. Use separate volumes for media, transcode temp, and backup staging.
- Enabling hardware transcoding without a supported GPU: On some NAS models, hardware acceleration can actually cause more CPU load if the GPU is weak. Test with it on and off.
- Setting backup speed limits too low: If you throttle backups to 10 MB/s, they may take 12 hours and overlap with the next day’s usage. Find a balance—start with 50 MB/s and adjust.
Tips
- Use SSDs for transcode temp: If your NAS has an M.2 slot, install a small SSD and set Plex’s temp directory to it. This reduces wear on HDDs and speeds up transcoding.
- Stagger backups: If you have multiple backup tasks, schedule them at different times (e.g., one at 2 AM, another at 3 AM) rather than all at once.
- Test with a real stream: After setting everything up, play a 4K video that requires transcoding on one device while a backup runs. If playback stutters, lower the transcode quality or increase the backup speed limit (if it’s too low, it can cause the backup to last longer).
- Use Plex’s “Scheduled Tasks” window: In Plex settings under Server > Scheduled Tasks, set the “Scheduled Tasks Window” to the same off-peak hours as your backups. This prevents Plex’s own maintenance (like library scans) from running during peak times.
Troubleshooting
- Playback buffers even with low backup usage: Check if the backup is reading from the same disk as the media. If so, move the backup source or use a different drive for the media library. Also verify that Plex’s transcode temp is not on the same volume as the backup destination.
- Backup fails or times out: If your backup is set to run at 2 AM but the NAS is in sleep mode, it may not wake up. Disable sleep or set a wake-on-LAN schedule. Also ensure the backup destination is online.
- CPU pegs at 100% even with quality limits: Some codecs (like HEVC) are more CPU-intensive. Consider disabling transcoding for those formats by using Direct Play/Stream where possible, or upgrade your NAS CPU if you regularly need 4K transcoding.
- Backup speed limit not working: On some NAS apps, the speed limit applies only to network transfers, not local disk-to-disk copies. If you’re backing up to an external USB drive, the limit may not apply—use a different method like rsync with
--bwlimit.
Frequently Asked Questions
Q: Can I run Plex transcoding and backups at the same time without any slowdown?
A: Yes, if you limit Plex’s transcode quality, throttle backup speed, and schedule backups during low-usage hours. The key is to ensure neither process uses 100% of any single resource.
Q: Does hardware transcoding help avoid contention?
A: Yes, if your NAS has a supported Intel Quick Sync or NVIDIA GPU, hardware transcoding offloads most of the work from the CPU, leaving more headroom for backups. Enable it in Plex settings.
Q: What backup speed limit should I set?
A: Start with 50 MB/s for HDDs and 100 MB/s for SSDs. Monitor your NAS’s disk utilization during a backup—if it stays below 80%, you can increase the limit.
Q: How do I know if Plex is using too much CPU?
A: Open your NAS’s resource monitor. If Plex’s process (Plex Media Server) is using more than 80% CPU during a single stream, lower the transcode quality or disable video transcoding.
Q: Should I use a separate volume for backups?
A: Yes, ideally. Use a different physical drive or a RAID group separate from your media. This prevents read/write contention on the same disks.
Q: Can I pause backups manually when I need to stream?
A: Yes, most backup apps allow you to pause a running task. You can also set a schedule that stops backups during certain hours (e.g., 6 PM to 11 PM) to avoid peak streaming time.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.