Technical Discussion
  >> DSL Hardware Discussion


Register (or login) on our website and you will not see this ad.


Pages in this thread: 1 | 2 | 3 | >> (show all)   Print Thread
Standard User lo22
(newbie) Tue 26-Jul-22 11:03:29
Print Post

Relationship between line attenuation and latency?


[link to this post]
 
Hi,

I would like to get a better understanding of the difference between latency and transfer speed.

So say we have an ADSL all copper connection, that does not have a very high transfer speed. My understanding is, that this is because the copper cables run a long distance to the exchange (say 3-4 km for example), and on the way the signal gets distorted, meaning you cannot pass as much information through it, which relates to transfer speed. Is this correct?

But my understanding is also that despite the noise, one can have a pretty good latency. So why is that? Because my thinking would be if you had a lot of noise on the signal sometimes packages would not be able to get transferred, and be lost.

Also my assumption when it comes to noise is that it is inherently random. But is the noise predictable, so that the connection can still be quite stable despite these conditions? Or do we simply send the same packages a lot of times, with the idea that if just one of them comes through that is fine enough?
Standard User AndrewNi
(member) Tue 26-Jul-22 11:37:28
Print Post

Re: Relationship between line attenuation and latency?


[re: lo22] [link to this post]
 
But my understanding is also that despite the noise, one can have a pretty good latency. So why is that? Because my thinking would be if you had a lot of noise on the signal sometimes packages would not be able to get transferred, and be lost.

That does happen, yes. What happens upon data loss depends on the protocol being used. TCP packets are numbered, and if one is missing, the receiver will request it to be sent again. The same packets aren't sent lots of times.

But generally speaking the noise is predictable - think about tuning an AM radio. The background noise between stations tends to be roughly the same volume/strength, especially in the shortwave bands.

"Good" is subjective of course. FTTP is almost always going to have a lower latency than ADSL because it uses light (rather than electricity) for a larger portion of the distance between you and the destination.
Standard User lo22
(newbie) Tue 26-Jul-22 11:45:46
Print Post

Re: Relationship between line attenuation and latency?


[re: AndrewNi] [link to this post]
 
Hi and thank you for your answer!

What I meant by good is that the transfer speed between FTTP and copper ADSL, can be vastly different (like 900 Mbps v. 3 Mbps).

Whereas for latency the differences won't be that big, of course the ADSL will probably have a higher latency. But in most cases it should be something one can work with!

Edited by lo22 (Tue 26-Jul-22 11:49:12)


Register (or login) on our website and you will not see this ad.

Standard User andynormancx
(committed) Tue 26-Jul-22 13:45:16
Print Post

Re: Relationship between line attenuation and latency?


[re: lo22] [link to this post]
 
Part of how DSL works is that the transfer speed is set to account for the quality/length of the line. So the modems try to only transmit as much data per second as the line can handle. But as long you aren’t transmitting lots of data the the latency is still about the same as a faster DSL line. It takes about the same time for an individual packet of data to be transmitted, you just don’t get to transmit them as often as on a better quality line.
Standard User lo22
(newbie) Tue 26-Jul-22 13:58:12
Print Post

Re: Relationship between line attenuation and latency?


[re: andynormancx] [link to this post]
 
But I would just think that it was more likely to happen on a noisy line that some of the packages were lost due to noise?

But I guess the answer is that the noise is pretty constant, and this can be accounted for. And as long as you take this into account and transmit less, then it should work.
Standard User witchunt
(fountain of knowledge) Tue 26-Jul-22 15:20:29
Print Post

Re: Relationship between line attenuation and latency?


[re: lo22] [link to this post]
 
Longer lines cannot carry the higher frequencies to attain greater bandwidth due to the extra attenuation.
They may or may not be inherently more noisy than shorter lines and this can affect both throughput and latency if packets need to be retransmitted, but interleaving can help maintain or even improve bandwidth and throughput at the expense of latency due to the extra processing load.
Standard User lo22
(newbie) Tue 26-Jul-22 15:45:14
Print Post

Re: Relationship between line attenuation and latency?


[re: witchunt] [link to this post]
 
Cooll. Thanks for the answer!

Would it make any sense to disable interleaving on a connection with a download speed of 3.0 Mbps and an upload speed of 0.4?

If the primary goal was gaming and thereby having as low of latency as possible.

Or would the connection basically become unusable, because the upload would become so low?
Standard User andynormancx
(committed) Tue 26-Jul-22 15:48:58
Print Post

Re: Relationship between line attenuation and latency?


[re: lo22] [link to this post]
 
The main issue with a longer line isn't that it is noisy as such, it is that it is quiet, the signal is an a lower level by the time it reaches the other end than on a short line.

So think about the modems having to shout and talk more slowly when on a longer line. So messages still get through without error, just with less information per second.

(and yes, my analogy isn't great, given the way DSL actually works with frequency ranges and isn't really "shouting")

Edited by andynormancx (Tue 26-Jul-22 15:50:45)

Standard User deleted
(deleted) Tue 26-Jul-22 16:11:35
Print Post

Re: Relationship between line attenuation and latency?


[re: lo22] [link to this post]
 
In reply to a post by lo22:
Would it make any sense to disable interleaving on a connection with a download speed of 3.0 Mbps and an upload speed of 0.4?
If you have a 3-4 kilometre copper line and getting 3Mbps there isn't really anything that you're going to be able to do to make it significantly better, disabling interleaving is only going to make it more unstable.
Standard User ian72
(eat-sleep-adslguide) Thu 28-Jul-22 09:26:49
Print Post

Re: Relationship between line attenuation and latency?


[re: lo22] [link to this post]
 
You could think about the difference between latency and throughput as comparing a garden hose with a fire hose.

A garden hose will have much less water delivered per second than a fire hose (ie throughput). But, if you turned both hoses on at the same time then the water would start coming out of the end of them at the same time.

If one hose was much longer than the other then it would take longer for the water to get to the end of the hose - this is distance based latency (like if you connect to a new york server from london for Internet) but the width of the hose wouldn't be a big impact.

However, if you had a bit of a kink in the hose then you might find the water comes out in spurts. This is similar to if you have an unstable Internet connection then the data could come through in spurts - that would impact the latency of a specific droplet of water (or packet of data).

Might be pushing the analogy here and mixing them a bit but hopefully you get the idea. Bandwidth and latency are not directly related.
Pages in this thread: 1 | 2 | 3 | >> (show all)   Print Thread

Jump to