LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-25-2010, 02:50 PM   #1
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,771
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
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.
 
Old 02-25-2010, 03:15 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Wireshark may help your search.
 
Old 02-28-2010, 05:27 AM   #3
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by SaintDanBert View Post

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...
 
Old 02-28-2010, 11:57 AM   #4
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,771

Original Poster
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
... 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...

~~~ 0;-Dan
 
Old 03-01-2010, 03:56 AM   #5
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
...and I should have added, even though you didn't ask, that anything to do with ipv6 should be firmly off.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GLXGEARS Chunky in regular user, but fast in root!? RHLinuxGUY Mandriva 2 12-02-2004 09:58 PM
Mandrake 10 Gets Very Slow And Chunky Over Time Asificare Mandriva 10 11-17-2004 01:07 PM
Using a linux router to put an xbox on a wireless lan brenan99 Linux - Wireless Networking 2 01-25-2004 09:51 AM
wlan.conf? where to put w-lan pci settings mi6 Slackware 2 06-03-2003 06:23 PM
Mplayer running chunky NSKL Linux - Software 2 09-24-2002 01:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration