Jump to content

Transcoding in ramdisk


Recommended Posts

Posted

Hi all,

 

so I was wondering: has anyone ever tried to transcode on ramdisk instead of on the disk?

If yes, is it better?

If no, do you think it could be worth a try?

 

Thanks.

Bonfi

Posted (edited)

I may be wrong but it would be very very weird that your transcoding bottleneck will be your harddisk. Most of times if not all it will be the CPU. You may only see an improvement if your network throughput is very very high (faster than your disk throughput), you have many many concurrent clients and assuming that your CPU(s) transcoding throughput is again, higher than your disks.

If your goal is faster transcoding or more concurrent clients transcoding just add more CPU muscle (or helpers like quicksync).

 

Sent from my iPhone using Tapatalk

Edited by fc7
Posted

I'm aware that the bottleneck is almost always the CPU, as it is in my case, but it could be useful in order to reduce I/O on the disk.

Am I wrong?

 

However, this is just an "academic" question  :)

Posted

Not wrong actually it will but the i/o on disk because of transcoding is insignificant, unless you have many many concurrent users or you are using the same spindles for other i/o intensive tasks that can compite with transcoding. :)

 

 

Sent from my iPhone using Tapatalk

Posted

In this case, I totally agree with you that it should be useless.

Anyway, I think I'll try and if everything works fine I'll let you know :)

 

Thanks and happy new year

runtimesandbox
Posted

This should be easily doable.

 

The only reason I can see for doing this would be if you are transcoding on an SSD and wanted to reduce wear / increase life span

Posted

zero benefit even with a lot of users as transcoding is dominated by the cpu

tymanthius
Posted

I do this b/c I have a lot of mem and it seems to help a little. But mainly b/c my vm has only a little disk space, and I have a tmpfs just for transcoding.  

 

That, and I don't have to worry about 'orphaned transcode files' which something that plex did sometimes. A quick restart will clear those if it crops up.  But I dont' think it will.

Posted

zero benefit even with a lot of users as transcoding is dominated by the cpu

Not everyone has the spindles too keep many streams happy at once.

Posted

zero benefit even with a lot of users as transcoding is dominated by the cpu

 

I'm aware of that, I'll to do this just for personal interest  :D

Posted

Not everyone has the spindles too keep many streams happy at once.

 

Now this is interesting. Are you actually seeing a bottleneck in the harddisk while transcoding and not in the CPU? How many streams at once? How did you arrive to that conclusion?

Posted

You mean things like simple iotop or zpool iostat commands?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...