FAQ  •  Register  •  Login

Maximum Amount of Usable CPU Cores?

<<

bu2d

Serviio newbie

Posts: 10

Joined: Sat Jun 06, 2015 1:42 am

Post Sat Jul 18, 2015 6:12 am

Maximum Amount of Usable CPU Cores?

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.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Jul 21, 2015 11:52 am

Re: Maximum Amount of Usable CPU Cores?

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.
<<

rscm

User avatar

Serviio newbie

Posts: 6

Joined: Mon Sep 21, 2015 9:55 pm

Post Tue Sep 22, 2015 9:26 pm

Re: Maximum Amount of Usable CPU Cores?

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
<<

bu2d

Serviio newbie

Posts: 10

Joined: Sat Jun 06, 2015 1:42 am

Post Sun Oct 11, 2015 4:14 am

Re: Maximum Amount of Usable CPU Cores?

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.

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 50 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.