{"id":632,"date":"2014-04-10T21:14:10","date_gmt":"2014-04-10T19:14:10","guid":{"rendered":"http:\/\/bergs.biz\/blog\/?p=632"},"modified":"2014-05-04T13:50:56","modified_gmt":"2014-05-04T11:50:56","slug":"openwrt-quality-of-service-module-caveat-speed-limit","status":"publish","type":"post","link":"https:\/\/bergs.biz\/blog\/2014\/04\/10\/openwrt-quality-of-service-module-caveat-speed-limit\/","title":{"rendered":"OpenWRT Quality-of-Service module caveat: speed limit"},"content":{"rendered":"<p>As I still have &#8220;issues&#8221; with my DSL line being extremely slow during certain times (especially between 18:30 and 23:00), I wanted to use USB tethering from my OpenWRT router to my Android LTE phone to enjoy the massive speed I have in our area (up to 90 MBit\/s downlink and 70 MBit\/s uplink, according to the <a href=\"http:\/\/www.speedtest.net\/\" target=\"_blank\">Ookla Speedtest.Net<\/a>).<\/p>\n<p>So I configured the router according to the <a href=\"http:\/\/wiki.openwrt.org\/doc\/howto\/usb.tethering\" target=\"_blank\">OpenWRT wiki<\/a>. The internet connection did not come up immediately, and I couldn&#8217;t find out why, so as a last resort I rebooted the router. After I switched on USB tethering again on my mobile phone (which seems to be required each time you reboot the router since the mobile phone then loses the USB tethering connection), I suddenly had a working Internet connection.<\/p>\n<p>However, for some reason the Internet speeds I was seeing in Ookla&#8217;s web browser-based speed test (which is a Flash applet) were very disappointing, around the same speeds I&#8217;m used to with my DSL line (14 MBit\/s downlink, about 0.8 MBit\/s uplink). I thought it might be an issue with USB tethering not working well in my build of OpenWRT (still r39582), so I tried USB tethering with my Mac (using <a href=\"http:\/\/joshuawise.com\/horndis\" target=\"_blank\">HoRNDIS<\/a>). I got the full speed I expected. So back to OpenWRT&#8230;<\/p>\n<p>Then suddenly I suspected what might be going on: Since I had more or less exactly the same speed as my DSL connection (with the uplink of less 1 MBit\/s being dramatically slower than what I should get via LTE) I thought about what could possibly limit the speed. And then I remembered that in the &#8220;Quality of Service&#8221; (QoS) module I configured the speeds of my DSL line (at the top of the page, in the <code>Download speed (kbit\/s)<\/code> and <code>Upload speed (kbit\/s)<\/code> fields). Could it be that these settings actually <em>limit<\/em> your speed to these values?!<\/p>\n<p>I disabled QoS, and immediately thereafter I got the full LTE speed I expected.<\/p>\n<p>So, another thing learnt.<\/p>\n<p>I hope this helps people who might be in a similar situation&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The speed values you enter in OpenWRT&#8217;s &#8220;Quality of Service&#8221; module actually limit your speeds to these values.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[59,58,84,11],"tags":[109,121,120],"class_list":["post-632","post","type-post","status-publish","format-standard","hentry","category-cell-phones-communications","category-communications","category-networking-computers","category-what-the-f","tag-dsl","tag-lte","tag-usb-tethering"],"_links":{"self":[{"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/posts\/632","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/comments?post=632"}],"version-history":[{"count":4,"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/posts\/632\/revisions"}],"predecessor-version":[{"id":658,"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/posts\/632\/revisions\/658"}],"wp:attachment":[{"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/media?parent=632"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/categories?post=632"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/tags?post=632"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}