Page 1 of 1

Multithreaded Serviio

PostPosted: Fri Aug 12, 2011 10:47 pm
by Coastie
I was reading this recent post viewtopic.php?f=4&t=2866#p18458 (link to review in that post) and it mentioned that serviio is not Multithreaded.
I have not verified this myself, but if it is the case, will the .6 version be multithreaded?

Re: Multithreaded Serviio

PostPosted: Fri Aug 12, 2011 11:51 pm
by zip
Where exactly is that written? Serviio is multithreaded, so is most parts of FFmpeg.

Re: Multithreaded Serviio

PostPosted: Sat Aug 13, 2011 2:12 am
by Coastie
member 'litbea' linked to his blog where he conducted some interesting testing.

Third paragraph down http://trueca.blogspot.com/2011/08/buil ... v-cpu.html

While idling, the CPU usage is between 4-5% in all cases, but transcoding changes it all. Serviio uses FFMPEG to do the actual work, and the problem is that this is not a multi-threaded process. This result in transcoding not consuming all CPU resources available in the Atom (2 logical cores), while the Pentium M (mono-core) reaches almost 100% CPU usage. Well, this has two consequences: first, the Atom could do other tasks while transcoding without suffering so much; second, as transcoding tend to scale very well with megahertz and/or CPU usage, we should expect shorter transcoding times in the Pentium M. While streaming the Atom consumes 5% more of CPU than the Pentium M.


The whole article is informative for a serviio newbie like me, and trying to decide what hardware to use for my new NAS/Serviio box. No mention of what version of serviio is used, but the article is from August 2011.
Maybe it was a FFMPEG issue, or a user issue.

Re: Multithreaded Serviio

PostPosted: Sat Aug 13, 2011 3:42 pm
by zip
aks the guy, but if you can select number of CPU cores to use for transcoding in the console.