I have seen much lower CPU usage when threads is at around 40 and there is a similar low amount of disk activity going on. For example on an identical test server with one CPU I have simultaneously streamed over 30 songs at once and the CPU barely hit 20%. However this was played all from the one computer.
Subsonic Version: 4.5 (build 2385)
Server Version: jetty-6.1.x, java 1.6.0_18, Windows Server 2008 R2 (200.3 MB / 247.5 MB)
Hardware Platform: (Running on a VM in our data centre) Windows Server 2008 R2 Enterprise, Processor Intel Xeon CPU X7550 @ 2.00Ghz (2 Processors) Installed memory (RAM): 2 GB
Java Memory Limit: 256MB
Last ten log file lines:
- Code: Select all
[5/20/12 9:23:09 PM EST] INFO StreamController Got range: Range[714156,9223372036854775807]
[5/20/12 9:23:11 PM EST] INFO PlaylistInputStream user1 listening to "Week 05\19 Blue Yodel No. 8 (Mule Skinner Blues).mp3"
[5/20/12 9:23:25 PM EST] INFO StreamController Got range: Range[714156,9223372036854775807]
[5/20/12 9:23:28 PM EST] INFO PlaylistInputStream user1 listening to "Week 05\19 Blue Yodel No. 8 (Mule Skinner Blues).mp3"
[5/20/12 9:23:43 PM EST] INFO StreamController Got range: Range[714156,9223372036854775807]
[5/20/12 9:23:45 PM EST] INFO PlaylistInputStream user1 listening to "Week 05\25 Midnight Special.mp3"
[5/20/12 9:23:47 PM EST] INFO PlaylistInputStream user1 listening to "Week 05\19 Blue Yodel No. 8 (Mule Skinner Blues).mp3"
[5/20/12 9:23:48 PM EST] INFO PlaylistInputStream user2 listening to "Week 11\1-02 Don't Think Twice, It's All Right.mp3"
[5/20/12 9:23:50 PM EST] INFO PlaylistInputStream user1 listening to "Week 05\25 Midnight Special.mp3"
[5/20/12 9:23:56 PM EST] INFO PlaylistInputStream user3 listening to "Week 08\08 Jesu Meine Freude (So Aber Christus In Euch Ist).mp3"
[5/20/12 9:24:13 PM EST] INFO StreamController Got range: Range[3700108,9223372036854775807]