Message boards :
Number crunching :
DSL Router - internet speed allocation if more devices
Message board moderation
Author | Message |
---|---|
Sutaru Tsureku Send message Joined: 6 Apr 07 Posts: 7105 Credit: 147,663,825 RAC: 5 |
Example ... I have DSL2000. :-( 4 devices (PC, Smart TV, internet radio) connected to the DSL router: At the DSL router are 2 LAN cables connected. At each LAN cable end is a switch, 2 devices connected to one switch. If all devices need simultaneously something from the internet, how will be the internet speed distributed? Each devices get 1/4 (25%) of the available internet speed? Or one devices get more as other devices (preferential treatment)? Or successively the devices been processed, devices after devices ...? Thanks. |
Brent Norman Send message Joined: 1 Dec 99 Posts: 2786 Credit: 685,657,289 RAC: 835 |
Basically, it's first come first serve. Not by device, but the amount of traffic required per device. Your internet radio won't need much, so your PC and TV can use most of what's there. it' just depends how much traffic you need and when you use them at the same time. |
kittyman Send message Joined: 9 Jul 00 Posts: 51468 Credit: 1,018,363,574 RAC: 1,004 |
Some routers have QOS (quality of service) settings that allow you to set a priority level for certain ports when total demand exceeds the total bandwidth available. You would have to check the documentation for your router to see if it has such settings and how to use them. "Freedom is just Chaos, with better lighting." Alan Dean Foster |
Dena Wiltsie Send message Joined: 19 Apr 01 Posts: 1628 Credit: 24,230,968 RAC: 26 |
Something that can mess up calculations is the internet most of the time uses 2K byte packets. A device will only ask for as many packets as it wants at a time. A device asking for a large amount of data may get more data because of the delay between request for data by the device requesting small amounts of data at a time. All data will be serviced as the servers deliver the data. Some popular servers may be slow to deliver data because of the demand placed on them by other users. The answer to your question is clear in hindsight but exact balance is hard to predict. |
Richard Haselgrove Send message Joined: 4 Jul 99 Posts: 14649 Credit: 200,643,578 RAC: 874 |
Something that can mess up calculations is the internet most of the time uses 2K byte packets. A device will only ask for as many packets as it wants at a time. A device asking for a large amount of data may get more data because of the delay between request for data by the device requesting small amounts of data at a time. All data will be serviced as the servers deliver the data. We were pointed to some very useful advice with regard to RFC 1323 in the last days of the late lamented server closet at SSL, before the move to the co-lo. At the time, the SETI (download) servers fell squarely into the category of "popular servers [may be] slow to deliver data because of the demand placed on them by other users". RFC 1323 is very helpful in evening out the flow of packets and data from that type of slow server, and might help in levelling the flow to and from different different devices sharing the same DSL router. To refresh your memories, the thread is Windows TCP Settings - Follow up - Help with server communication. |
HAL9000 Send message Joined: 11 Sep 99 Posts: 6534 Credit: 196,805,888 RAC: 57 |
Your router may have bandwidth throttling functions. So you could limit the bandwidth per MAC or IP address on your internet network if that is what you are wanting to do. If there are no bandwidth limits & each of the 4 devices were try to use as much bandwidth as possible. Then the switches would basically give all 4 devices ~1/4 of the available bandwidth. Otherwise if devices are using less bandwidth then each one will get to use however much it needs until you reach your provider limit. At that point how the traffic is split comes down to how the software in the router/switches functions. SETI@home classic workunits: 93,865 CPU time: 863,447 hours Join the [url=http://tinyurl.com/8y46zvu]BP6/VP6 User Group[ |
Dena Wiltsie Send message Joined: 19 Apr 01 Posts: 1628 Credit: 24,230,968 RAC: 26 |
I forgot to mention something else. IP packets are not delivered in order. Because packets may not be delivered over the same path, they can be delivered in any order and it's up to the next level of the protocol to restore order if it is important. Most of the time thats TCP but TCP while the most common level isn't the only one. We received a hard lesson in this when we noticed we were encountering retries far to often. It turned out the people who wrote our TCP layer forgot that the packets could be out of order and instead of waiting to see if the correct packet was delivered latter, the code issued a retry and discarded the remaining data. Once we knew what the problem was, it wasn't a huge task to correct it. |
©2024 University of California
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.