









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










Introduction The advent of cable Internet has provided an unprecedented level of comfort and convenience, by allowing people to do things that were not possible before and at speeds that were previously unheard of. Certainly, it would not be wrong to point out that many people will find it really hard to go about everyday lives today without cable internet. Nevertheless, for all its benefits, there are still some unresolved problems that are associated with the usage of cable Internet. One of the problems which is most commonly encountered in day-to-day usage of the Internet is that of widespread internet speed fluctuations. The purpose of this project is to investigate the causes of Internet speed fluctuations and to devise a method to alleviate the problem. Matlab would be used in the project to create a model for simulated users on the Internet, and to investigate how these simulated users interact as well as the impact that the interactions have on overall Internet speed. The heart of cable Internet is the Cable Modem Internet System (CMTS), which allows as many as 1000 users to connect to the Internet through a single 6 Mhz channel. Each channel is capable of handling up to 30 to 40 megabits of data per second (Mbps), and all the users of that channel share this bandwidth. For the first few users of the channel, they will experience very fast Internet speed because they have the entire channel almost entirely to themselves. However, as more and more people start to use the channel, the amount of bandwidth available to each individual user decreases, resulting in a slowing down of internet speed. Eventually there will reach a point where internet speed would slow down to almost a stand still, and this phenomenon is commonly referred to as “bottlenecking”. A good analogy is to imagine the channel as a bottle and that a lot of people are trying to exit the bottle.
This will create a jam at the bottleneck, as the exit cannot handle so many people leaving at the same time, which results in bottlenecking. The research for this project was based on information obtained from Insight Broadband, which is the ninth largest Internet service provider (ISP) in the United States and one of the major ISPs in Urbana-Champaign. Insight Broadband was founded in 1985 and has over 1.5 million customers living in Indiana, Illinois, Kentucky and Ohio. It provides a variety of services including high speed internet, cable TV, voice telephony as well as video on demand. Insight Broadband is a company that has a solid and reliable reputation; it picked up numerous “Cable Operator of the Year” awards in the past few years and was named by PC magazine as one of the top four ISPs in the United States in 2004. From the information that can be gathered, Insight Broadband monitors bandwidth usage throughout the day and whenever they detect bottlenecking, additional bandwidth would be allocated to the particular channel to alleviate the problem. Background The main reason for periods of perceived slowness in download speeds is due to bottlenecking at the ISP. Bottlenecking can be looked at as an issue with three parts. The first is the server side machines. These are the websites and other objects that the users are trying to reach and get information from such as Google, Amazon, or CNN. The second part is the client side machines. These are the users that make up the system for each region of the ISP’s service. In the Champaign-Urbana area this would include all of the users who are trying to access the websites. The third part is the ISP’s routing machines. In order to reach the websites that the clients want to retrieve information from, all requests sent and all information back from the websites
Using the tail-drop algorithm there are three ways in which traffic is slow. The first is that when the packets arrive between the maximum and minimum threshold the routing machine tells the TCP protocol to send packets slower, which obviously makes speeds slower. The second is that when the buffers are full and the machine is above the maximum threshold, the packets are dropped and need to be resent or retaken out of the slow memory and sent off. The third reason is slightly more complicated. In the region below the maximum threshold but above the minimum threshold when the TCP protocol slows down sending of packets, generally this happens to all client computers at once. This causes a huge drop in activity and the amount of packets in the buffer drops far below the minimum threshold. This indirectly causes slowness of service because the routing machines are being far underutilized and could be allowing more total traffic at this point. Our solution is to modify the tail-drop algorithm in order to decrease fluctuations in speed and to increase speed for medium and low bandwidth users. Our solution would penalize high bandwidth users who are most likely using the bandwidth to download massive amounts of information in order to increase speed for people using more day-to-day functions of the internet such as checking email, reading news articles, online shopping, and looking up information. Assumptions To create a workable model, a few simplifying assumptions need to be made. First, given a population of internet users, it is assumed that the population has an average bandwidth usage of 4 Mbps and a standard deviation of bandwidth usage of 3 Mbps. This allows the bandwidth usage of a population to be modeled along a standard-normal distribution curve. Furthermore it was assumed that we are dealing with a typical fast Ethernet connection that has a maximum bandwidth frequency of
10 Mbps. A fundamental assumption to our model is that high frequency users take up a high bandwidth, and that low frequency users take up a low bandwidth. The model will be constructed by combining sine waves that each correspond to a random user’s bandwidth frequency. Thus for simplification in the model, 1 Hz will be equated to 1 Mbps. A final assumption is that since the Tail drop algorithm is a fairly common method of monitoring and controlling bandwidth usage, it is assumed that Insight uses this algorithm. Therefore the improvements made to the algorithm will be of benefit to Insight. Constructing the Model The approach to constructing a model consists of several steps. First, it was necessary to construct a realistic model of bandwidth usage for a certain number of users. By taking 100 random frequencies from the standard-normal distribution, it was possible to represent 100 random internet users from the population model. Then a sine wave was constructed to correspond to each user’s random frequency. The sine waves were then combined using superposition to create a single input in the time domain. This single input represents the bandwidth usage frequencies for the 100 random users. The complex time domain signal was converted into the frequency domain so that it could be worked with more easily. Once in the frequency domain it was possible to filter out the high bandwidth users that correspond to high bandwidth frequencies. The basic approach to the filtering process is outlined in Figure 3. The input in the time domain was converted into the frequency domain by means of a Fourier transform. Then a low pass filter was applied to the input in the frequency domain. This resulted in an output in the frequency domain which could be taken back into the time domain by means of an inverse Fourier transform.
The final step after filtering out the high frequency users is to compare the output signal with the input signal. The inverse Fourier transfer of the output spectrum produced the output time-domain signal shown in Figure 7. This signal is much smoother compared to the input signal and the peaks are also reduced in magnitude. The signal also has lesser fluctuations. We compared the output signal with the input signal by taking a ratio of their energy. This ratio was found to be about 76.9%. This means that by applying the low- pass filter, we successfully reduced bandwidth usage by about 23.1%. As a result, the average user will be able to use the internet with low speed fluctuations since the buffer will always be kept low. Upcoming Solution to Internet Speed Fluctuation A satellite Internet is the newest broadband of the connection in which upstream and the downstream data are sent from, and arrive at a computer through a satellite. Each user’s hardware includes a satellite dish antenna and a transmitter that operates in the radio spectrum. Uploading speeds are about 50 to 150 Kbps for a user using a single computer and downloading speeds are about 150 Kbps to more than 1200 Kbps. The speed is depending on factors such as Internet traffic, the capacity of the server, and the downloaded files. However, the speed of Internet does not fluctuate and a user can stay connected to the Internet always. In this way, the satellite system is similar to a cable-modem Internet connection. This could also be detrimental if a firewall is not used to protect the computer against hack attempts. Also, high-speed satellite Internet service speeds up to 10 to 20 times faster than dial-up services. The speed in such a connection is theoretically at least 0.48 second and the time it takes an electromagnetic signal to make two round trips at 186,000 miles per second to and from a satellite. The biggest
advantages of satellite Internet systems are for rural Internet users who want broadband access and it does not use telephone lines or cable systems, but instead uses a satellite dish for two-way data communications. The nature of the satellite connection is good for Web browsing and downloading of files. Firms that offer or plan to offer two-way satellite Internet include StarBand, Pegasus Express, Teledesic and Tachyon. Tachyon service is available today in the United States, Western Europe and Mexico. Conclusions We did research on what the current network speed control algorithm is and found that the tail-drop algorithm is commonly used. After examining this algorithm, we tried to make improvements so that low bandwidth users will not be affected by high bandwidth users who are hogging the network. Our devised algorithm works by cutting off high bandwidth users when the buffer size reaches a certain percentage of its capacity. This is done by applying a low-pass filter onto the combined bandwidth frequencies of all the users on the network. The main assumption in this is that high frequency users take up a higher percentage of the bandwidth. Once the filter is applied, we proceeded to analyze the output signal and compared that with the input signal. We found that by using the low-pass filter, we are able to free up about 23% of the bandwidth by only penalizing people with high frequency usage. A further improvement on this algorithm can be done by creating a feedback channel such that the buffer length can be continually monitored and that the cut-off frequency can be adjusted accordingly. The high frequency users will then re-log into the system with a lower frequency.
Appendix A : Figures
Figure 1 : Bottlenecking
Figure 2: Tail Drop Algorithm
X (f) Low-passFilter, H(s)^ Y (f)
Figure 3 : Filtering process
-700 0 5 10 15 20 25 30 35 40 45
0
100
Frequency (Hz)
-700 0 5 10 15 20 25 30 35 40 45
0
100
Frequency (Hz) Figure 6 : Chebyshev 1 IIR filter
(^00 1 2 3 4 5 6 7 8 9 )
10
20
30
40
50
60
Frequency/Hz
Figure 7 : Output Spectrum with cutoff frequency at 7 Hz
-20 0 1 2 3 4 5 6 7 8 9 10
0
10
20
30
40
50
60
70
Time/s
-20 0 1 2 3 4 5 6 7 8 9 10
0
10
20
30
40
50
60
70
(^0 1 2 3 4) Time/s 5 6 7 8 9 10
0
10
20
30
40
50
60
70
Time/s
Figure 8 : Output signal