1 |
On Monday 12 November 2007, Grant wrote: |
2 |
> I just switched from DSL to cable and I'm noticing a significant delay |
3 |
> when using Skype, even when nothing else is happening on my network. |
4 |
> Has anyone else noticed this and had success "fixing" it? I'm using a |
5 |
> Gentoo router so I can try just about anything. |
6 |
|
7 |
If this is a MTU problem (it may very well not be, see below) I would go about |
8 |
it as follows. |
9 |
|
10 |
Do you know what is the recommended MTU of your ISP? What MTU your modem is |
11 |
set at? If not and they won't tell you you could try to find out by |
12 |
yourself: |
13 |
|
14 |
Set the MTU of *all* nodes between your PC & your ISP's modem to 1500 (PC, |
15 |
router, etc). Then run something like this: |
16 |
|
17 |
$ ping -c 3 -v -M do -s 1452 www.yahoo.com (better if you use the IP address |
18 |
of yahoo.com, of even better if you use one of your ISP's gateways, DNS |
19 |
servers, etc. to avoid problems with network congestion upstream - in that |
20 |
sense ebay on a Sunday afternoon may not be a good choice ;). |
21 |
|
22 |
Work your way up to greater packet values until you cannot ping anymore |
23 |
because packet fragmentation occurs. Once you find the value at which it |
24 |
switches over then add 28 (for the packet headers) to the maximum value at |
25 |
which ping works. This should be the value at which your modem is set. |
26 |
|
27 |
Set all other network components to the same MTU (inc. all PCs in your |
28 |
network) and you should be good - BUT only if the modem's MTU was correct in |
29 |
the first place. |
30 |
|
31 |
If your modem has the wrong MTU for the ISPs network assuming they don't tell |
32 |
you what that is, then try altering it from 1500 downwards to 1492, 1480, |
33 |
1458, 1430, 1400, while you test for maximum line speed. Set all your |
34 |
network components to the same MTU and check with a broadband speed tester |
35 |
(e.g. www.speetest.net) to see when you get maximum speed. Alternatively, |
36 |
try downloading some iso image from a main mirror near you (warning - not |
37 |
all mirrors are born equal in terms of bandwidth, so some experimentation is |
38 |
required). |
39 |
|
40 |
Eventually, you'll find some max MTU value at which you get the best |
41 |
comparative performance. For the tests to be meaningful they should be |
42 |
better performed during quiet times (see contention below). BTW, from the |
43 |
little I know about cable the MTU is usually set at 1500, but others could |
44 |
advise better. |
45 |
|
46 |
If all that doesn't fix it, then it may have nothing to do with MTU and it |
47 |
could be related to faulty components in your network (cables, switches, |
48 |
modem, etc.); ISP throttling (is poor performance occurring only some |
49 |
times/days or is it universal); busy Skype servers(?), or good old high level |
50 |
pipe contention, because the world and his wife are on the Internet these |
51 |
days and the infrastructure has not grown enough for it. |
52 |
|
53 |
HTH. |
54 |
-- |
55 |
Regards, |
56 |
Mick |