Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Performance issues... *SOLVED*

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Tue May 09, 2006 11:56 am    Post subject: Performance issues... *SOLVED* Reply with quote

Hi all...

I just need some info/tips on how to make icecast perform better;-

I read up on the comparison between icecast and shoutcast Re memory and Cpu but i seem to be getting some major problems.

I had a peak of 58 listeners to my icecast server but was constantly stuttering with 100% cpu utilization.

I stopped the icecast server and then used shoutcast... the users began to connect to the server again.

Shoutcast with roughly the same amount of users uses aroung 40% cpu.

The stream is a 128K mp3 running from SAM.
Server is on 100mbit connection and source is on 2mbit connection (up/down) so i know the source isnt the problem.

Server is only a celeron 2.4ghz with 1gb ram and cant be upgraded unfortunatly so im stuck with this crap server on a great line Sad

My question is, what options do i have that could lower the CPU load when using Icecast?
Apart from changing the bitstream what about settings such as
client limit, threadpool, queue-size etc ...

PS, Im using 2.3.1 on Win2003.

Cheers.

Code:
  <limits>
    <clients>200</clients>
    <sources>6</sources>
    <threadpool>5</threadpool>
    <queue-size>524288</queue-size>
    <client-timeout>30</client-timeout>
    <header-timeout>15</header-timeout>
    <source-timeout>10</source-timeout>
    <burst-size>65535</burst-size>
  </limits>


Edit: Iv'e changed the threadpool to 20 now, so i will see how that goes...


Last edited by Anonymous on Wed May 10, 2006 3:37 pm; edited 1 time in total
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue May 09, 2006 12:33 pm    Post subject: Reply with quote

CPU usage should not be anywhere near 100% especially for the likes of 60 stream listeners. Any usual entries appearing in the logs?

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Tue May 09, 2006 7:14 pm    Post subject: Reply with quote

karlH wrote:
CPU usage should not be anywhere near 100% especially for the likes of 60 stream listeners. Any usual entries appearing in the logs?

karl.


Hi karl,
thanks for your reply, really appreciate it.

the logs more or less empty and theres nothing obvious thats causes the major cpu load... its really getting on my nerves now as i cant reliably stream. the server is from 1and1 and we only got it less than 2 weeks ago, everything else seems to be fine on it thought so it would be a bit difficult to explain the problem to 1and1.

ive attached an image that i took showing the problem, theres only 8 connected to the server aswel! Crying or Very sad
if you would like remote access to the server then i am more than happy to give it to you.

regards,
Rico



Last edited by Anonymous on Wed May 10, 2006 3:34 pm; edited 1 time in total
Back to top
unnamed_devel



Joined: 25 Apr 2006
Posts: 6
Location: Russia

PostPosted: Wed May 10, 2006 8:11 am    Post subject: Reply with quote

i have a P4-2.8Gigz machine with 1Gig of RAM dual intel pro 100 NIC and links and 70+ listeners (128k mp3 stream), cpu load is not exceed 45%

may be it's not icecast-related prob? may be some other soft wasting you cpu power?
Back to top
View user's profile Send private message
Anonymous
Guest





PostPosted: Wed May 10, 2006 3:37 pm    Post subject: Reply with quote

Yup,
it wasnt icecast after all.

another server had many connections and was using less than 5% CPU...

i am waiting on our Webhost dealing with the matter, they will not swap the server as of yet as they want to "check it out themselves". Evil or Very Mad Evil or Very Mad

Rico
Back to top
Anonymous
Guest





PostPosted: Fri May 12, 2006 11:16 pm    Post subject: Reply with quote

Well the problem got solved by re-installing the server and now icecast 2.3.1_trunkB works lovely Smile

using 8% cpu with 80+ listeners. perfect!

1.3GB transfered in 15 mins! thank god for free bandwidth! Very Happy
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber