1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ATA disconnecting...do I have proper QoS settings?

Discussion in 'Tomato Firmware' started by Devotedfollower, Jul 25, 2011.

  1. Devotedfollower

    Devotedfollower LI Guru Member

    Hey everyone,

    I'm using tomatousb build 54. When there is heavy bandwidth usage the ATA times out on trying to stay registered to my VoIP provider. I've changed the udp settings in conntrack/netfilter, but don't know if the the router is just getting locked up and not letting the connection get through or if there is no more bandwidth available on my 10/.5mbit connection.

    Any help or tips on what I could do to troubleshoot and fix the error would be appreciated.

    Many thanks,
  2. Devotedfollower

    Devotedfollower LI Guru Member

    sorry to reply to my own post...but does someone have any advice? Should I cap down speed...anyone have any suggestions?

  3. lancethepants

    lancethepants Network Guru Member

    What are your current QoS settings, and what's your router? Is it only during times of heavy bandwidth usage, or random? Seems like ata's are pretty finicky, I've spent many hours getting mine to work reliably.
  4. Devotedfollower

    Devotedfollower LI Guru Member

    hey Lance,

    many thanks for your reply! The ATA fails to re-register with the SIP server when there is a high amounts of downloading on the connection; if I am maxing out the download and have capped the upload on my computer to a 1/3 of the overall upload usage I am allotted it will fail to re-register.

    I just have default QoS settings setup. The ATA mac address getting highest priority and at the top of the list. The max upload is also set, but the max download is not set...any additional info on what I could do would be great.
    My max connections are 8192 as to not let the router get bogged down with too many p2p connections, but perhaps this number is too low?

    Any advice welcome!

  5. lancethepants

    lancethepants Network Guru Member

    With QoS, maxing out either your inbound or outbound connection will most likely bring undesired results. It sounds like your capping your outbound alright (you said your computer is limited to 1/3, but if there's other computers using the rest of the maximum available too, that could cause issues). However, you say this issue only happens when you max out the inbound speed. When the inbound reaches the maximum speed provided by your ISP, you ISP will start to drop packets because your pipe is already full, and some may never make it down the line. Essentially, you can't max out the connection and maintain good QoS.

    Taken from this QoS tutorial (highly recommended if you haven't read it)

    "One big piece of advice I have is for those who would like to make maximum use of their bandwidth for downloading P2P, keeping both inbound and outbound links pegged at close to 100%. Doing this will make your QOS slow and ineffective. Web (HTTP) response will not be snappy and users will complain about it. You cannot have it both ways."

    I have experienced this issue too with my ata. I rarely max out my connection, and have good control of the network usage, so I haven't imposed any downloading restrictions to prevent this.

    Toastman in that article also states
    " I found 50% maximum limit to be extremely responsive, 66% good, 80% still reasonable but ping times beginning to suffer under load, and things dropped off noticeably after that. As a compromise, I use 80% for my maximum incoming limit, and most residents appear to be happy with the result."

    I've noticed when I max my download while playing games, my ping rises about 20, still acceptable for me, but perhaps not good enough for voip.

    I would impose a download limitation on p2p and/or bulk traffic, perhaps try 80% (or less) where Toastman finds it to be acceptable. And set your Voip class to "none" on inbound to make sure it isn't impeded at all. It stinks to have to cap your download, I know it, but for reliability, it's better to let your router decides which packets gets dropped, instead of letting your ISP do it.
    Give it a try and see if your ata works more reliably.

    I also recommend checking out the Toastman builds of tomato.
    It has a bunch of good QoS presets that might give you an idea of how to get things working better too.

Share This Page