Once a url is typed it takes a long time to load the page.

Discussion in 'Tomato Firmware' started by onehomelist, Feb 8, 2010.

  1. onehomelist

    onehomelist Addicted to LI Member

    When I type the url in the address bar and press enter I see "waiting for www.yahoo.com" on the browser status bar for a long time (more than 1 minute), then I get "connected to www.yahoo.com" again there will be a time gap and I get "loading www.yahoo.com", then suddenly pages gets loaded in no time. This happens always on the fedora 12 distribution firefox browser, and also frequently on xp, though not always, with both IE and mozilla firefox. Sometimes the issue is so sever that I get the error that "page cannot be loaded". When there are only few users connected to tomato firmware flashed Buffalo WHR-HP-G54, this doesn't happen. Only happens when the user number is more than 40. I am pretty sure that it is not because of usage of full available bandwidth, because it also happens when less than 50 percent of the bandwidth is used. I am using Victek mod (v 25), and usually maximum connections are below 2000. I am also using QOS with layer 7 filter.

    CPU and memory stats
    CPU Load (1 / 5 / 15 mins) 0.38 / 0.32 / 0.28
    Total / Free Memory 14.19
  2. onehomelist

    onehomelist Addicted to LI Member

    My DNS setup works in the following way: I have set open DNS servers on my router. I have selected "intercept DNS port" option. My users use my routers ip as DNS server ip. When I faced the above mentioned issue I tried using google DNS servers and I deselected "intercept DNS port" option. And I was able to browse perfectly well.
    So is it possible that the low RAM capacity of my router (16MB) causing this issue. If I go for Asus RT-16, will it solve my problem?
  3. Toastman

    Toastman Super Moderator Staff Member Member

    Your cpu load figure is a little high, and 2000 connections with QOS and l7 filters might well be slowing it down.

    Just a thought. I have up to 80 busy users at times, and yet my connection count rarely goes over 1000 or so. Have you set timeouts to be aggressive in Conntrack? That might help a bit. The WRT54GL copes OK for bandwidths of 5-8 Mbps or so but struggles with anything more than 11Mbps with sustained high use, in my buildings. I started using an N16 a week or so ago and it does help considerably. That's probably the speed rather than the memory.

    Also, have you got DNS prioritised? And prioritize all small packets except ACK?
  4. Lost_Animal

    Lost_Animal Addicted to LI Member

    It seems to me like DNS problems.
    Maybe is your ISP DNS related, and TRY openDNS to see if u getting better results.

    TRY those two as Primary & Secondary DNS..... and tell us again your findings. :wink:
  5. onehomelist

    onehomelist Addicted to LI Member

    I am using open dns servers only. I did the settings which Toastman suggested. I prioritized all small packets except ACK. It did increase the performance a little. I'am using UDP limiting script which Toastman has put up on QOS thead. But when there are lots of users connected the problem is very severe. I get server not found for some sites.
  6. onehomelist

    onehomelist Addicted to LI Member

    I have placed an order for Asus RT-N16. If it also shows up same issue while coping with many users, then I will try using two routers. The internet connection I have is via microwave link. The speed is 4 mbps. There are about 25 computers on my network for whom I have to provide consistent http bandwidth. And there are about 100 clients, who connect via LAN and wireless, for who I need not provide stable speeds. My internet connection comes with multiple static ips. While setting up 2 routers on the same internet connection, on one router (WHR-HP) I will let only the 25 clients for whom I have to provide consistent http bandwidth. This I will do by specifying the MACs at tomato access restriction. The second router (Asus RT-N16) will have DHCP, and will let other 100 users. But on this router I will specify only 3 mbps as my bandwidth at tomato QOS configuration option. So that even if there is excess usage from the 100 users, the other 25 users, accessing via different router, will get consistent 1 mbps bandwidth. My subnet configuration is Asus RT-N16 will have as ip, and WHR-HP will as as ip. Is this setup is sufficient, or is there any other way I can configure my network?
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice