View previous topic :: View next topic |
Author |
Message |
acksys n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 31 Mar 2008 Posts: 2 Location: Minneapolis MN
|
Posted: Mon Mar 31, 2008 3:58 am Post subject: Pulseaudio RTP throttles network |
|
|
Hello, all. I hope you can assist me with a problem. Google has returned little relevant (to me) info on this topic.
I installed Pulseaudio 0.9.9 on two of my machines today: a desktop running Ubuntu Gutsy, and my laptop running Gentoo. I would like to have the Gentoo machine send its audio to the Ubuntu machine over my LAN (Linksys 54Mbps Wireless-G router), so any audio I play comes from the speakers connected to the Ubuntu machine.
While this works using the module-rtp-send module, I've encountered a couple of perplexing network issues with this setup.
1) The 10/100 wireless card can't meet the 1.39Mbps throughput requirement. I'm chalking this up to a configuration problem at this point at moving on. Works okay wired.
2) The bigger problem is that when I'm playing audio over the network, it throttles my LAN so badly that I can't even access the router interface (with either machine). Sites load very slowly or not at all. Here's the data:
http://www.speakeasy.net/speedtest/
San Francisco, CA server
Normal download speed 12760kbps
Normal upload speed 2595kbps
After I start the audio playing, I can barely get results.
Running iftop on either machine while audio is playing gives a constant transfer rate of 1.39Mbps between machines.
netperf gives the following results:
Code: | Recv Send Send
Socket Socket Message Elapsed
Size Size Size Time Throughput
bytes bytes bytes secs. 10^6bits/sec
87380 16384 16384 10.21 93.94 |
These results are about the same whether or not I'm streaming audio.
So it looks like the NICs are setup properly, and all signs point to a configuration problem on the router level. I know this is not OS-specific, but can anyone point me toward the solution? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Erulabs n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/4161204147f12d93e0ed4.jpg)
Joined: 08 Mar 2006 Posts: 48 Location: erulabs.com
|
Posted: Mon Mar 31, 2008 10:51 pm Post subject: |
|
|
Are you using any sort of QoS on your router?
if yes: Its probably prioritizing this traffic and cutting everything else off.
if no: QoS could fix your problem. Set the type of traffic to low priority.
Also, Yea, wireless (b/g/a) sucks. Even the new n is fairly poor in real world performance.
Edit: it also occurs to me, LOTS and LOTS of people have problems with wireless jitter caused by interference. If you have chordless phones or a mircowave nearby, that would be part of the issue. You may try setting the 'channel' in the wireless settings on the router to either a very high or very low level. This problem can be confirmed by packet loss and strange latency jumps. _________________ No more things should be presumed to exist than are absolutely necessary. Or really cool. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
acksys n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 31 Mar 2008 Posts: 2 Location: Minneapolis MN
|
Posted: Tue Apr 01, 2008 3:00 am Post subject: |
|
|
Erulabs wrote: | Are you using any sort of QoS on your router?
if yes: Its probably prioritizing this traffic and cutting everything else off.
if no: QoS could fix your problem. Set the type of traffic to low priority.
Also, Yea, wireless (b/g/a) sucks. Even the new n is fairly poor in real world performance.
Edit: it also occurs to me, LOTS and LOTS of people have problems with wireless jitter caused by interference. If you have chordless phones or a mircowave nearby, that would be part of the issue. You may try setting the 'channel' in the wireless settings on the router to either a very high or very low level. This problem can be confirmed by packet loss and strange latency jumps. |
Much, much, better! PA wants to use two ports for this and I can't find the place to change one in the config, but I'll look into that later. When I configured router QoS to use low priority for the one both PA clients use, it solved the problem completely!
Erulabs: Thanks for the help, and thanks also for the wireless suggestions. I'm in an apartment building with several other wireless routers, so it's very possible they're fighting each other. I'll look into this more later.
Hopefully I'll be able to make some time to do a howto on this whole PA deal as well, because I've yet to find a concise guide for this setup. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|