Unknown1User / ps3mediaserver

Automatically exported from code.google.com/p/ps3mediaserver
0 stars 0 forks source link

High CPU usage causes full machine hang #965

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am running PS3 Media Server on my home server which is running Server 2008 
R2. The CPU is a little on the weak side. As long as I take my time when 
browsing and once I start streaming something, I don't seek or search, 
everything is fine. If I seek, search, browse too fast or generally just push 
too hard on it, the encoding CPU usage floors the machine and the machine hangs.

I believe the primary problem is that everything (being PS3 Media Server and 
its related encoders) is all being run at Normal thread priority. As a result, 
the system services get suffocated.

I would suggest some sort of mechanism that would allow us to run PS3 Media 
Server and its spawned encoding threads as Below Normal priority to prevent 
this situation.

Original issue reported on code.google.com by jean-seb...@supremus.com on 6 Feb 2011 at 4:36

GoogleCodeExporter commented 9 years ago
http://ps3mediaserver.org/forum/viewtopic.php?f=6&t=3507&p=16567#p16567

Original comment by chocol...@cpan.org on 6 Feb 2011 at 8:31

GoogleCodeExporter commented 9 years ago
I appreciate the suggestion though it doesn't solve the problem. If you would 
like another example that will hang the server: loading a folder with several 
hundred movies. Now I understand that for each of these problems there may be a 
workaround however none of those workarounds address the underlying issue. When 
PS3 Media Server (or its encoders) are overwhelmed, the threads should not be 
able to hang the underlaying operating system.

Also, as a side note, I am using a gigabit network with a tested throughput of 
985Mbit/sec.

Original comment by jean-seb...@supremus.com on 6 Feb 2011 at 8:59