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 

Burst on connect slow on Windows
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Feb 15, 2009 4:20 pm    Post subject: Reply with quote

I don't see how you say it's worse. the effect is more consistent with expected behaviour. The first graph seems to be bursting for 10-15 seconds whereas the change afterwards was 4-5 secs (which in itself indicates something is not being measured correctly, same amount in less time would indicate higher bandwidth used). You haven't said what settings you actually implemented in the registry

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



Joined: 14 Feb 2009
Posts: 14

PostPosted: Sun Feb 15, 2009 8:52 pm    Post subject: Reply with quote

sorry, this was a graph from a stream with lower bitrate. what i'm looking at is the maximum transmit rate which, as the graphs show, does never reach more than 50KB/s on windows. after changing tcp settings i get a maximum of 42-46KB/s. on linux i get about 300KB/s. i set the following values according to the recommendations on speedguide.net:

MTU = 1500
GlobalMaxTcpWindowSize = 16445440
TcpWindowSize = 1027840
Selective ACK = 1
TCP 1323 Options = 1 (Window Scaling)
Default TTL = 128
MTU Discovery = 1

i also tried window sizes of 128480, 256960, 513920 and MTU Discovery=0. after reading a bit more into it i set FastSendDatagramThreshold=1500 which made it a bit better. tests were performed from localhost and a distant client. bursting 512kb takes almost 20s to complete at vorbis q-6.
_________________
http://www.sofaspace.net
Back to top
View user's profile Send private message Visit poster's website
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Feb 15, 2009 9:23 pm    Post subject: Reply with quote

Can you check a couple of things so we can see what is actually happening. run wireshark (or similar capture software) to see what packets are occurring, you can email the capture file, and during the burst, run the netstat command so that the send-Q is listed (you'll have to check the option on windows netstat, eg netstat -net)

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



Joined: 14 Feb 2009
Posts: 14

PostPosted: Mon Feb 16, 2009 12:49 am    Post subject: Reply with quote

i have no idea how to display the send queue and netstat doesn't tell me either. what exactly are you looking for? i'll have to translate because the output is in german.

do you want the stuff captured on the server, client or both?
_________________
http://www.sofaspace.net
Back to top
View user's profile Send private message Visit poster's website
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Mon Feb 16, 2009 1:12 am    Post subject: Reply with quote

it may not be possible for netstat on windows, it always seems substandard.

I would say capture on the server end of the link.

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



Joined: 14 Feb 2009
Posts: 14

PostPosted: Mon Feb 16, 2009 1:51 am    Post subject: Reply with quote

i captured on both ends. check your email. i forgot to mention that icecast is running on ports 80 and 8888. i'm connecting to port 80.

thanks for your help!
_________________
http://www.sofaspace.net
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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