  amigo_boy
join:2005-07-22 Tempe, AZ
·Cox HSI
·magicjack.com
1 edit | reply to amigo_boy Re: Giving priority to MJ traffic (Qos, Tomato firmware)
I should add that I played with the inbound QoS. It works well.
On the QoS -> Basic Settings page, ....- Set the "Inbound limit" to the speed you regularly get when performing a test at speedtest.net. (Do the speedtest with no other activity. If you get different speeds, use the lowest.). ....- Set "Highest" to 100%.
That's all their is to it. I was skeptical about this because I've read there's no way to do inbound QoS (because your router can't control the speed at which someone else's router sends data to you. But, I guess it slows down sending acknowledgments which causes the sender to slow down?).
But, it definitely works. It can be tested in the same way I described in the prior posting. However, I tested it using www traffic (just to get a better idea of whether it really does anything). ....- Tomato has two preset rules for "www" on the "classification" page. They are "High" (for the first 512k traffic) and "Low" (for everything over 512k). ....- Just change Inbound "High" and "Low" on the Basic Settings page from "None" to 10%. ....- Visit a web page. It should be immediately obvious that the traffic slowed down.
So, by setting "Highest" to 100%, it will always get priority over any other traffic. The rest of the traffic won't be prioritized and will consume whatever's left (up to 100% if there's no MJ traffic).
My inbound speed is only 1500kbs. So, it wasn't hard for me to saturate my connection and determine MJ was getting priority. Using the simultaneous echo and speed tests, I saw my download speed drop by about 100kbs while speaking to the echo number.
The only thing I don't like about this is that you have to set the outbound and inbound limits conservatively. If your speed varies during the day (or your ISP gives "power boost") you'll never take advantage of it because you have to use the lowest speed you normally obtain. If you specify a higher speed, Tomato will send packets at that speed, and cause congestion (which, from what I've read, can eliminate the gains of using QoS).
That's where DD-WRT looks appealing. From what I've read, you can use TCP Vegas (a feature of the Linux kernal) to avoid congestion. People say using it alone is better than using QoS. Others say using it with QoS works well if the inbound/outbound limits are set to zero. Apparently DD-WRT allows zero, and will just prioritize packets, but not cap anything. The underlying TCP Vegas will control the flow of the entire pipe. (I haven't tried it yet. I'm just basing this on some things I've read.).
Mark |
|
  amigo_boy
join:2005-07-22 Tempe, AZ
·Cox HSI
·magicjack.com
| reply to KodiacZiller said by KodiacZiller :In step 6 you link to another post where you explain how to use Wireshark in order to determine the proxy. You don't need to do that with Tomato. All you have to do is click the little "Automatically resolve IP address" check box on the "View Details" screen when placing a test call. This will resolve all IP addresses in the list and you can clearly see both the proxy1 and VMS name resolutions. Thanks. I didn't think of that.
I should have also added a suggestion to set the priority for the two rules to "lowest." Then do the simultaneous echo and speed tests. MJ should be noticeably degraded if the rules are applying.
(If someone has extremely high speeds, like FIOS, maybe not. They'd have to concoct their own tests to put a load on their connection. For me, at 256/1500, setting the rule to "lowest" makes MJ completely unusable during the speed test. No voice gets through at all. So, I definitely know the rule is being applied.).
Mark |
|
 KodiacZiller
join:2008-09-04 73368
| reply to amigo_boy Thanks for the tutorial.
One thing. In step 6 you link to another post where you explain how to use Wireshark in order to determine the proxy. You don't need to do that with Tomato. All you have to do is click the little "Automatically resolve IP address" check box on the "View Details" screen when placing a test call. This will resolve all IP addresses in the list and you can clearly see both the proxy1 and VMS name resolutions. |
|
  amigo_boy
join:2005-07-22 Tempe, AZ
·Cox HSI
·magicjack.com
1 edit | reply to rmdir said by rmdir :Can you give me the specifics on how you set your router up using DD WRT? I haven't used DD-WRT. You might try a forum specific to DD-WRT, like:
»www.linksysinfo.org/forums/forum···hp?f=142
I would also try TCP Vegas. It's part of the Linux kernal which DD-WRT uses (Tomato doesn't). I've seen DD-WRT users say it works better than QoS. I've seen others say they use it and QoS (with bandwidth set to 0, so DD-WRT only prioritizes traffic, but doesn't cap it. It lets TCP Vegas manage overall throughput depending on the congestion it detects).
There's a really long topic here:
»www.dd-wrt.com/phpBB2/viewtopic.···&start=0
Later in the thread they say the current version has it built in, like something you can enable in the GUI.
This sounds good because a major problem with QoS generally is that you have to specify the max bandwidth, and it has to be accurate. If your available bandwidth changes during the day, then you have to specify the slowest speed. You never take advantage of the higher speed that may be available. (If you specify the higher speed, then you have congestion when lower speeds occur, which will diminish the benefits of using QoS.). If you're on cable with "power boost," you'll never take advantage of that because the router is basically capped at the lowest speed you normally have.
So, TCP Vegas sounds useful because it will detect available bandwidth and shape itself to it.
Mark |
|
 rmdir
join:2003-03-13 Chicago, IL
| reply to swanboy Can you give me the specifics on how you set your router up using DD WRT? I added 2 services, using port 5070 and 10000-20000 and set priority to premium. I'm using v24 5/24/2008 as the newer one had a memory leak. Voice is still choppy on the echo test. Unfortunately DD WRT doesn't seem to have a way to show a bandwidth graph by port, just an overall look at throughput. |
|