# Tone Mapping Through SSD

**URL:** <https://forums.plex.tv/t/tone-mapping-through-ssd/824302>\
**Category:** General Discussions\
**Tags:** server-qnap, playback\
**Created:** [December 27, 2022, 7:12am UTC](https://forums.plex.tv/t/tone-mapping-through-ssd/824302 "2022-12-27T07:12:14Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elad01321](https://avatars.discourse-cdn.com/v4/letter/e/e47c2d/32.png) [@Elad01321](https://forums.plex.tv/u/Elad01321)\
**Post date:** [December 27, 2022, 7:12am UTC](https://forums.plex.tv/t/tone-mapping-through-ssd/824302/1 "2022-12-27T07:12:14Z")

</div>

Helllo,  
I recently bought the QNAP ts664 and very glad with it.  
I initially set the plex media server directory to regular HDD seagate ironwolf pro… and everything worked nice.  
Recently, i got 2 SSDs’- the WD sn700 2tb and installed them on the nas.  
I migrated the plex media server to the ssd which are on raid 1.  
The issue is when i migrate the plex media server to the ssd, everything works faster, but when HDR tone mapping is on and i try to transcode the video, it’s getting laggy and stuck, and the cpu usage stands on 95-100%.  
But when i migrate back to the HDD the hdr tone mapping doesn’t affect much on the cpu usage and the video is smooth when i transcode.  
Anyone has idea why could this be?

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [December 27, 2022, 7:43am UTC](https://forums.plex.tv/t/tone-mapping-through-ssd/824302/2 "2022-12-27T07:43:19Z")

</div>

Using the SSD for transcoding will only burn out the SSD quicker.

Yes, PMS on the SSD is a win. The metadata and databases work much better.

Unless you have video in excess of 600 Mbps. the HDDs are fast enough for transcoding.

The DEBUG logs of a session (just the start) which is known to display the problem will tell us what’s happening so you can decide how to proceed from there.

---

<div class="post-metadata">

**Author:** ![Elad01321](https://avatars.discourse-cdn.com/v4/letter/e/e47c2d/32.png) [@Elad01321](https://forums.plex.tv/u/Elad01321)\
**Post date:** [December 27, 2022, 6:16pm UTC](https://forums.plex.tv/t/tone-mapping-through-ssd/824302/3 "2022-12-27T18:16:54Z")

</div>

Hi,  
The Debug Logs of the transcoder attached,  
What seems to be the issue?  
I can’t understand it…

[Plex Transcoder Statistics.log](https://forums.plex.tv/uploads/short-url/qKzArgCZayUPiDnpu44QDzdsIHR.log) (5.4 KB)

---

<div class="post-metadata">

**Author:** ![Elad01321](https://avatars.discourse-cdn.com/v4/letter/e/e47c2d/32.png) [@Elad01321](https://forums.plex.tv/u/Elad01321)\
**Post date:** [December 27, 2022, 6:22pm UTC](https://forums.plex.tv/t/tone-mapping-through-ssd/824302/4 "2022-12-27T18:22:24Z")

</div>

I understand the SSD as the transcode&metadata directory can burn out the SSDs’ faster…  
But i want to give it a try…  
In the end, the ssds’ are faster… what could make the transcode gets stuck only when HDR tone mapping is on?

---

<div class="post-metadata">

**Author:** ![BanzaiInstitute](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/banzaiinstitute/32/293273_2.png) [@BanzaiInstitute](https://forums.plex.tv/u/BanzaiInstitute)\
**Post date:** [December 27, 2022, 6:54pm UTC](https://forums.plex.tv/t/tone-mapping-through-ssd/824302/5 "2022-12-27T18:54:24Z")

</div>

Your NAS should have Quick Sync support in the CPU, is hardware acceleration working? The high CPU usage seems suspicious.

---

<div class="post-metadata">

**Author:** ![Elad01321](https://avatars.discourse-cdn.com/v4/letter/e/e47c2d/32.png) [@Elad01321](https://forums.plex.tv/u/Elad01321)\
**Post date:** [December 27, 2022, 7:16pm UTC](https://forums.plex.tv/t/tone-mapping-through-ssd/824302/6 "2022-12-27T19:16:31Z")

</div>

The hardware acceleration is turned on…  
The wierd thing is that only when HDR tone mapping is also turned on and i transcode the video it’s start getting laggy and stuck

---

<div class="post-metadata">

**Author:** ![Elad01321](https://avatars.discourse-cdn.com/v4/letter/e/e47c2d/32.png) [@Elad01321](https://forums.plex.tv/u/Elad01321)\
**Post date:** [December 27, 2022, 7:32pm UTC](https://forums.plex.tv/t/tone-mapping-through-ssd/824302/7 "2022-12-27T19:32:05Z")

</div>

[Plex Media Server Logs\_2022-12-27\_21-31-16.zip](https://forums.plex.tv/uploads/short-url/bxfEWXakXl5H1fONOG7xknPT8hU.zip) (4.3 MB)  
here is all the debug logs

---

<div class="post-metadata">

**Author:** ![BanzaiInstitute](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/banzaiinstitute/32/293273_2.png) [@BanzaiInstitute](https://forums.plex.tv/u/BanzaiInstitute)\
**Post date:** [December 28, 2022, 6:43am UTC](https://forums.plex.tv/t/tone-mapping-through-ssd/824302/8 "2022-12-28T06:43:53Z")

</div>

I believe there are some operations that can’t be hardware accelerated, for example if you are burning subtitles into the video. Are you having the performance problem with all tone mapped playbacks, or just some of them?

---

<div class="post-metadata">

**Author:** ![Elad01321](https://avatars.discourse-cdn.com/v4/letter/e/e47c2d/32.png) [@Elad01321](https://forums.plex.tv/u/Elad01321)\
**Post date:** [December 28, 2022, 8:43pm UTC](https://forums.plex.tv/t/tone-mapping-through-ssd/824302/9 "2022-12-28T20:43:50Z")

</div>

The issue is with all tone mapping videos…

---

<div class="post-metadata">

**Author:** ![BanzaiInstitute](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/banzaiinstitute/32/293273_2.png) [@BanzaiInstitute](https://forums.plex.tv/u/BanzaiInstitute)\
**Post date:** [December 29, 2022, 5:57pm UTC](https://forums.plex.tv/t/tone-mapping-through-ssd/824302/10 "2022-12-29T17:57:19Z")

</div>

If they all have the same problem then it seems like your hardware acceleration is not working correctly.

If you have Tautulli installed, its dashboard can show you if hardware acceleration is in use, and how fast it is.

While it’s nice to use an SSD (or RAM) for transcoding/tone mapping temp files, a mechanical hard drive should be able to keep up fine, surely for just one playback. I think the nature of the drive is a red herring.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [March 29, 2023, 5:57pm UTC](https://forums.plex.tv/t/tone-mapping-through-ssd/824302/11 "2023-03-29T17:57:27Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
