Page 1 of 1

Subsonic slow, eats up processing time

PostPosted: Thu Aug 05, 2010 12:34 pm
by draaijer
Dear all,

I am running subsonic on a fast dual core clean windows PC with Windows XP.

I have a disk with 500GB of music.

What happens is when
- i select a directory or
- search for music or
- play music
it eats up 60% or more processor time.

Sometimes the service is soo slow, i have to wait 2 minutes before the screen builds up.

It all works, but how is it possible the server is soo extremely slow with this latest installation of today ?

I have no tools to search for the issue.
I am afraid the java stuff is extremely slow like always.
This is only a hunch, but what to do about it ?


Maurice.

Dead or alive

PostPosted: Mon Aug 09, 2010 7:22 pm
by draaijer
Hi There,

I tried a lot of things, but the server is extremely slow.
Is this forum dead or alive ?

Anybody ?

Maurice

PostPosted: Tue Aug 10, 2010 9:07 pm
by delcypher
There's a lot more to it that just what processor you have.

Amount of memory is very important as well. Java can be told how much memory it's allowed to use. I know how to control this for the standalone install but I'm afraid I can't help you on the Windows install. You should look at the programs memory consumption as you're using it (task manger can do this in Windows)

The processes priority is also important too. You can lower or raise a process's priority in the Windows task manager. Giving the process a lower priority will make other applications more responsive but will subsonic slower. Giving the process a higher priority will do the opposite.

If you're using ffmpeg in your transcoder chains you can increase performance by using the

Code: Select all
-threads 2


option (assuming you have 2 processing cores).

E.g.
Code: Select all
ffmpeg -i %s -threads 2 -f wav -


There are other threads on the forum output processor usage. Have you looked at them?

e.g.
http://forum.subsonic.org/forum/viewtopic.php?t=3771