Author Topic: Traffic Shaping have effect or not ?  (Read 3470 times)

Zent User

  • Zen Warrior
  • ***
  • Posts: 121
  • Karma: +1/-3
    • View Profile
Traffic Shaping have effect or not ?
« on: August 01, 2013, 08:49:39 am »
Hi,We have 15 Mbps internet connectivity,from we weeks onwards its taking lot of time to open site.So,I thought it would be better to use 'Traffic Shaping' feature in Zentyal.

Before configuration is as shown in below figure http://i.imgur.com/aOk1Lsn.png

After configuring,the values goes as follows:http://i.imgur.com/JtwaPBm.png http://i.imgur.com/3c1v3EP.png.

After this change I don't observe any improvement in by network bandwidth,is I configured correctly ? I want to use my ISP providing bandwidth maximum(15 Mbps) and how to confirm that Traffic Shaping have effect ?

      Thanks
Regards
Zent User

Lonniebiz

  • Zen Samurai
  • ****
  • Posts: 320
  • Karma: +24/-2
    • View Profile
Re: Traffic Shaping have effect or not ?
« Reply #1 on: August 01, 2013, 07:13:32 pm »
I can testify that I've used the traffic shaping features of Zentyal and have seen noticeable performance enhancements.

I have a Magic Jack Plus, which is a cheap phone service that works through my Internet connection. I created a network object in Zentyal that indicates the IP address of this magic jack device on my internal network. I've added rules to give this device priority over other network traffic.

Previously, when I was doing a lot of uploading and downloading, people would complain that I sounded like a robot in our telephone conversations. But after implementing the QOS traffic shaping in Zentyal, I haven't had anyone complain about the quality of our phone conversations.

The way I have my network set up, is that I give priority 1 to my magic jack plus device. Priority 2 goes to DNS traffic in general, and priority 3 to port 80 web traffic in general. Implicitly, all other traffic has less priority than these explicitly set rules. For me everything is very snappy.

I also have dns forwarders, which indirectly decrease web page load times. For this see my comments here:
http://forum.zentyal.org/index.php/topic,89.0.html


Zent User

  • Zen Warrior
  • ***
  • Posts: 121
  • Karma: +1/-3
    • View Profile
Re: Traffic Shaping have effect or not ?
« Reply #2 on: August 02, 2013, 09:32:52 am »
Thanks Lonniebiz for reply,

      Have you seen the screen shots in my 1st message ? is configuration goes correct ?

      I've read topic on DNS forwarders which you have suggested. Currently I'm using explicit proxy should I use DNS forwarders or need to configure public DNS IP's in (Network/DNS) for improve accessing speed ?
Regards
Zent User

Lonniebiz

  • Zen Samurai
  • ****
  • Posts: 320
  • Karma: +24/-2
    • View Profile
Re: Traffic Shaping have effect or not ?
« Reply #3 on: August 02, 2013, 05:05:36 pm »
No, I should have looked at your screen shots. I left that part default on mine which was:
http://neartalk.com/ss/2013-08-02_09:45:12.png

The default upload speed on your default was super low. I wonder if Zentyal makes the defaults by doing some type of speedtest at the time you first setup up traffic shaping. I'm not sure, but if so, your upload speed was super slow at that time.

The really prioritizing comes by creating network objects and network services then adding rules like this:
http://neartalk.com/ss/2013-08-02_09:49:36.png

The biggest speed increase, for me, came by adding forwarders:
http://neartalk.com/ss/2013-08-02_09:58:25.png

As a test, you can just add the same ones I've added in this screen shot. If your workstations are using your Zentyal server for dns, then I'll bet you'll see noticeable snappiness while web browsing with these forwarders. However, different forwarders may be even faster for you at your location. You can find out which IPs are fastest for you by using a tool like namebench on a workstation on your LAN:
http://code.google.com/p/namebench/

Zent User

  • Zen Warrior
  • ***
  • Posts: 121
  • Karma: +1/-3
    • View Profile
Re: Traffic Shaping have effect or not ?
« Reply #4 on: August 03, 2013, 08:30:16 am »
I've installed namebench as you suggested,but I tried to test then following message displayed

Code: [Select]
Your router or Internet Service Provider appears to be intercepting and redirecting all
outgoing DNS requests. This means you cannot benchmark or utilize alternate DNS
servers. Please adjust your router configuration or file a support request with your ISP.

I've googled to resolve above issue but not get enough search results.I'm currently using Netgear WNR1000v2 router and its firmware is also up to date.

Getgear have some default DNS,seems to be configured by ISP ?

Any suggestions ?

Thanks
Regards
Zent User

Lonniebiz

  • Zen Samurai
  • ****
  • Posts: 320
  • Karma: +24/-2
    • View Profile
Re: Traffic Shaping have effect or not ?
« Reply #5 on: August 03, 2013, 06:11:43 pm »
Make sure to uncheck "Enable Transparent DNS Cache" before using namebench, if you are using Zentyal as your gateway:
http://neartalk.com/ss/2013-08-02_09:58:25.png

Otherwise, Zentyal will intercept the dns traffic your workstation is trying to send directly to these other dns servers you are speed testing with namebench.
« Last Edit: August 03, 2013, 06:14:56 pm by Lonniebiz »

Zent User

  • Zen Warrior
  • ***
  • Posts: 121
  • Karma: +1/-3
    • View Profile
Re: Traffic Shaping have effect or not ?
« Reply #6 on: August 05, 2013, 08:00:40 am »
@Lonniebiz:Currently 'DNS Cache' is enable even if I disable 'DNS Cache' namebench is showing same error message. I'm using explicit proxy,if my system proxy make change from 'Auto Proxy' to 'No Proxy' then namebench is working otherwise its showing error message.

In Short:

1. While using explicit proxy should 'DNS Cache' enable or disable,which is recommended from your point of you ?
2. With some google search I've added DNS forwarders,once check screenshot http://i.imgur.com/sgvqzZy.png

 From my experience without DNS Cache I'm able to access websites fast.
Regards
Zent User

christian

  • Guest
Re: Traffic Shaping have effect or not ?
« Reply #7 on: August 05, 2013, 08:55:37 am »
1 - "auto proxy" should have no impact with "out-of-the-box" Zentyal deployment as there is no proxy discovery feature (meaning no WPAD helper)
2 - when using proxy, DNs is not used client side thus "DNS cache" settings server side should not impact neither...