ISSN ONLINE(2278-8875) PRINT (2320-3765)
Neha Mangla Associate Professor, Atria institute of Technology, Bangalore, India |
Related article at Pubmed, Scholar Google |
Visit for more related articles at International Journal of Advanced Research in Electrical, Electronics and Instrumentation Engineering
All the traffic seen by the internet is treated equally which is generally known as Internet neutrality. Internet Neutrality enforces that all network traffic should be treated as equal and Best effort routing policy should be followed. But with the advent of smart applications this is drastically changing. Each network application has its own bandwidth requirement. We face the problem when required bandwidth of critical applications does not match with internet bandwidth. Because of network neutrality principle, core router can’t priorities one traffic over other and critical applications may get impacted. Such types of problems are still in re- search phase As a solution here we will see how application level routing optimization mechanism with GA approach at edge routers can be useful for such types of application.
Keywords |
GA, QoS, QoE, Bandwidth, Delay |
INTRODUCTION |
In recent years, real time applications are widely used. In additions, real-time embedded systems are found in many diverse application areas including electronics, , telecommunications, space systems, medical imaging, and consumer electronics. The transport of real time video streams over the Internet by using wired multimedia delivery faces several challenges such as bandwidth scarcity and limited storage capacity . In addition, there are different applications have various QoS requirements to achieve user’s satisfaction. QoS depends on some of the parameters such as: throughput, bandwidth, delay, error rate control, and packet loss . According to those parameters, the transportation paths are chosen. So the quality of experience in routing algorithms must be adaptable, flexible, and intelligent enough to make a fast decision. To achieve this, a Genetic Algorithm (GA) based on the computational strategies that inspired by natural processes is used. GA is a global optimization technique derived from the principle of nature selection and evolutionary computing or technique. GAtheoretically and empirically-has been proven to be a robust search technique. Each possible point in the search space of the problem is encoded into a suitable representation for applying GA. In GA, each population of individual solutions with fitness value is transformed to a new generation of the population, depending on the Darwinian principle of the survival of the fitness. By applying genetic operators, such as crossover and mutation, GA produces better approximations to the solutions. Many routing algorithms based on GA have been proposed. Selection and reproduction processing at each iteration produces a new generation of approximations. |
The stages of a GA are: |
• Select initial population. |
• Determine the fitness of all initial individuals of the population |
Do |
• Select the best-ranking individuals to reproduce. |
• Breed a new generation through crossover and mutation (genetic operations) and give birth to offspring. |
• Evaluate the individual fitness of the offspring. |
• Replace the lowest ranked part of population with offspring. |
While (terminating Condition) |
Here, we propose a new approach based on genetic algorithm to get the ability to use the past experiences to improve current decision-making to choose the efficienct paths. |
ROUTING HISTORY |
Generally in all Routing algorithms we construct routing tables to forward communication packets to destination and Routing table: for each destination, route(s) or next hop(s) is specified. Problems with these routing methods to be adaptive. RIP and OSPF employ static distance measure such as hop count metric and Uncertainty due to delayed information. Adaptive algorithms may cause oscillation, unreachable routes, etc. To be adaptive, we need to observe frequently and it is unable to observe frequently by broadcasts. Overheads of observation changes network status. However we can reduce overhead as: Broadcast as less frequent as possible. Restrict observations i.e. perform observations of limited routes that is frequently employed (and is worth observation overheads) and by Autonomous control i.e. each node should determines routes independently employing locally obtained information. For that intelligent control needed i.e. prediction algorithm, learning scheme, constructing solution database, etc. Evolutionary computation (EC) is a promising answer. As Evolution is essentially a distributed process. Adaptation in evolutionary process needs less frequent communications (eg. no broadcast is necessary) among individuals. Evolution is considered robust to environmental changes. |
Key Idea |
In the proposed algorithm, we will exploit existing network routing protocols like BGP. We will learn alternative routes for a content and route application data according to network characteristics and media characteristics. For a video, continuity in video is more important than total download time. In networking terms we say it Quality of Experience. A video requirement for continuous play is dependent on its bandwidth. A Media bandwidth is size of content in one second of video. For example a 800 Kbps video means that each second of this media is 800 Kb bytes in size. The algorithm considers the media bandwidth and network bandwidth of alternate routes and then optimally route requests so that user get best quality of experience. |
Assuming Following terminology |
Ci - ith content request |
Si - Size of contents |
fsz - Size of fragment |
Bi : Content Bandwidth requirement |
So, Ci can be divided into n fragments such that |
Ci = Ci0, Ci1, Ci2 .... CSi )/fsz |
Ri : ith route |
Rbi : Bandwidth of ith route |
The user will get the best experience when the rate of fetching the content from network will match the media bandwidth requirement. |
It is the fitness function. The objective function is for maximum bandwidth utilization. To implement algorithm requirements are: |
• Get the number of total media Requests. |
• Get the media bandwidth for each request. |
• Get total number o alternate paths/servers. |
• Collate the network bandwidth of each path. |
• Create Initial population. |
• Get total generations. |
• Get the crossover point. |
• Apply fitness function to each solution and select best solutions. |
• Create next generation using elitism ( best solution) and crossover ( solutions) |
• repeat last step till either we get optimal solution ( 0 delay ) or till maximum number of generations . The output will be the delay as perceived by user. |
Algorithm For Fitness Function |
Fitness function will take a proposed solution and will return back the delay as perceived by user. The algorithm for objective function will be |
1. For Each server Traverse the media requests queued on it |
2. Calculate the total load on server |
3. Check how much content will be delivered by the server as per total load and network bandwidth |
4. Calculate the total content delivered by all servers for each request. |
5. Calculate the difference between content required ( Media bandwidth ) and content delivered for each content. |
6. Calculate delay perceived by user ( dividing difference by Media bandwidth) |
7. Add the delay for each media request and divide by total request to get average delay perceived by user/ |
8. Return average delay. |
Algorithm For Initial Population |
For each content |
do |
• Generate a random number between 1 to 100. |
• Put the content chunk in proportion to random number on server 1. |
• Repeat the same process on remaining servers |
• Generate n such solution. Apply fitness function |
While (max initial solution) |
Algorithm For Crossover |
• Select two solutions. |
• For each server, switch the content beyond crossover point for both solutions. |
Encoding Scheme For Contents On Server |
Here we are assuming n servers and m contents. Each content is divided as: |
Xa ,Ya…….Za |
Xb,Yb…….Zb |
Xm, Ym……..Zm |
Encoding For Other Solution |
There can be many solutions for dividing the contents. Here I am taking representation for two solutions. One was above and second is here. |
Crossover In Content Distribution |
Here I am showing only one point crossover. In my implementation however I have considered all. In this we will see first fragmented content from both solutions will remain same. Rest will interchange. |
Mutation For Content Distribution |
Generate any random number. |
If |
Random number <= probability chosen |
Then |
Reduce the portion from 1st chunk according to random number. |
Else |
Reduced portion in any other chunk according to random number. |
RESULT ANALYSIS |
Inputs taken as: |
Enter Total content:8 |
Enter quality of each conent:100 120 60 90 150 70 80 95 |
Enter Total servers: 4 |
Enter BW of each server: 180 70 160 40 |
Enter Total Generation: 5 |
Enter cross over point: 1 |
Enter mutation Probability (prob*100): 0.2 |
Here I am not showing coding and output logs for the inputs with crossover point 1, crossover point 2, crossover point 3. The above part is only a sample for input with crossover point 1. |
We have analyzed by taking same inputs with all three crossover operator point. . We have taken the data from 5th generation outputs with crossover one, crossover two and crossover three point operators. |
We analyzed these three graphs. We see the best result with crossover point one. |
CONCLUSION |
QoE is defined as the measure of how well a system or an application meets the user’s expectations. This concept is different from quality of service, which focuses on measuring performance from a network perspective. For instance, QoE focuses on user-perceived effects, such as degradation in voice or video quality, whereas QoS focuses on network effects such as end-to-end delays or jitter. Another important point to note is that measurements in individual nodes may indicate acceptable QoS, but end users may still be experiencing unacceptable QoE. |
FUTURE SCOPE |
Next generation routing protocols needs to be changed and need to move towards QoE rather than QoS. As Quality of experience is dynamic phenomenon and depends on feedback by different stakeholders, so next generation routing protocols should adapt to dynamic condition and evolve with time. |
References |
|