| View previous topic :: View next topic |
| Author |
Message |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Feb 15, 2009 4:20 pm Post subject: |
|
|
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 |
|
 |
sofaspace

Joined: 14 Feb 2009 Posts: 14
|
Posted: Sun Feb 15, 2009 8:52 pm Post subject: |
|
|
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 |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Feb 15, 2009 9:23 pm Post subject: |
|
|
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 |
|
 |
sofaspace

Joined: 14 Feb 2009 Posts: 14
|
Posted: Mon Feb 16, 2009 12:49 am Post subject: |
|
|
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 |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Feb 16, 2009 1:12 am Post subject: |
|
|
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 |
|
 |
sofaspace

Joined: 14 Feb 2009 Posts: 14
|
Posted: Mon Feb 16, 2009 1:51 am Post subject: |
|
|
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 |
|
 |
|