Page 1 of 1

Maximum Amount of Usable CPU Cores?

PostPosted: Sat Jul 18, 2015 6:12 am
by bu2d
I am going to by a new server for my serviio setup. Before I get anything too extravagant I need to know the limitations of the software.

I need to stream to many devices via mediabrowser over a LAN which requires a fair amount of transcoding. If I had a server that had dual CPU's with 16 cores each is serviio or FFMPEG capable of actually using all 32 cores? I've tried the ever faithful google search but I haven't been able to find the answer.

Thanks in advance for your help.

Re: Maximum Amount of Usable CPU Cores?

PostPosted: Tue Jul 21, 2015 11:52 am
by zip
It depends on the target format you transcode to. Something like wmv will only use 1 core, h264 or mpeg2 will use as many as you allow it to.

Re: Maximum Amount of Usable CPU Cores?

PostPosted: Tue Sep 22, 2015 9:26 pm
by rscm
afaik the limit of serviio in terms of cores/threads is in ffmpeg itself
I recommend you to check with that first and then analyze your options

but remember the limit applies to one instance of ffmpeg, and you can have multiples instances of it (max number of clients simultaniesly I dont know, that could be interesting to know)

start here
https://ffmpeg.org/pipermail/ffmpeg-use ... 00076.html
and then -> google

Re: Maximum Amount of Usable CPU Cores?

PostPosted: Sun Oct 11, 2015 4:14 am
by bu2d
The question asked was mostly in regards to multiple instances of ffmpeg. In my current setup I stream to about 150 users using various handheld devices through mediabrowser. While I do have more than enough processing power and bandwidth, I found that my bottleneck is HDD read/write speeds. For every file that is transcoded the drive has to read and write simultaneously and that limited me to about 20 or so users at a time.

I have implemented a few fixes for this. The first is I have encoded all of my video to mp4. This eliminated the need for ios users to transcode freeing up resources. The second is I have a solid state drive just for transcoded files needed by android users. Lastly all of my media is on three drives placed in RAID 0 greatly increasing read speeds. With the drive that my media is on being effectively read only it has vastly improved performance.

The only real problem I have now is android devices no longer supporting flash natively. I do have the apk for users to install but it's a hassle.

With all of my video already mp4 a HTML 5 version of mediabrowser would be perfect. Maybe it will happen eventually.