chunky or missing LAN through-put -- where does it go?
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
chunky or missing LAN through-put -- where does it go?
I have what I think is a typical home & home office LAN:
cable-based ISP
cable modem with wire ethernet port
modem port conx to wireless access point and switch
switch provides DHCP and gateway router
house LAN switch conx gateway switch
all switches are 100baseT
all wifi is 802.11n
Therefore, my laptop has a wifi link to the access point and a hop from the A/P to the cable modem and a hop from the cable modem to THE NET.
Sometimes things run really well. Sometimes I need adult beverages and knitting. I suspect some troubles with name services offered by my ISP -- they are notoriously sloppy. How do I discover what is taking so much time as I browse the net?
I understand that a browser request involves a DNS lookup and connect request followed by a fetch, page load and render.
I understand that a page load might have a basket full of other DNS requests for whatever is on the page at hand.
How do I discover if I have a DNS problem? If so, how do I resolve this trouble?
I understand that the page render depends on my browser of choice (Firefox 3.0.18) and all of the multi-whatever happening on my laptop (Ubuntu Jaunty on Core2Duo and 4 GB ram).
I know how to deal with busy box issues.
Is there some way to discover what is happening without the arcane magic of a LAN traffic analysis, spectrum analysis, time-domain reflectometry and all that smoke and mirrors?
Wishing and hoping for clues from my august community colleagues and mentors.
Thanks,
~~~ 0;-Dan
Last edited by SaintDanBert; 02-25-2010 at 02:51 PM.
Sometimes things run really well. Sometimes I need adult beverages and knitting.
Your recommendation for adult beverages is noted; I am less sure about the benefits of knitting, but whatever works for you.
Quote:
I suspect some troubles with name services offered by my ISP -- they are notoriously sloppy....
I understand that a browser request involves a DNS lookup and connect request followed by a fetch, page load and render.
I understand that a page load might have a basket full of other DNS requests for whatever is on the page at hand.
How do I discover if I have a DNS problem? If so, how do I resolve this trouble?
several things here, depending on whether you really want to measure carefully, cogitate and then make changes and measure again...or just jump in and try stuff, but:
measure how well (or not) nameserving is actually working
use dig; look at times taken; is it long (200mS would be bad), does it sometimes takes much longer than usual?
usually, boxes like routers have an ability to run a small DNS lookup cache (& I do mean small - not many entries); are you using that?
alternatively, you can run your own explicit lookup cache (imho, BIND is massive overkill for this; DNSMASQ or DJBDNS are more sensible)
you can measure DNS performance; In the past I have tried two utilities for this; one is a windows program that runs nicely under wine (and has good graphics) and one is native; I can't recall the exact names of which is which but look here and here
you might then choose to change your name service; I can say that openDNS does work, it may not be the absolute fastest, but it seems never to be terribly slow
Quote:
I understand that the page render depends on my browser of choice (Firefox 3.0.18)
in general, opera is faster (except for java or javascript in one of which it is slow, but the next release is supposed to fix that), but if you like firefox, work with that. But you could increase the size of the cache on whichever browser that you choose.
Quote:
I know how to deal with busy box issues.
are you saying that you are using busybox, or something else
Quote:
Is there some way to discover what is happening without the arcane magic of a LAN traffic analysis, spectrum analysis, time-domain reflectometry and all that smoke and mirrors?
The good part is that "spectrum analysis, time-domain reflectometry and all that" wouldn't actually help you. LAN traffic analysis, however...
... the cheshire cat said something about this ...
I keep forgetting, and getting slapped as a reminder, that most words and phrases have been appropriated somewhere in the geekish or technobabble lexicon.
When I said, "busy box" I meant that literallly == a "box" [meaning workstation or laptop or computer system] that is "busy" [meaning working very hard doing something including but not limited to useful work on my behalf (as opposed to eye candy or other background cycle consumption)].
Years ago, I worked on a mainframe that had a "class scheduler". One built a table of application programs -- something that could be runnable -- and assigned them to named classes. One then assigned each class some percentage as a "run time quota of sorts". The scheduler did its normal things but tried to keep each class within it quota. One could limit "eye candy" to 10% or similar. But I digress...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.